Thank you Robert, I tried and it works.

Marco

> -----Original Message-----
> From: Robert Taylor [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, March 22, 2003 11:19 AM
> To: Struts Users Mailing List
> Subject: RE: Retrieving properties from a DynaValidatorForm
> 
> 
> Marco, you should be able to use the get().
> 
> String name = (String)form.get("name");
> 
> robert
> 
> > -----Original Message-----
> > From: Marco Tedone [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, March 22, 2003 3:54 AM
> > To: Struts-user-list
> > Subject: Retrieving properties from a DynaValidatorForm
> >
> >
> > Hi, I'm dealing with DynaValidatorForm. Everything works 
> fine, until I 
> > come in the Action after the validation and I need to retrieve my 
> > properties. With the standard ActionForm I had simply to cast the 
> > right ActionForm type
> > for the parameter 'form' and then access the get/set 
> methods in order to
> > retrieve the properties value. I didn't find nothing in the
> > DynaValidatorForm which could aim to get properties value. 
> The alternative
> > is to use the request.getParameter("..") method, which is what
> > I'm doing at
> > present.
> >
> > Does anyone of you have any idea on how to do that, without 
> > subclassing the DynaValidatorForm(which is the reason why I'm using 
> > DynaValidatorForm?).
> >
> > Regards,
> >
> > Marco
> >
> > 
> ---------------------------------------------------------------------
> > 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