using the WOActionResults return in the action methods
using the WOActionResults return in the action methods
- Subject: using the WOActionResults return in the action methods
- From: Gustavo Pizano <email@hidden>
- Date: Fri, 11 Sep 2009 08:41:18 +0200
Hello.
I have an AjaxSubmitButton binded to an action called reassignTranslator() method , as I see all the action methods return a WOActionResult type, but normally I see thye just return null, and things work. I saw a post with sa similar quesiton, and read that I should return a context().page(), but then in console I see that the AjaxSubmitButton loggs that the return type its not correct.
Anyway the question here is, what should I return in order to show a modal window, or pop up window or dialogo window in the browser to advice the user that he must select a translator first?... or should I do this kinda verifycation in the client side?
Anyway, either the case, knowing how to work with the WOActionResult form the actions will be helpfullf for future needs.
Thanls
Gustavo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden