I have a drop-down menu like this:
<html-el:select property="document">
<html-el:option
value="">-Select-</html-el:option>
<html-el:options collection="PageBeans"
property="name" labelProperty="name"/>
</html-el:select>
Once a user makes a selection in the menu and click on
the Submit button, the action servlet will know what
is selected:
String selectedPage = request.getParameter(
"document" );
The PageBeans object is a Collection; a Collection of
individual JavaBean. In my case, each individual
JavaBean is called PageBean (singular).
The PageBean has two properties; one is called 'name',
which gets displayed in the drop-down menu. The other
is called 'groupID', which is not displayed.
Once a selection is made, the 'name' property of that
particular PageBean will be forwarded to a servlet.
However, I also want the 'groupID' property of that
PageBean to be forwarded. How can it be done?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]