• 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
How to make the AjaxSubmit button hold until the action binding its executed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to make the AjaxSubmit button hold until the action binding its executed?


  • Subject: How to make the AjaxSubmit button hold until the action binding its executed?
  • From: Gustavo Pizano <email@hidden>
  • Date: Mon, 7 Sep 2009 11:16:37 +0200

Hello.

I have an AjaxSelectionList and a AjaxSubmitButton, I want to execute the action called $"performTransSearch", all this is inside a WOForm, but also I need to execute the action in the .java file will fetch the data corresponding to the selection on the list.

But now it comes that Im using AjaxProxy and JSON to generate a grid, with the values that returns when I do in the JS:

var user = json.translation.getTranslationsOfSelectedUser();

//implementation of the grid
...
...

but it's showing nothing, I did a debug, and I see that user is null.. I placed then a NSLog inside the getTranslationOfSelectedUser() methoh to see what selectedUSer (which is the binding of selection for the AJaxSelectionList) has, and eventually its null.
So the JS method its being called before the action of the ajaxsubmitButton is performed....


How to avoid this situation?

Thanks in advance

G.
_______________________________________________
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:
    • [solved]Re: How to make the AjaxSubmit button hold until the action binding its executed?
      • From: Gustavo Pizano <email@hidden>
  • Prev by Date: Re: Combining EXTJS with WebObjects.
  • Next by Date: [solved]Re: How to make the AjaxSubmit button hold until the action binding its executed?
  • Previous by thread: Re: EOF inheritance
  • Next by thread: [solved]Re: How to make the AjaxSubmit button hold until the action binding its executed?
  • Index(es):
    • Date
    • Thread