Is it possible to somehow make the widgets in a with-flow appear in
locations other than the widget specified at the start? For example,
if I want to make a flow where clicking submit on a form causes a
login-form to appear as a dialog, and then logging in on that dialog
causes the original form to be replaced by some other widget, is this
possible with a with-flow? I tried doing something similar with:
(with-flow root-widget
(if (yield root-widget)
(if (yield (do-page (make-instance 'login-manager)))
(yield (make-main-page))))))))
This leads to the login-manager to appear (replacing the entire page),
but on a successful login I get this error:
Cannot render T as widget. Symbol not bound to a
function.
[Condition of type SIMPLE-ERROR]
This is related to another question I had earlier (http://
groups.google.com/group/weblocks/browse_thread/thread/
21c61209e6b746b6) - I was going to try to solve the problem using
hooks but also using a flow in which the form doesn't persist the
object, but rather causes a login dialog to appear when appropriate,
and then on successful login, the flow persists the object (doing this
more for my own understanding to see what is and isn't possible with
weblocks).
Thanks,
Saikat
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---