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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to