struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mick Knutson" <mickknut...@hotmail.com>
Subject Re: How do I populate a DynaValidatorForm?
Date Thu, 25 Sep 2003 21:29:08 GMT
That was it. Thanks very much!

---
Thanks
Mick Knutson
http://www.baselogic.com

+001(805) 563-0666 Office
+001 (708) 570-2772 Fax
---

----- Original Message ----- 
From: "Barry Volpe" <struts@childrencare.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Thursday, September 25, 2003 2:16 PM
Subject: How do I populate a DynaValidatorForm?


> With an Action Form we do the following:
> 
> form = new UserForm();
> form.setUserid("5"); 
> 
> What is the equivalent for a DynaValidatorForm?????
> 
> Let's say my DynaValidatorForm is myForm
> 
> Of course this does not work (compiler does not know what myForm is.)....
> 
> DynaValidatorForm dynaForm = (DynaValidatorForm)myForm; 
> 
> myForm.setUserid("5");
> 
> 
> Thanks,
> Barry
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message