I have the following table using Trinidad:
<tr:table var="row" value="#{backingBean.rows}" rows="9" autoSubmit="true"
rendered="true" >
<tr:column headerText="Name">
<tr:column headerText="First" sortProperty="firstName"
sortable="true">
<tr:outputText value="#{row.firstName}"/>
</tr:column>
<tr:column headerText="Last" sortProperty="lastName" sortable="true">
<tr:outputText value="#{row.lastName}"/>
</tr:column>
</tr:column>
</tr:table>
I should note that "backingBean.rows" returns a List--specifically an
ArrayList--populated with 100 objects.
This table is simply not showing up in my web page. The interesting thing
is that it is, however, in the JSF component tree as this Facelets debug
trace shows:
<CoreForm id="j_id4" rendered="true" submitted="false" transient="false"
usesUpload="false">
<CoreTable allDetailsEnabled="false" autoSubmit="false"
columnBandingInterval="0" first="0" horizontalGridVisible="true" id="j_id7"
immediate="false" rendered="true" rowBandingInterval="0" rowIndex="-1"
rowSelection="none" rows="9" showAll="false" transient="false" var="row"
verticalGridVisible="true">
<CoreColumn align="start" defaultSortOrder="ascending"
headerNoWrap="false" headerText="Name" id="j_id8" noWrap="false"
rendered="true" rowHeader="false" separateRows="false" sortable="false"
transient="false">
<CoreColumn align="start" defaultSortOrder="ascending"
headerNoWrap="false" headerText="First" id="j_id9" noWrap="false"
rendered="true" rowHeader="false" separateRows="false"
sortProperty="firstName" sortable="true" transient="false">
<CoreOutputText escape="true" id="j_id10" rendered="true"
transient="false" truncateAt="0"/>
</CoreColumn>
<CoreColumn align="start" defaultSortOrder="ascending"
headerNoWrap="false" headerText="Last" id="j_id11" noWrap="false"
rendered="true" rowHeader="false" separateRows="false"
sortProperty="lastName" sortable="true" transient="false">
<CoreOutputText escape="true" id="j_id12" rendered="true"
transient="false" truncateAt="0"/>
</CoreColumn>
</CoreColumn>
</CoreTable>
-----------------
I am sure it is something silly, but can anyone tell me why this table
appears in the JSF component tree but not in the actual web page? Thanks
very much.
--
View this message in context:
http://www.nabble.com/Table-Not-Rendering-tf4485477.html#a12791121
Sent from the MyFaces - Users mailing list archive at Nabble.com.