struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stanley, Eric" <>
Subject RE: Doubleselect tag
Date Fri, 01 Feb 2008 17:45:47 GMT
Could you please show me the classes state and city? I think that would
help. And thanks for the reply :)


-----Original Message-----
From: [] 
Sent: Friday, February 01, 2008 9:39 AM
To: Struts Users Mailing List
Subject: Re: Doubleselect tag


I have added an example of doing this at
I think describes this usage a little better.


On Jan 31, 2008 5:07 PM, Stanley, Eric <> wrote:

> I'd like to have a pair of selects, the first one controlling the
> content of the next. I understand that the <s:doublselect /> tag makes
> this possible. I just can't make it work. I tried just copying the
> example:
> <s:doubleselect label="doubleselect test1" name="menu"
> list="{'fruit','other'}" doubleName="dishes" doubleList="top ==
> ? {'apple', 'orange'} : {'monkey', 'chicken'}" />
> <s:doubleselect label="doubleselect test2" name="menu"
> list="#{'fruit':'Nice Fruits', 'other':'Other Dishes'}"
> doubleName="dishes" doubleList="top == 'fruit' ? {'apple', 'orange'} :
> {'monkey', 'chicken'}" />
> And it does not work either. It populates both selects automatically,
> and the second select never changes content based on the first. They
> just seem static. I'm sure I'm looking at this the wrong way, so I
> use some clarity. Thanks in advance.
> -Ryan
> This communication is the property of Qwest and may contain
> or
> privileged information. Unauthorized use of this communication is
> prohibited and may be unlawful.  If you have received this
> in error, please immediately notify the sender by reply e-mail and
> all copies of the communication and any attachments.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message