In my frombean I have the values
 
String reportName = "";

String reportDescription = "";
 
With approiate getters and setter....
 
 
Im populating the reportName value in my formbean through the following in my 
jsp (dropdown)
 
<%
java.util.ArrayList reportList = new ArrayList();
reportList.add(new LabelValueBean("reportDescription1", "reportName1"));
reportList.add(new LabelValueBean("reportDescription2", "reportName2"));

%>
 
 
<html:select property="reportName" >
<html:options collection="reportList" property="value" labelProperty="label"/>
</html:select></td>
 
This works fine when I want to populate the reportName valkue in my 
formbean....however, id like to set the reportdescription in my formbean in the 
same tag....is that possible? In toher words I want to set the properties 
simultaneously from the dropdown.
 
Or can someone suggest a other solution.
 
_________________________________________________________________
Trött på krångliga mejladresser? Skaffa en live.se-adress här!
 http://get.live.com/mail/options

Reply via email to