Struts2 doubleselect 使用

近来要使用省与市级联下拉框,使用doubleselect 实现,作以下笔记:

.doubleselect br{   
        display:none;   
}   

 

<div align="left" class="doubleselect">
<s:doubleselect  name="supplierEx.spState" 
list="#request.provinceList"
 listKey="cdId" 
listValue="cdName" 
doubleName="supplierEx.spCity" 
doubleList="#request.cityMapDic.get(top.cdId)"  
doubleListKey="cdId" 
doubleListValue="cdName" /> </div>

 

你可能感兴趣的:(struts2)