[Bese-devel] ucw:form, onSubmit, and ucw:simple-form
Lou Vanek
vanek at acd.net
Tue Jul 18 21:00:08 UTC 2006
mrd wrote:
> I am using the TAL template language for a particular form. Prior to
> updates I was using an onSubmit javascript method in the ucw:form
> element. Now it seems that is disallowed because of some new changes.
> In any case, it was suggested that I use ucw:simple-form instead.
> However, I cannot figure out how to get it to work in TAL.
>
> <ucw:simple-form ucw:action="(blah)">
>
> causes ERROR: ucw:simple-form falls through ecase! Which is in tal.lisp
> under the def-attribute handler thingy for ucw:action.
>
> Ok. How about:
>
> <ucw:simple-form action="(blah)">
>
> Nothing, doesn't register as a UCW action.
>
> So I'm not clear what should be done. Is this a bug in the
> def-attribute handler for ucw:action?
>
> _______________________________________________
> bese-devel mailing list
> bese-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/bese-devel
The "upload.tal" file gives an example of using ucw:action
within a tal form. This tal file is part of the standard examples
that are shipped with ucw, and is used in the "Form upload
example." The action the tal file calls is defined in
forms.lisp.
-lv
More information about the bese-devel
mailing list