Re: Page refresh after AJAX Call

2010-07-01 Thread Kushan Jayathilake
Got it working... :) Thank you very much Jyothi, On Thu, Jul 1, 2010 at 2:57 PM, Jyothi Rajesh wrote: > You will need to have a dedicated action to generate the data for the grid. > This action will have to be inlcluded in the main page. And since this > action forwards to the same grid JSP, wh

Re: Page refresh after AJAX Call

2010-07-01 Thread Jyothi Rajesh
You will need to have a dedicated action to generate the data for the grid. This action will have to be inlcluded in the main page. And since this action forwards to the same grid JSP, whether you include it in the main page or through AJAX, it will give the same effect. On Thu, Jul 1, 2010 at 1:27

Re: Page refresh after AJAX Call

2010-07-01 Thread Kushan Jayathilake
Thanks for replying Jyothi, I have some questions, if we call that separate JSP file where the resides, then how can i show it in the main page, if AJAX request call loads the grid page, then how can i move back to main page, because the grid should appear on the main page. On Thu, Jul 1, 201

Re: Page refresh after AJAX Call

2010-06-30 Thread Jyothi Rajesh
Hi, Here is how you can do it: 1) Have an independent JSP which will just include the grid using the s:iterator tag. 2) The forward/result of the servlet/action given in the AJAX request should be this JSP. 3) In the AJAX callback function, the above JSP will give the HTML to be rendered. 4) Use