• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
using the WOActionResults return in the action methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: using the WOActionResults return in the action methods
      • From: Tim Worman <email@hidden>
  • Prev by Date: Re: Wonder D2W first app
  • Next by Date: Re: using the WOActionResults return in the action methods
  • Previous by thread: Re: Qualifier for NULL to many relationship?
  • Next by thread: Re: using the WOActionResults return in the action methods
  • Index(es):
    • Date
    • Thread