Re: Ajax form submission doesn't work after the DIV is updated

2007-06-20 Thread Musachy Barroso
yes, it does sound like the same scenario. musachy On 6/20/07, Jeromy Evans <[EMAIL PROTECTED]> wrote: Musachy, is this the https://issues.apache.org/struts/browse/WW-1766issue. I recall you made a partial fix in 2.0.8/2.0.9 but in 2.0.6 I used a work-around. FanCo wrote: > Hi musachy, >

Re: Ajax form submission doesn't work after the DIV is updated

2007-06-20 Thread FanCo
One more thing. The Connector JavaScript is included in the parent page(jsp that contains the div), not at the form page. So my form page doesn't contain any javascript(maybe there are some in the future) . So I don't think the value of executeScripts will affect the result. Moreover I found out t

Re: Ajax form submission doesn't work after the DIV is updated

2007-06-20 Thread Jeromy Evans
Musachy, is this the https://issues.apache.org/struts/browse/WW-1766 issue. I recall you made a partial fix in 2.0.8/2.0.9 but in 2.0.6 I used a work-around. FanCo wrote: Hi musachy, Thanks for your reply. It doesn’t work even I set the executeScripts to true. One thing I didn’t menti

Re: Ajax form submission doesn't work after the DIV is updated

2007-06-20 Thread FanCo
Hi musachy, Thanks for your reply. It doesn’t work even I set the executeScripts to true. One thing I didn’t mention is I set the “href” attribute of the DIV to an action that will return the form page. So after the page load, the div will request and show the form page asynchronously. In

Re: Ajax form submission doesn't work after the DIV is updated

2007-06-20 Thread Musachy Barroso
Scripts in the html returned will be executed (...) http://struts.apache.org/2.x/docs/ajax-and-javascript-recipes.html#AjaxandJavaScriptRecipes-ExecuteJavaScriptinthereturnedcontent musachy On 6/20/07, FanCo <[EMAIL PROTECTED]> wrote: I didn't set the executeScripts attribute for the DIV. So

Re: Ajax form submission doesn't work after the DIV is updated

2007-06-20 Thread FanCo
I didn't set the executeScripts attribute for the DIV. So the default value should be false. What is the function of this attribute if it is true? newton.dave wrote: > > Does your have executeScripts="true"? > > d. > > --- FanCo <[EMAIL PROTECTED]> wrote: > >> >> I am developing a web

Re: Ajax form submission doesn't work after the DIV is updated

2007-06-20 Thread Dave Newton
Does your have executeScripts="true"? d. --- FanCo <[EMAIL PROTECTED]> wrote: > > I am developing a web page which contains two > layouts (left & right). On the > left side, there are some buttons. And the right > side, it is a DIV which use > to create. It will invoke the JavaScript to

Ajax form submission doesn't work after the DIV is updated

2007-06-20 Thread FanCo
I am developing a web page which contains two layouts (left & right). On the left side, there are some buttons. And the right side, it is a DIV which use to create. It will invoke the JavaScript to send a request to one specific S2 action and updates the div with the return page when cli