explode-foreign-key now returns an empty instance if the key is NIL. also, as a secon...
[clinton/lisp-on-lines.git] / src / mewa / presentations.lisp
index 62d70e8..0ec34ee 100644 (file)
@@ -33,7 +33,7 @@
 
 ;;;lists
 (defcomponent mewa-list-presentation (mewa ucw:list-presentation) 
 
 ;;;lists
 (defcomponent mewa-list-presentation (mewa ucw:list-presentation) 
-  ((instances :accessor instances :initarg :instances :initform nil)
+  ((ucw::instances :accessor instances :initarg :instances :initform nil)
    (instance :accessor instance)
    (select-label :accessor select-label :initform "select" :initarg :select-label)
    (selectablep :accessor selectablep :initform t :initarg :selectablep)))
    (instance :accessor instance)
    (select-label :accessor select-label :initform "select" :initarg :select-label)
    (selectablep :accessor selectablep :initform t :initarg :selectablep)))
@@ -62,8 +62,7 @@
                      :value (select-label listing)))))
     (dolist (slot (slots listing))
       (<:td :class "data-cell" (present-slot slot object)))
                      :value (select-label listing)))))
     (dolist (slot (slots listing))
       (<:td :class "data-cell" (present-slot slot object)))
-    (<:td :class "index-number-cell"
-      (<:i (<:as-html index)))
+    (<:td :class "index-number-cell")
     ))
 
 (defmethod get-all-instances ((self mewa-list-presentation))
     ))
 
 (defmethod get-all-instances ((self mewa-list-presentation))