According to this you can.  I have not tried though.  Makes the other
constuctors obsolete.
http://jakarta.apache.org/struts/api/org/apache/struts/action/ActionError.ht
ml

Do you know to use DynaActionForm?

I do not understand how to get the values kept when validation fails.  It
currently loses all changes because I do not know the name of all the text
fields beforehand and cannot create get and set methods.

Jason Long - CEO and Chief Software Engineer
Supernova Software - supernovasoftware.com
BS Physics, MS  Chemical Engineering

-----Original Message-----
From: Ian Hunter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 8:43 PM
To: Struts Users Mailing List
Subject: Re: Dynamic form value replacements???


Can you put them in an array?

----- Original Message -----
From: "Jason Long" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 9:38 PM
Subject: Dynamic form value replacements???


> I have a form that is dynamically created as a jsp in xml syntax.  There
are
> an arbitrary number of text fields that need to be validated.  Could
someone
> point me to an example of how to do this?  I have no way of creating the
set
> and get methods in the form class unless I dynamically create the java
code
> and recompile.  This is not an option.
>
> Thank you for your time,
>
> Jason Long - CEO and Chief Software Engineer
> Supernova Software - supernovasoftware.com
> BS Physics, MS  Chemical Engineering
>
> -----Original Message-----
> From: louis majanja [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 6:27 PM
> To: Struts Users Mailing List
> Subject: [HELP] ActionMessages <html:messages />
>
>
> i have this in my actionForm:
> ActionMessages messages = new ActionMessages();
>
>    messages.add("message",
>                   new ActionMessage("message.login.confirmation"));
>   saveMessage(request,messages);
>
> in my jsp i have
>
> <html:messages />
>
> it doesn't work, i have tried the following options which don't work
> either
>
> <html:messages message="true"/>
>
> <html:messages id="msg" property="messages" message="true">
>   <c:out value="${msg}"/>
> </html:messages>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to