Respected All,
In Struts1X,
<html:options> having
attributes property and labelproperty those are having list data type.
Example:
<html:select
name=”securityType”>
<html:options name="labelValueBean"
property="value"
labelName="labelValueBean" labelProperty="label"/></html:select>
But Struts2 doesn’t support separate List data type for label and value. Example:
<s:select
name="qsymbolcode" list="ListBean1.comboLabelValue"
listValue="value"
listKey="key"></s:select>
Data type of comboLabelValue is
List, Which add object having key/value property.
Here Key/value property having
String data type.
Can you please suggest me any
alternative way in struts2 so that we can manage combo as like struts1
Regards,
Nikunj
Applied Software Pvt. Ltd.
Ahmedabad
91-98249 88262