I don't think you can specify different action for different options in html:select. 
But I can suggest ,if you are using javascript you can manipulate it on the basis of 
options.

Regards
Rohit

-----Original Message-----
From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 06, 2003 2:35 PM
To: Struts Users Mailing List
Subject: Drop down Boxes help

Hello everybody,
        I have a form containing multiple fields and drop down boxes... I have
one ActionForm and one DispatchAction
associated with all of them and I would like to distinguish which if the
drop down boxes was chosen...
Something like the following :

        <html:select property="sourceArea" onchange='......here I would like to
be able to specifie something like action-1.do...'> 
                <html:options collection="L1" 
                              property="idValue"
                              labelProperty="displayValue" />
               </html:select>

What is the best way to do it with strutsand struts tag libraries or
with JSTL...
Thanks,
        Todor

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



*----------
This message and any attachment(s) is intended only for the use of the addressee(s) 
and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the 
intended addressee(s), you are hereby notified that any use, distribution, disclosure 
or copying of this communication is strictly prohibited. If you have received this 
communication in error, please erase all copies of the message and its attachment(s) 
and notify the sender or Kanbay postmaster immediately.

Any views expressed in this message are those of the individual sender and not of 
Kanbay.

Although we have taken steps to ensure that this e-mail and any attachment(s) are free 
from any virus, we advise that in keeping with good computing practice the recipient 
should ensure they are actually virus free.


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

Reply via email to