??组件代码写道
<td colspan="3">
<rich:listShuttle id="sds" sourceValue="#{responseRBean.warnRs}" targetValue="#{responseRBean.gwarnRs}" var="warnitems"
listHeight="600" sourceListWidth="200" targetListWidth="200" copyControlLabel="添加" removeControlLabel="移除" copyAllControlLabel="全部添加"
removeAllControlLabel="全部移除" topControlLabel="顶层" upControlLabel="上移" downControlLabel="下移" bottomControlLabel="底层"
converter="wRecordRConverter"
sourceCaptionLabel="待选预警" targetCaptionLabel="已选预警">
<rich:column>
<h:outputText value="#{warnitems.warnNM}" style="cursor:pointer" ></h:outputText>
</rich:column>
</rich:listShuttle>
</td>
<rich:listShuttle id="sds" sourceValue="#{responseRBean.warnRs}" targetValue="#{responseRBean.gwarnRs}" var="warnitems"
listHeight="600" sourceListWidth="200" targetListWidth="200" copyControlLabel="添加" removeControlLabel="移除" copyAllControlLabel="全部添加"
removeAllControlLabel="全部移除" topControlLabel="顶层" upControlLabel="上移" downControlLabel="下移" bottomControlLabel="底层"
converter="wRecordRConverter"
sourceCaptionLabel="待选预警" targetCaptionLabel="已选预警">
<rich:column>
<h:outputText value="#{warnitems.warnNM}" style="cursor:pointer" ></h:outputText>
</rich:column>
</rich:listShuttle>
</td>
?
样式控制 写道
<style type="text/css">
table.rich-shuttle-internal-tab td{height:20px;}
td.rich-shuttle-source-cell-selected{
background-color:#93BFE5;
height:20px;
}
td.rich-shuttle-target-cell-selected{
background-color:#93BFE5;
height:20px;
}
</style>
?
table.rich-shuttle-internal-tab td{height:20px;}
td.rich-shuttle-source-cell-selected{
background-color:#93BFE5;
height:20px;
}
td.rich-shuttle-target-cell-selected{
background-color:#93BFE5;
height:20px;
}
</style>