From 2cb4247de9700f350d146a65c4156d7959d0bb8d Mon Sep 17 00:00:00 2001 From: Drew Crampsie Date: Fri, 5 Aug 2005 14:00:55 -0700 Subject: [PATCH] slot-presentation-cleanups darcs-hash:20050805210055-5417e-663ffd37df6c091c927bd8bc634141f281547b11.gz --- src/mewa/mewa.lisp | 3 ++- src/mewa/presentations.lisp | 2 +- src/mewa/slot-presentations.lisp | 17 ++++------------- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/src/mewa/mewa.lisp b/src/mewa/mewa.lisp index 7cdb073..4434039 100644 --- a/src/mewa/mewa.lisp +++ b/src/mewa/mewa.lisp @@ -141,7 +141,8 @@ attributes is an alist keyed on the attribute name." (defcomponent mewa () - ((attributes + ((ucw::instance :accessor instance :initarg :instance) + (attributes :initarg :attributes :accessor attributes :initform nil) diff --git a/src/mewa/presentations.lisp b/src/mewa/presentations.lisp index 15f0e16..95e4977 100644 --- a/src/mewa/presentations.lisp +++ b/src/mewa/presentations.lisp @@ -185,7 +185,7 @@ (defmethod render-criteria ((res response) (s mewa-presentation-search)) (setf (criteria-input s) "") (<:ul - (dolist (c (criteria s)) + (dolist (c (ucw::criteria s)) (<:li (render-on res c) (let ((c c)) (