当前位置: 代码迷 >> Web前端 >> <rich:listShuttle 的式样
  详细解决方案

<rich:listShuttle 的式样

热度:439   发布时间:2012-10-21 09:00:07.0
<rich:listShuttle 的样式

??组件代码写道
<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>

?

样式控制 写道
<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>
?
  相关解决方案