Empty table using Trinidad tr:table tag

Hi,

I m trying to populate a table from my sample table (Dept which has two columns Dept_Code and Dept_Name). But my DeptList.jsp does not show any row !!!!

Here is DeptList.jsp code

=====================

<f:view>

<h:form>

<tr:table

value="#{EmpBean.myDeptDataList}"

var="myDeptItem">

<tr:column>

<f:facet name="header">

<tr:outputText value="ID" />

</f:facet>

<tr:outputText value="#{myDeptItem.dept_Code}" />

</tr:column>

<tr:column>

<f:facet name="header">

<tr:outputText value="Name" />

</f:facet>

<tr:outputText value="#{myDeptItem.dept_Name}" />

</tr:column>

</tr:table>

</h:form>

</f:view>

If I execute this code using <h:dataTable , ><h:column and ><h:outputText it works fine which means my EmpBean.myDeptDataList contains all of desired rows .

But I want to use Trinidad ><tr:table tag in order to use multiple pages functionality. Any help?>

[1149 byte] By [AlexCoxwella] at [2007-11-26 20:09:02]
# 1

Eventually I got my table populated with data using Trinidad tr:table tag. The thing which was missing was, I did not put following necessary enrty in faces-config.xml

<application>

<!-- Use the Trinidad RenderKit -->

<default-render-kit-id>

org.apache.myfaces.trinidad.core

</default-render-kit-id>

</application>

I wasted much much time, and I m posting it here so that nobody else should waste time for it, (if this is the problem/solution)

AlexCoxwella at 2007-7-9 23:12:02 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...