> Thanks, that did the trick. I guess if :answerp is not nil, the on-
> success gets run and then the return value from that on success (in my
> case, the return value of calling answer) is used to call answer again
> on the widget itself?
Yes, like that:
(let ((response (if on-success
(funcall on-success obj (dataform-data obj))
(dataform-data obj))))
(when answerp
(answer obj response)))
...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---