Generally in struts application , we will write POJO classes with required form variables called it as actionForm.
To simplify this they provided dynaActionForm , here we will declare all the properties along with the types in struts-config.xml file as below.
<form-bean name="DisplayPriceVarianceForm" type="com.techexp.DisplayPriceVarianceForm">
<form-property name="batchStatusxmlstr" type="java.lang.String" />
<form-property name="filter" type="java.lang.String" />
<form-property name="sortColumn" type="java.lang.String" />
<form-property name="sortOrder" type="java.lang.String" />
<form-property name="sortDatatype" type="java.lang.String" />
<form-property name="screenId" type="java.lang.String" />
</form-bean>
To simplify this they provided dynaActionForm , here we will declare all the properties along with the types in struts-config.xml file as below.
<form-bean name="DisplayPriceVarianceForm" type="com.techexp.DisplayPriceVarianceForm">
<form-property name="batchStatusxmlstr" type="java.lang.String" />
<form-property name="filter" type="java.lang.String" />
<form-property name="sortColumn" type="java.lang.String" />
<form-property name="sortOrder" type="java.lang.String" />
<form-property name="sortDatatype" type="java.lang.String" />
<form-property name="screenId" type="java.lang.String" />
</form-bean>
No comments:
Post a Comment