The header is printed before there is an active row. In your text, you
are trying to print the status property of the GLOBAL variable
'project' since there is no 'project' variable in the data table yet.

<thead>
...
</thead>

<tbody>
row iteration starts
</tbody>

There is no "project" when <t:column><f:facet name="header"/> is rendered.

On 3/20/06, octoberdan <[EMAIL PROTECTED]> wrote:
>
> The header will be blank if I do the following
> [code]
> <t:dataTable id="projectsDataTable" var="project"
> value="#{projectBacker.projects}">
>         <t:column id="projectNameColumn">
>                 <f:facet name="header"><h:outputText 
> value="#{project.status}"/></f:facet>
>                 <h:outputText value="#{project.status}"/>
>         </t:column>
> ...
> [/code]
>
> Is there an obvious reason? All of the projects definitely have a status.
>
> Thanks in advance
> - Octoberdan
> --
> View this message in context: 
> http://www.nabble.com/No-variables-in-t%3Acolumn-header-facets%21-Bug--t1312124.html#a3496365
> Sent from the MyFaces - Users forum at Nabble.com.
>
>

Reply via email to