I am sure this is something simple but I am getting an arraylist from the database containing last name, first name and a unique id. I am trying to display this arraylist in a select box. Here is the code in my
jsp:
<s:select> cssClass="SmallText" label="Choose a Lawyer" name="lawyerENbr" headerKey="-1" headerValue="-- Please Select --" list="lawyerList" listValue="lawyerFirstName" listKey="lawyerENbr" </s:select>
The lawyerList is my arraylist. Right now I am only trying to display the first name until I get it working. I will then get the first name and last name to display.
lawyerFirstName is the first name in my transfer object. lawyerENbr is the unique identifier in my transfer object.
At the moment my select list is empty. Can anyone tell me what I am doing wrong?
Thanks for your help.