<rich:dataTable value="#{dataTableScrollerBean.model}" var="model" width="750">
<rich:columns value="#{dataTableScrollerBean.columns}" var="columns"
index="ind" id="column#{ind}">
<f:facet name="header">
<h
utputText value="#{columns.header}" />
</f:facet>
<h
utputText value="#{model[ind].model} " />
<h
utputText value="#{model[ind].mileage} miles " />
<h
utputText value="#{model[ind].price}$" />
</rich:columns>
</rich:dataTable> | 欢迎光临 JEE Study|JAVA EE|企业级开发学习网 (http://www.jeestudy.com/) | Powered by Discuz! X3.2 |