Where did you get the dynamic="true" attribute from? I don't use it, & don't need it. What does it do?
Have you got the validating parameter set in web.xml for the action servlet?
<init-param>
<param-name>validating</param-name>
<param-value>true</param-value>
</init-param>Hope that helps. Adam
Nabil Abdi wrote:
Hi,
I am using struts 1.1, I want to prepopulate a DynaActionForm but my Action receive a null form:
my DynaActionForm configuration looks like : <form-bean dynamic="true" name="pbxUserForm" type="org.apache.struts.action.DynaActionForm"> <form-property name="email" type="java.lang.String" /> ..... </form-bean>
and the Action config:
<action name="pbxUserForm" path="/users/showuser" scope="request" type="com.webapp.action.PopulateUserAction" validate="false"> <forward name="next" path="/users/user.jsp" /> </action>
in PopulateUserAction execute method i receive a null form ?
If i use an ActionForm instead of DynaActionForm the form is NOT null ?
Is there some extra setting i need.
Thank you
--------------------------------------------------------------------- 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]

