<logic:iterate name="filters" id="filter" indexId="filterIndex">
        <select name='<%="filter"+filterIndex%>'><html:optionsCollection
name="filter" label="label" value="value"/></select>
</logic:iterate>

-----Original Message-----
From: e gg [mailto:[EMAIL PROTECTED]
Sent: 17 March, 2003 15:16
To: [EMAIL PROTECTED]
Subject: Html:Options usage



Hi, I have a bean class that returns an ArrayList of ArrayLists for my
dropdowns. I am really confused on how to show this dropdowns. Here's my
bean class:

public class UserAccessBean implements java.io.Serializable {
 

List deptList  = new ArrayList();
List brokerList = new ArrayList();
List filters = new ArrayList();


 public List getFilters() {
         deptList.add(new LabelValueBean("1", "Department1"));
         deptList.add(new LabelValueBean("2", "Department2"));
         deptList.add(new LabelValueBean("3", "Department3"));
    
        
         brokerList.add(new LabelValueBean("broker1", "BrokerDepartment1"));
         brokerList.add(new LabelValueBean("broker2", "BrokerDepartment2"));
         brokerList.add(new LabelValueBean("broker3", "BrokerDepartment3"));
 
  filters.add(deptList);
  filters.add(brokerList);
  return filters;
 }


}

The 'filters' ArrayList can actually return 2 or more ArrayList. Like if
there's 3 ArrayLists, I would like an html output such as:

<select name=filter1><options....</select>

<select name=filter2><options ... </select>

<select name=filter3><options...</select>

tia,

Emmanuel

  



---------------------------------
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online

______________________________________________

Disclaimer and confidentiality note


Everything in this e-mail and any attachments relating to the official business of 
Standard Bank Group Limited is proprietary to the company. It is confidential, legally 
privileged and protected by law. Standard Bank does not own and endorse any other 
content. 
Views and opinions are those of the sender unless clearly stated as being that of 
Standard Bank. 

The person addressed in the e-mail is the sole authorised recipient. Please notify the 
sender 
immediately if it has unintentionally reached you and do not read, disclose or use the 
content
in any way. 

Standard Bank can not assure that the integrity of this communication has been 
maintained nor 
that it is free of errors, virus, interception or interference.

______________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to