Re: form problem

2003-01-02 Thread Dan Tran
Yes that is the way I am using now. There may be another way but I never try it before. Use an forward action (to your query.jsp) and have your reportForm's reset method to initialize the data. before report.jsp is processed, Struts constructs your reportForm and call reset method for you

Re: form problem

2003-01-02 Thread Dan Tran
In your action: -process your href value and generate report object -stick the Report object to request object -forward the action to an JSP page which will read out the Report object and display I dont think your sceniao need a form -Dan - Original Message - From: "ss

RE: form problem

2003-01-02 Thread Sunkara Maheswara Rao
Try this... U want to populate ur form bean before displaying the page so that those values should be displayed ur formif this is the case... Go to ActionBean class directly where u can populate ur form bean and forward to the jsp which u wantu can do this by making changes like this in

RE: Form Problem (This should be simple)

2002-05-13 Thread Jon.Ridgway
Hi Brandon, Check your struts-config.xml. Make sure you have scope="request" in your action-mapping definition for page a. Jon Ridgway -Original Message- From: Phase Web and Multimedia [mailto:[EMAIL PROTECTED]] Sent: 13 May 2002 08:03 To: Struts Users Mailing List Subject: Form Proble

Re: Form problem

2001-11-29 Thread Kris Thompson
I found out that the problem was getting the mapping.getInput() The login page used a struts form as you can see from the struts-config file. However 5, 6, n number of pages later when the user tried to go to login.do struts would look for the input for that ActionMapping which most likely did n

Re: Form problem

2001-11-28 Thread Pete Carapetyan
I have had this same problem with frames, but my frame was on one server and the called login form was on another. As soon as I got them coming from the same box, everything worked fine. Don't know if that is your problem. Kris Thompson wrote: > First off, I am using Frames. After I login, and

Re: Form problem

2001-06-26 Thread dhay
Andrew, Hi. I just posted to the list some adjustments to the struts tags to do exactly this. (see "Re: How can I pass extra information on Submit button?" - or see " Proposal to add "indexed" to tags for Grid/Matrix-type use of Struts") In your case, you would just add 'indexed="true"' to y

RE: Form problem

2001-06-26 Thread Niall Pemberton
There are quite a few messages in the archive about this: http://www.mail-archive.com/struts-user%40jakarta.apache.org/ You have a choice - use scriptlets to generate an appropriate name with the index of the row or create custom versions of struts tags which do it. We choose the later. Mart

RE: Form problem

2001-06-26 Thread Andrew Paul Swift
I have resorted to using scriptlets. There must be a more elegant solution though! which gives... First name Last namecheersA > -Original Message-> From: Andrew Paul Swift [mailto:[EMAIL PROTECTED]]> Sent: 26. juni 2001 1