The only way that I've found to do this is to use javascript to set all the
destination elements as "selected" when you submit.

Matt

--- Eric Rizzo <[EMAIL PROTECTED]> wrote:
> Has anyone come up with a good way to implement a dual-list interface using 
> Struts?  I mean a UI where there are two lists, a source and a destination,
> and 
> buttons to move items between them.  Obviously, the lists would be created
> with 
> <html:select> tags, and the source list can be populated with
> <html:option[s]> 
> tags.  The big problem I see is how to get the destination list contents into
> 
> the form bean when the form is submitted.  The Action is not interested in
> what 
> is selected in the list, but instead the list's entire contents.
> 
> There are JavaScript solutions that I can think of, but I'm hoping that
> someone 
> may have found a way to do it without resorting to that ugliness.
> 
> TIA,
>       Eric
> -- 
> Eric Rizzo, Software Engineer
> OpenNetwork Technologies
> http://www.opennetwork.com
> -----------------------------
> I embrace my personality flaws, for without them
> I might have no personality at all.
> 


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. 
http://im.yahoo.com

Reply via email to