You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by SP...@ixl.com on 2001/03/20 01:32:40 UTC

Pass all values from a listbox to the formbean

Hi,

I have the following problem:

I have 2 listboxes (select boxes) - Input and output.
The input box is populated when the jsp is loaded.
At this point the output listbox( select box) is empty.
The user selects a value in the input box and clicks on the add button which
puts the value in the output box.
The user is able to choose the same value from the input box that was
previously selected.
It is designed that way so that the user can choose the same value and have
different names. this is done for a good reason ........

Now my question is how do I send the contents of the output listbox without
using hidden form fields?

Sharmila Pandith
Software Engineer
iXL Inc.

phone: 212-500-5180
AIM: spandith
Yahoo: spandith
MSN: spandith

This message is intended only for the use of the Addressee and may contain
information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended
recipient, dissemination of this communication is prohibited. If you have
received this communication in error, please erase all copies of the message
and its attachments and notify us immediately.