ActionForm LifeCycle (Maybe a bug in Struts)

2004-01-13 Thread Rodney Paul
Hi All, I was wondering if anyone knew what the lifecycle of an ActionForm is? The reason I ask is in regards to the display of variables with a . I have noticed that the values displayed within a are values after a reset() method has been called, and not after a validate method is called. Ca

Problem redisplaying data user has entered within a form

2003-09-12 Thread Rodney Paul
Hi All,   I am currently experiencing a problem in regards to redisplaying form data a user has entered within a form. I am experiencing this problem both from ActionForm and LookupDispatchAction classes in a major project.   As a consequence I decided to write a very small login applicat

RE: Redisplaying of entered form fields

2003-09-09 Thread Rodney Paul
d put a reference to a .jsp page, but you can also specify an action. In my DispatchAction class, I have a method name validateError(...); you then define the input attribute as input="myAction.do?method=validateError" myAction is an action mapping which maps to the same class. in this me

Redisplaying of entered form fields

2003-09-08 Thread Rodney Paul
Hi All, I have a problem redisplaying form fields a user enters within a html form. I use the validate method to validate form entry fields through ActionForms. and validate business logic in LookupDispatchAction classes. Has anyone experienced this problem, and is there any solution to this mat

RE: Redisplaying of entered form fields

2003-09-08 Thread Rodney Paul
[mailto:[EMAIL PROTECTED] Sent: Friday, 5 September 2003 11:38 AM To: Struts Users Mailing List Subject: RE: Redisplaying of entered form fields Firstly check that redirect is false in the forward to the view. (If it is already false then thats not the problem and you should post some more of your

Redisplaying of entered form fields

2003-09-04 Thread Rodney Paul
Hi All, I have a problem redisplaying form fields a user enters within a html form. I use the validate method to validate form entry fields through ActionForms. and validate business logic in LookupDispatchAction classes. Has anyone experienced this problem, and is there any solution to this

RE: Problem with redisplay of form values when issuing error messages

2003-07-30 Thread Rodney Paul
data was wrong, the same form will be displayed WITH filled-in values. navjot |-Original Message- |From: Rodney Paul [mailto:[EMAIL PROTECTED] |Sent: Wednesday, July 30, 2003 2:09 PM |To: Struts Users Mailing List (E-mail) |Subject: Problem with redisplay of form values when issuing error

Problem with redisplay of form values when issuing error messages

2003-07-30 Thread Rodney Paul
Hi All, I am currently using the Struts MVC2 framework to develop a wizard application. Upon reading the literature in regards to how Struts works, I noticed that my application will does not re-display form values entered by the user if errors are issued. Is it possible to re-display form val

Struts Error Handling Problem

2003-07-29 Thread Rodney Paul
Hi All, I am currently using the Struts framework to develop a wizard application. When using the Struts framework I notice that form data does not get re-displayed after issuing ActionErrors. Is there any reason for this? I use the following code structure for developing the wizard: Organisatio

RE: best way to build a wizard

2003-07-10 Thread Rodney Paul
uot; for this action? I can't use the same action; whatever attribute I used to indicate that I want to move to the next page would still be in the system, so validation failures would bring me to the next page rather than the same page. I'm pondering an approach with two actions, a

Re-Population of form parameters after nn error has occured

2003-07-10 Thread Rodney Paul
Hi All, Im currently experiencing a problem with the Struts framework, in that form values are not being re-populated after a validation error has occured within a ActionForm class. I also get this problem when saving validation errors within a LookupDispatchAction class. Could someone please g

RE: best way to build a wizard

2003-07-10 Thread Rodney Paul
Check out the lookupDispatchAction classes. These classes were designed specifically for Actions which require more than one execute method (in this instance a method for back and next). That is what I have used, and is perfect for use when developing wizard applications. Cheers Rodney -Origi

RE: How to pass a value object to another action

2003-07-07 Thread Rodney Paul
The value from action class A retrieves the value from its own action form class. This value can then be supplied to the next class via a session object. -Original Message- From: Geoffrey Ellis [mailto:[EMAIL PROTECTED] Sent: Tuesday, 8 July 2003 11:34 AM To: Struts Users Mailing List Subj

RE: How to pass a value object to another action

2003-07-07 Thread Rodney Paul
ActionForms sole purpose i believe is to capture information the user has entered within a web page. Hence we have in Struts the MVC 2 model, whereby the presntation layer is represented by JSP/velocity pages, ActionForm classes used to capture information the user has entered within the preentat

Struts Error Handling Problem

2003-07-07 Thread Rodney Paul
sted if anyone could provide a solution for this. NOTE: I am using the Struts version 1.1 release with tomcat version 4.1.24 Yours Sincerely Rodney Paul ps. You can contact me via email at [EMAIL PROTECTED] - To un

RE: Using JAAS ( Slightly off topic)

2003-07-07 Thread Rodney Paul
Hi there, could you please help me i am trying to send a post out to the mailign list. How do you do this. Cheers Rodney -Original Message- From: souravm [mailto:[EMAIL PROTECTED] Sent: Tuesday, 8 July 2003 10:37 AM To: Struts Users Mailing List Subject: Using JAAS ( Slightly off topic)