On Sat, Jan 24, 2009 at 09:56:01AM +0100, Leslie P. Polzer wrote:
>
> On Fri, Jan 23, 2009 at 12:36:40PM -0800, Robin Lee Powell wrote:
> >
> >
> > I've never been very good with dynamic variables, but it seems like:
> >
> > (let
> > ((*submit-control-name* "foo"))
> > (render-widget
> > (make-quickform ...)))
> >
> > should DTRT, but it doesn't. Help?
>
> Not sure why that doesn't work for you, but I suggest you just use
> the :buttons argument to formview:
>
> (defview my-quickform-view (:type form
> :buttons '(("submit" . "foo")("cancel" .
> "bar"))))
Ah. I didn't realize that I should also be looking at the class
[type]-view for information. Good stuff; thanks!
-Robin
-Robin
--
They say: "The first AIs will be built by the military as weapons."
And I'm thinking: "Does it even occur to you to try for something
other than the default outcome?" -- http://shorl.com/tydruhedufogre
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---