开发者

Double selection combo box in Struts2

开发者 https://www.devze.com 2023-03-09 01:35 出处:网络
Below, I tried to see if the list contains two items s:doubleselect label=\"doubleselect test1\" name=\"menu\" list=\"{\'fruit\',\'other\'}\"

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

精彩评论

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