Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Struts and the fly likes doubleselct in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "doubleselct in struts" Watch "doubleselct in struts" New topic

doubleselct in struts

dips pandey

Joined: Nov 13, 2010
Posts: 4
the example given
<s:doubleselect label="doubleselect test1" name="menu" list="{'fruit','other'}" doubleName="dishes" doubleList="top == 'fruit' ? {'apple', 'orange'} : {'monkey', 'chicken'}" />

has only two values in the first list that is fruit and other what if i have 10 items in the first list how should i write the
doubleList="top == 'fruit' ? {'apple', 'orange'} : {'monkey', 'chicken'}" />

part for that example..

and if a value is selected from the second list another combo box or a text box should be displayed according to the value selected.
I agree. Here's the link:
subject: doubleselct in struts
It's not a secret anymore!