开发者

Double selection combo box in Struts2

Below, I tried to see if the list contains two items

s:doubleselect label="doubleselect test1" name="menu" list="{'fruit','other'}" 
doubleName="dishes" doubleList="top == 'fruit'开发者_如何转开发 ? {'apple', 'orange'} : 
{'monkey', 'chicken'}"

If the list containts three or more items {'fruit','flower','other'} what should be syntax for doubleList?


See this example: http://www.mkyong.com/struts2/struts-2-sdoubleselect-example/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜