RE: Default values for Multiple Select

2005-10-19 Thread Rassmann, Natalie D
Paul, 

  I am dealing with a multiple select tag...  Ie html:select
property=userroles multiple =true html:optionsCollection
property=userroles / /html:select

Natalie

-Original Message-
From: Paul Benedict [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 18, 2005 7:11 PM
To: Struts Users Mailing List
Subject: Re: Default values for Multiple Select


Natalie,

Your question isn't clear

If you're dealing with multiple checkboxes, the
property backing them should be a String[] so you can
capture all the values selected.

If you're dealing with multiple options of a radio
group, only one option will ever be selected.

Paul




__ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/

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


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



RE: Default values for Multiple Select

2005-10-18 Thread Dharmendra . Sharan
Hi Natalie,

Are you using String[] for the options in the ActionFormBean?

HTH,

Dharmendra
ps: have a nice day!
-Original Message-
From: Rassmann, Natalie D [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 18, 2005 8:27 AM
To: struts-user@jakarta.apache.org
Subject: Default values for Multiple Select


Hi - 

  I am trying to get the default values for a multiple select to work
when more than one option is selected.  It seems as though I only can
get one of the options marked as selected when several are actually
selected.Has anyone run into this before?  Can anyone help me?

Natalie Rassmann
Collaborative Environments  Support Systems (CESS)
Lockheed Martin Maritime Systems  Sensors (MS2) 
199 Borton Landing Road
Moorestown, NJ 08057-0927
Mail Stop 6000-7
Phone:  (856)608-3177
Cell:  (609)865-3613
FAX:  (856)608-3198


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Re: Default values for Multiple Select

2005-10-18 Thread Paul Benedict
Natalie,

Your question isn't clear

If you're dealing with multiple checkboxes, the
property backing them should be a String[] so you can
capture all the values selected.

If you're dealing with multiple options of a radio
group, only one option will ever be selected.

Paul




__ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/

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