Drop-Down Menu Has a Hidden Property to be Forwarded Along With the Selection
JiaPei Jen
Ranch Hand
Joined: Nov 19, 2000
Posts: 1309
posted
0
I have a drop-down menu like this:
Once a user makes a selection in the menu and click on the Submit button, the action servlet will know what is selected:
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?
subject: Drop-Down Menu Has a Hidden Property to be Forwarded Along With the Selection