[Bese-devel] <ucw:a :action problem
Tonguc Yumruk
tongucyumruk at member.fsf.org
Thu Nov 3 20:59:19 UTC 2005
Hi,
I'm writing a little blogging application to learn how to use clsql and
UCW. I have a little problem with my action though, and I just can't see
why it is happening. When I define an action, and use it by (<ucw:a
:action (get-entry (id entry))) it gives me an error saying that
it.bese.ucw::place slot is unbound. The problematic parts of the code
are:
(defaction get-entry ((e blog-entry) entry-id)
(call 'blog-page :entry-id entry-id))
(defmethod render-on ((res response) (entry blog-entry))
(<:p :class "entry-title" (<ucw:a :action (ok entry) (<:as-html (title
entry))))
(<:p :class "entry-body" (<:as-is (body entry)))
(<:p :class "entry-date" (<:as-html (date entry))))
The whole source code is at: http://tonguc.ath.cx/blog.lisp
I'm using sbcl 0.9.4 with ucw 0.3.9 on Debian GNU/Linux Sarge with the
default httpd backend.
--
Love Respect GNU/Linux
########################################################################
"The C Programming Language -- A language which combines the flexibility of
assembly language with the power of assembly language."
########################################################################
Tonguç Yumruk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://mailman.common-lisp.net/pipermail/bese-devel/attachments/20051103/d7e25090/attachment.sig>
More information about the bese-devel
mailing list