struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barry Volpe" <str...@childrencare.com>
Subject How do I populate a DynaValidatorForm?
Date Thu, 25 Sep 2003 21:16:04 GMT
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


Mime
View raw message