[solved]Re: How to make the AjaxSubmit button hold until the action binding its executed?
[solved]Re: How to make the AjaxSubmit button hold until the action binding its executed?
- Subject: [solved]Re: How to make the AjaxSubmit button hold until the action binding its executed?
- From: Gustavo Pizano <email@hidden>
- Date: Mon, 7 Sep 2009 11:22:37 +0200
HEHE ..
Ok I think I solved,.. so far... I jsut place an
AjaxUpdateContainerID, with the onRefreshComplete binding set to the
JS that makes the proxy calls..
I hope it works now for large amount of data.. :S.
G.
On Sep 7, 2009, at 11:16 AM, Gustavo Pizano wrote:
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