Hello world,
I've got an html multiple select control on my jsp page,that I passed
a LabelValueBean.getLabel();, the problems is when I render the page
those options are not there, but when I do View Source I can see those
options there but they are not added to the List as options. can
anyone help ?
Here is my code snippet
Select leftSelect =new Select();
leftSelect.setMultiple(true);
leftSelect.setSize(15);
for (Iterator objects =
leftList.iterator();objects.hasNext();) {
LabelValueBean labelValueBean2 =
(LabelValueBean) objects.next();
leftSelect.addElement(new
Option(labelValueBean2.getLabel()));
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~