struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aladar The Dinosaur" <>
Subject Re: Dyna Form bean properties
Date Tue, 27 Aug 2002 01:42:44 GMT

Yes, I'm new to struts and have not exposed to bean:write tag yet. However,
what I'm trying to accomplish is this. I have a JSP page (register.jsp) that
collects user registration info, and upon submission the dynaValidatorForm
validates the input fields and transfer control to the RegisterAction. In
the event validation fails, or in any event when the registerAction forward
the control back to the register.jsp, I would like to populated user entered
information back in the form fields (I believe through the info carried by
the "request") so that the user does not have to re-enter the information
that are already supplied. How do I assign those requested data back into
the form fields?


----- Original Message -----
From: "Zimmer, Robin (SSABSA)" <>
To: "'Struts Users Mailing List'" <>
Sent: Monday, August 26, 2002 8:22 PM
Subject: RE: Dyna Form bean properties

> Scott, If I am reading you correctly I think you are not quite using the
> bean:write tag correctly.
> Try looking at It
> to me, what you really want is to use html:text or a similar tag.
> -----Original Message-----
> From: Aladar The Dinosaur []
> Sent: Tuesday, 27 August 2002 10:49 AM
> To:
> Subject: Dyna Form bean properties
> Hello,
> I'm looking to populate the dyna-form properties back to the form in the
> event of a validation failure. It appears that I'll have to use
> name='key' property='attr' /> tag in the JSP page to assign the values
> into the form fields, but I can't figure out what the name of the bean
> should be. Or, is there another way to do this? If I use plain actionForm
> this isn't a problem, since I know the name of the bean. However, this
> doesn't seem to work with dynaValidatorForm.
> Can someone help?
> Thank you,
> Scott
> --
> To unsubscribe, e-mail:   <mailto:struts-user-
> For additional commands, e-mail: <mailto:struts-user-
> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message