RE: Re-populating form after validate fails

2004-02-05 Thread Mainguy, Mike
e bean="" and the html="asdasdf" then it should be "asdasdf". And if you have html="foo" and bean="bar" then it should be "bar". -Original Message- From: Paul Barry [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 8:

Re: Re-populating form after validate fails

2004-02-05 Thread Paul Barry
me is populated, so therefore the 'html:test property="username"' field should be populated with that value. What am I missing here? Subject: Re: Re-populating form after validate fails From: [EMAIL PROTECTED] Date: Wed, 4 Feb 2004 12:50:17 +1100 To: "Struts Users Mail

Re: Re-populating form after validate fails

2004-02-04 Thread Paul Barry
pulated. This doesn't make sense to me. The html:form tag should see that the form property for username is populated, so therefore the 'html:test property="username"' field should be populated with that value. What am I missing here? Subject: Re: Re-populating form aft

Re: Re-populating form after validate fails

2004-02-04 Thread Rick Reumann
Paul Barry wrote: name="LoginForm" validate="false" parameter="/WEB-INF/jsp/myaccount/login.jsp" /> name="LoginForm" validate="true" input="/myaccount/login.do" /> So, the user goes to /myaccount/login.do, and they are presented with a form. The code for that looks li

Re: Re-populating form after validate fails

2004-02-03 Thread hgosper
L PROTECTED]> 04/02/2004 12:38 PM Please respond to "Struts Users Mailing List" To: [EMAIL PROTECTED] cc: Subject:Re: Re-populating form after validate fails I can't test this right now, but if I have an ActionMapping with validate="t

Re: Re-populating form after validate fails

2004-02-03 Thread Paul Barry
equest to the input. -------- Subject: Re: Re-populating form after validate fails From: [EMAIL PROTECTED] Date: Wed, 4 Feb 2004 10:59:35 +1100 To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Just set up an forward for validation failure. You can do this in y

Re: Re-populating form after validate fails

2004-02-03 Thread hgosper
D]> 04/02/2004 09:48 AM Please respond to "Struts Users Mailing List" To: [EMAIL PROTECTED] cc: Subject:Re-populating form after validate fails I feel bad asking this question because I know it has been asked 1 million times in this group, but

Re-populating form after validate fails

2004-02-03 Thread Paul Barry
I feel bad asking this question because I know it has been asked 1 million times in this group, but I still haven't found the answer so I am asking it again. How do you get a form to re-populate if validation fails? Here is what I am trying. I have 2 actions: So, the user goes to /myaccount