On 12/1/06, Tamilselvan Radha Krishnan <[EMAIL PROTECTED]>
wrote:

Hi All,
I've an ArrayList that contains EmployeeID String objects.  I need to
show the List box from this ArrayList with List value and Key being the
same EmployeeID.
Any sample code would be much helpful.


<html:select property="foo">
<html:options name="listAttributeName" property="employeeId"
labelProperty="employeeId">
</html:select>

This is assuming you the objects you have in your arraylist are of type
employee which is something like this

class Employee {
String employeeId;
//getter setters
}

Regards

Tamil


_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Information transmitted by this EMAIL is proprietary to iGATE Group of
Companies and is intended for use only by the individual
or entity to whom it is addressed and may contain information that is
privileged, confidential, or exempt from disclosure under
applicable law. If you are not the intended recipient of this EMAIL
immediately notify the sender at iGATE or [EMAIL PROTECTED]
and delete this EMAIL including any attachments
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _




--
Puneet

Reply via email to