Mutliple select list
"Peter Tlholoe \(P\)" <[email protected]> Wed, 14 Dec 2005 14:25:08 +0200
| Newsgroups | gmane.comp.jakarta.ecs.user |
|---|---|
| Message-ID | <B31AC65084645347A668AF64D11C56E8A23A77@PRTRRA06-XCS01.telkom.co.za> |
------_=_NextPart_001_01C600A9.6C0CAA8C
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
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=0D
Select leftSelect =3Dnew Select();
leftSelect.setMultiple(true);
leftSelect.setSize(15);
for (Iterator objects =3D
leftList.iterator();objects.hasNext();) {
LabelValueBean labelValueBean2 =3D
(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=0D
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------_=_NextPart_001_01C600A9.6C0CAA8C--