Hi

What is the best method to display a collection of items in a list to allow
the user to select an item that is then passed on to some other action or
process?

For example, if I was creating a Swing UI then I can use a JList and call
the getSelectedIndex() method.

Ideally I would like to generate a <SELECT> element from a Collection
(optionsCollection) where the value submitted for the select property is the
Index value of the selected option.  Is that actually possible?

Am I looking in the right direction at
http://jakarta.apache.org/struts/faqs/indexedprops.html?

Or is it a job for JavaScript?

Any pointers, examples, resources etc would be great :-)

Thanks
Shane

Shane Mingins
Analyst Programmer
Assure NZ Ltd
Ph 644 494 2522



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

Reply via email to