• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubleselct in struts

 
dips pandey
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
PLEASE HELP..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic