I don't have any of that stuff, only the jar file. I'll get it now.

Martyn

Sri Sankaran wrote:

Please look at html-select.jsp that is in the struts-exercise-taglib application that ships with Struts.

<html:select property="multipleSelect" size="10" multiple="true">
<html:options name="multipleValues" labelName="multipleValues"/>
</html:select>

multipleSelect is an array that holds the selected -- or initially selected -- values.

HTH

Sri
-----Original Message-----
From: Martyn Inglis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 10:39 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Select boxes with multiple = true


I can't see much reference to the use if multiple in these docs ( http://jakarta.apache.org/struts/struts-html.html#options ) I'm assuming they are what you meant. It allows me to create the drop down, but pre-selecting options still eludes me.

If you could supply a URL it would be very much appreciated.

Thanks

Martyn


David Graham wrote:


Yes and it's easy. See the html taglib reference in the users guide
on the select tag and options tag. BTW, it's multiple="multiple" :-).

David







From: Martyn Inglis <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Select boxes with multiple = true
Date: Tue, 19 Nov 2002 15:08:30 +0000

Does anyone have an ideas as to the method for setting values in a
multiple select list?

I have select lists, populating onto the page from EJBs. I have a
seperate EJB Value bean which contains the specific values required for that instance. Can I set these values to be selected on intiliaization?

Cheers

Martyn

*********************************************************************
*******


MX Financial Solutions is a trading name of MX Moneyextra Financial Solutions Ltd, which is regulated by the Financial Services Authority and a member of the General Insurance Standards Council.

MX Moneyextra Financial Solutions Ltd is registered in England No.
3379907.

Registered Office: One Temple Back East, Temple Quay, Bristol BS1 6DX A wholly owned subsidiary of Bristol & West plc.

*********************************************************************
*******


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

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail


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





****************************************************************************

MX Financial Solutions is a trading name of MX Moneyextra Financial Solutions Ltd, which is regulated by the Financial Services Authority and a member of the General Insurance Standards Council.

MX Moneyextra Financial Solutions Ltd is registered in England No. 3379907.

Registered Office: One Temple Back East, Temple Quay, Bristol BS1 6DX A wholly owned subsidiary of Bristol & West plc.

****************************************************************************

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


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





****************************************************************************

MX Financial Solutions is a trading name of MX Moneyextra Financial
Solutions Ltd, which is regulated by the Financial Services Authority and a
member of the General Insurance Standards Council.

MX Moneyextra Financial Solutions Ltd is registered in England No. 3379907.

Registered Office: One Temple Back East, Temple Quay, Bristol BS1 6DX
A wholly owned subsidiary of Bristol & West plc.

****************************************************************************

Reply via email to