HCoop
/
clinton
/
lisp-on-lines.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Massive patch to catch up to ucw_dev
[clinton/lisp-on-lines.git]
/
src
/
static-presentations.lisp
diff --git
a/src/static-presentations.lisp
b/src/static-presentations.lisp
index
302444b
..
bb5cf0d
100644
(file)
--- a/
src/static-presentations.lisp
+++ b/
src/static-presentations.lisp
@@
-1,6
+1,6
@@
;;;; -*- lisp -*-
;;;; -*- lisp -*-
-(in-package :
mewa
)
+(in-package :
lisp-on-lines
)
(defcomponent presentation ()
((css-class :accessor css-class :initarg :css-class :initform nil))
(defcomponent presentation ()
((css-class :accessor css-class :initarg :css-class :initform nil))
@@
-422,8
+422,7
@@
This method is also used by relation-slot-presentations for the same reason."))
(:type-name boolean))
(defmethod present-slot ((slot boolean-slot-presentation) instance)
(:type-name boolean))
(defmethod present-slot ((slot boolean-slot-presentation) instance)
- (<ucw:input :type "checkbox" :accessor (presentation-slot-value slot instance))
- (setf (presentation-slot-value slot instance) nil))
+ (<ucw:input :type "checkbox" :accessor (presentation-slot-value slot instance)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; strings
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; strings
@@
-562,7
+561,7
@@
This method is also used by relation-slot-presentations for the same reason."))
(unless (string= "" value)
(let ((i (parse-integer value :junk-allowed t)))
(when i
(unless (string= "" value)
(let ((i (parse-integer value :junk-allowed t)))
(when i
- (setf (presentation-slot-value slot instance)
(parse-integer value)
)))))
+ (setf (presentation-slot-value slot instance)
i
)))))
(defmethod present-slot ((slot integer-slot-presentation) instance)
(if (editablep slot)
(defmethod present-slot ((slot integer-slot-presentation) instance)
(if (editablep slot)