Hi all, thanks for your help . Issue got resolve by just changing the button type to button from submit and submitted through javascript and it is working fine.
Regards, Zuber On 10/17/07, Steven Dalton <[EMAIL PROTECTED]> wrote: > > Zuber, > > I had a similar problem when I first started using the data grid. > > All I did was set the pageAction to the method in my controller class > that does the search. Of course the page needs a form. > > When I don't set the pageAction I get the following error: > > "Could not locate the Form's application module configuration > information." > > See example of my pager here: > > <netui-data:configurePager pageSize="8" pagerFormat="firstPrevNextLast" > pageAction="searchDispatches.do" disableDefaultPager="false"/> > > Steven Dalton > > > -----Original Message----- > From: zubair syed [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 17 October 2007 3:58 PM > To: Beehive Users > Subject: Re: issue in datagrid. > > Hi Anthony, > > I tried second option but it didn't work . > If possible can u paste the code for overriding url builder ? > > Regards, > Zuber > > > On 10/16/07, Anthony Maguire <[EMAIL PROTECTED]> wrote: > > > > Hi Zubair, > > > > I don't have the answer for you, but what is happening is that the > > urlbuilder for the datagrid is building an invalid url for the > pagination > > 'next' link. > > > > The urlbuilder grabs the url, including the http parameters, for the > form, > > that was submitted from the request and builds its url on that. > > > > If you view the source of the url of the 'next' link before submitting > the > > form and the url of the same 'next' link after submitting the form, > you > > should see the difference. > > > > When we encountered this problem there was 2 things we did that sorted > it. > > One was override the url builder with a customised url builder which > removed > > what shouldn't be in the url, in your case this would be the form http > > parameters, or the other solution was when we would go back to a > datagrid > > jsp page we would go back by submitting an action to an empty form, > that way > > no parameters would be present. > > > > Hope that helps some, but there is definitely a problem with the url > > builder. There maybe some other config file that would help with this, > but > > i'm not aware of one. > > > > Cheers, > > Anthony Maguire > > Oakton > > ph: (03) 9617 0200 > > fax: (03) 9621 1951 > > Mobile: 0416 766 931 > > www.oakton.com.au < > > > https://melb.oakton.com.au/exchweb/bin/redir.asp?URL=http://www.oakton.c > om.au > > > > > > > ________________________________ > > > > From: zubair syed [mailto:[EMAIL PROTECTED] > > Sent: Tue 16/10/2007 8:18 PM > > To: [email protected] > > Subject: issue in datagrid. > > > > > > > > Hi all , > > > > I encountered one problem please help me out . The issue description > is as > > follows: > > > > Jsp page has a grid and other combo boxes . Data grid has pagination > and > > it > > has a radion button. Some action would be performed when i clicked on > > button > > with all the value set in the formbean,Upto this there is no issue. > Now on > > the same page when i click on 'next' hyper link of datagrid (which has > > pagination done) calls the same action again which was done just > before > > the > > click of next button so all the value which were set in formbean get > > submitted again. > > > > For Example: > > i need to select some information from the page and select one > item > > from the data grid and call the action print. Now when i navigate to > next > > on > > the datagrid it calls the 'print' action again and submit all the > formbean > > data and print action would be performed again. > > > > > > Please advice how can i resolved this issue. > > > > Regards, > > Zuber > > > > > > > > IMPORTANT > > 1. This email and any attachments are confidential. Any > unauthorised > > dissemination or other use of these materials is prohibited. If > received in > > error, please contact us and delete all copies. > > 2. Before opening or using attachments, check them for viruses > and > > defects. Our liability is limited to resupplying any affected > attachments. > > 3. Protecting your privacy is important to us. Our privacy > statement > > and further information is available at www.oakton.com.au. >
