You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by fea jabi <zy...@hotmail.com> on 2005/11/29 15:15:22 UTC

DynaActionform

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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org