This content has been marked as final.
Show 2 replies
-
1. Re: static data in rich:dataTable
akaine Sep 20, 2010 7:39 PM (in response to shandor)If I understand correctly the only "static" data that can be rendered in a dataTable are column headers (set through facets, as you mentioned). The data is iterated always. If you want some fixed values, fill your list variable with some static data manually prior to rendering the table.
-
2. Re: static data in rich:dataTable
auston Feb 26, 2016 7:48 AM (in response to shandor)Its not possible! but if what you want is visual identical table, there is a way:
<rich:dataTable></rich:dataTable> <!-- necessary for jsf load richt faces css style on this page --> <table id="tblconfiguracao" class="rich-table"> <thead class="rich-table-thead"> <tr class="rich-table-header" > <th class="rich-table-headercell">Descrição</th> <th class="rich-table-headercell">Ação</th> </tr> </thead> <tbody> <tr class="rich-table-row"> <td class="rich-table-cell ">Para otimizar a experiência de uso desse sistema, alguns dados do SRH são copiados temporariamente. Essa ação irá dispensar qualquer copia de dado do SRH o que forçara a recuperação de dados mais atuais.</td> <td class="rich-table-cell "><a4j:commandButton id="btLimparCache" value="Atualizar do SRH" title="Obter dados atualizados do SRH." action="#{parametroAction.limparCache()}"/></td> </tr> </tbody> </table>