Hi,
We have switched <h:dataTable> to primefaces DataTable with Primefaces 2.0.2.
That causes a problem with rendering header facets with plain facelets (UIInstructions) EL Expression.
see example:
<p:dataTable value="#{myBean.list}" var="var"
id="myTable"
rows="20">
<p:column id="col1">
<f:facet name="header">#{amsg.courseNumber}</f:facet>
<h:outputText id="col1_text" value="#{var.col1}"/>
</p:column>
...
</p:dataTable>
The DataTableRenderer does not cause the UIInstructions component to render itself. The DataTableRenderer does toString() instead. But if UIInstructions is an EL Expression, the plain expression is written to output.
The h:dataTable works fine also with ElExpressions in UIInstructions. Is it possible to have the same behavior for primefaces datatable?
regards Marcus
Behaviour of UIInstructions in DataTable Header
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hi Marcus,
You are right, it is a known issue;
http://code.google.com/p/primefaces/iss ... ail?id=742
You are right, it is a known issue;
http://code.google.com/p/primefaces/iss ... ail?id=742
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
You are welcome, this will be fixed by next week hopefully. We've added it to the list of issues for next release.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 52 guests