primefaces dataTable radio
来源:互联网 发布:工作计划表软件 编辑:程序博客网 时间:2024/05/30 23:02
<p:dataTable id="appTableList" var="obj"value="#{cc.attrs.appData}"rendered="#{cc.attrs.appData.size()>0}"scrollable="#{cc.attrs.appData.size()>5?'true':'false'}" scrollHeight="#{cc.attrs.appData.size()>=5?150:30*cc.attrs.appData.size()}" styleClass="ui-datatable-scrollable-header-box"><p:columnGroup type="header"><p:row><p:column rowspan="2" headerText="App List" style="width:75px"/><p:column rowspan="2" headerText="Name" style="width:300px"/><p:column rowspan="2" headerText="Type" style="width:150px"/><p:column colspan="#{cc.attrs.qcTestCategoryList.size()}" headerText="Test Category" style="text-align:center;width:350px"/></p:row> <p:row> <p:column headerText="Audit Only" style="width:75px"/> <p:column headerText="Execute Test Only" style="width:120px"/> <p:column headerText="Design and Execute Test" style="width:160px"></p:column> <!-- <ui:repeat var="b" value="#{cc.attrs.qcTestCategoryList}" ><p:column headerText="#{b.label}"/></ui:repeat> --><!-- <c:forEach items="#{cc.attrs.qcTestCategoryList}" var="b"><p:column headerText="#{b.label}"/></c:forEach> --></p:row> </p:columnGroup> <p:column style="width:75px"><h:outputText value="DO-#{obj.deploy_obj_id}" /></p:column><p:column style="width:300px"><h:outputText value="#{obj.name}" /></p:column><p:column style="width:150px"><h:outputText value="#{obj.type}" converter="converterData"><f:attribute name="dataMap" value="#{dictionaryVM.typeItems.DEPLOYMENT_OBJECT_TYPE}" /> <f:attribute name="labelField" value="label"/> <f:attribute name="valueField" value="value"/> </h:outputText></p:column><p:column style="display:none"><p:selectOneRadio id="appRadio" value="#{obj.approve_type}"layout="custom"><f:selectItem itemValue="AUDIT" /><f:selectItem itemValue="TEST" /><f:selectItem itemValue="DESIGN_TEST" /></p:selectOneRadio></p:column><p:column headerText="Audit Only" style="text-align:center;width:75px"><p:radioButton id="opt1" for="appRadio" itemIndex="0" /></p:column><p:column headerText="Execute Test Only" style="text-align:center;width:120px"><p:radioButton id="opt2" for="appRadio" itemIndex="1" /></p:column><p:column headerText="Design Test Case and Execute Test" style="text-align:center;width:160px"><p:radioButton id="opt3" for="appRadio" itemIndex="2" /></p:column></p:dataTable>
效果图
0 0
- primefaces dataTable radio
- primefaces的dataTable问题
- Primefaces: set page on datatable
- primefaces datatable scroll 自定义css
- primefaces dataExporter export invisible dataTable rows
- primefaces
- PrimeFaces
- primefaces 伸缩可合可并 panel,datatable的footer下分页
- Primefaces: How to set page on datatable after inserting a new row
- 解决:使用primefaces中datatable的scrollHeight时,列宽度设置失效问题
- jsf primefaces中commandbutton刷新页面bug,lazymodel的datatable查询及重置问题
- primefaces研究
- dataGrid(primefaces)
- dataScroller(primefaces)
- dataList(primefaces)
- carousel(primefaces)
- PrimeFaces+JSF
- radio
- iOS 使用KeyChain存储数据
- 2015年03月6日 iOS学习笔记
- 十进制数转为二进制数
- 选猴王
- matlab纠错---数据类型转化
- primefaces dataTable radio
- 不读完你不会成功
- osg 中显示中文字符出现乱码问题
- 约瑟夫斯问题
- 有关jsp中如何使用session
- 随便发一篇
- AngularJS ui-router中的多视图界面(Multiple Named Views)
- 质因数分解
- Fiddler 调试手机上的http请求