The below DynaActionForm works fine. I tried to change all the java.lang.Boolean to boolean.

<form-property name="confirm" type="java.lang.Boolean" initial="true"/>

to

<form-property name="confirm" type="boolean" initial="true"/>

<form-bean
      name="SetupForm"
      type="org.apache.struts.action.DynaActionForm" dynamic="true">
      <form-property name="custName" type="java.lang.String"/>
      <form-property name="typeName" type="java.lang.String"/>
      <form-property name="typeNameDesc" type="java.lang.String"/>
<form-property name="confirm" type="java.lang.Boolean" initial="true"/>
  </form-bean>


When changing java.lang.Boolean - boolean the DynaActionform is not getting created. In the action it's Null. Not sure why is that?

Any suggessions on the same?
Thanks.

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to