struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srinivas Bhagavathula" <sri...@hotmail.com>
Subject Change in DynaActionForm struts 1.1.b3??
Date Thu, 16 Jan 2003 01:01:54 GMT

In the earlier versions pre beat 3, of when I need to prepopulate a 
dynactionForm i used to instantiate a a dynamic action using the static 
method

DynaBean newForm =
DynaActionFormClass.getDynaActionFormClass("myForm").newInstance();


This method is deprecated/removed in the present verion, what would be the 
work around or the correct way to get the instance of the dyna action form 
in the present beta 3 release?


<form-bean name="myForm" type="org.apache.struts.action.DynaActionForm"
dynamic="true">
   <form-property name="firstName" type="java.lang.string[]"/>
   <form-property name="companyID" type="java.lang.string"/>
</form-bean>


TIA,
srinivas




_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


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


Mime
View raw message