Ok, yet another attempt to explain my problem. Say I have a registration
form and I have the list of countries stored in an ArrayList with each
element as a key, value pair (Map). Now when I call the registration
form. The actionForm for the the registration form has one field country
(with both the getter and setter). How do I write the bean tag, so that
the ArrayList (which is placed in the request scope already) is taken to
render a dropdown menu of countries and the value of the selected item
goes into the countryId property of the registration ActionForm.

If ur still with me so far, then yet another question, how do do the
same in case I want to user to select the countries from a checkbox
(could be possibly multiple countries) if possible please give me a
sample code to learn as well.

My project deadline is coming close and I am stuck with conceptual
problems. Please consider this as urgent call for help.

Thanks in advance.




Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being]


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

Reply via email to