Hi,
i am new in struts and panic in this problem.
<html:select property="prodRef" >
<htmlptions collection= "selectedList" property="prodRef" labelProperty= "name" />
</html:select>
i have this selection list in my JSP, this JSP can only displays one value - "name". but i want to display 2 values in the selection list. what can i do to put 2 values into the field labelPriperty so the pull down selection list contains 2 values?
thanks in advance.
Popo
i am new in struts and panic in this problem.
<html:select property="prodRef" >
<htmlptions collection= "selectedList" property="prodRef" labelProperty= "name" />
</html:select>
i have this selection list in my JSP, this JSP can only displays one value - "name". but i want to display 2 values in the selection list. what can i do to put 2 values into the field labelPriperty so the pull down selection list contains 2 values?
thanks in advance.
Popo