Re: Problem with Dojo in Struts 2

2007-01-04 Thread Musachy Barroso
I should have said this first, but why are you calling "makeWidgets" directly? Dojo takes care of that, and if you are using S2 head svn, any widget used on a page returned from an asynchronous call will be loaded by S2 automatically. musachy André Faria wrote: Thank's... But if you call ma

Re: Problem with Dojo in Struts 2

2007-01-04 Thread André Faria
Thank's... But if you call makeWidgets() again the input buttons out of the div that uses ajax tags will be added to the dojo lisneters again, and when you click in a button they will be execute the same number of post that you executed makeWidgets... Musachy Barroso escreveu: If you set "e

Re: Problem with Dojo in Struts 2

2007-01-04 Thread Musachy Barroso
If you set "executeScripts" to "true", in the submit tag, you can put a javascript section in the returned page, and it will be executed, like: makeWidgets(); There is an example if this in showcase, in the remote div section. regards musachy André Faria wrote: I have a problem with Dojo