<p:datatable> bug

UI Components for JSF
Post Reply
Posts: 1
Joined: 24 Aug 2010, 10:26

24 Aug 2010, 10:34

Just a little info to help you debug your project.

If you put a special char like ' in the header of a column, the datatable doesn't display at all.

<f:facet name="header">
<h:outputText value="user's right"/> --> bug / <h:outputText value="user right"/> --> OK
<h:outputText value="#{item.annProfil.toString()}" />

I didn't test other characters, I hope it will help you.


Marc :D

Posts: 4
Joined: 10 Aug 2010, 09:59

24 Aug 2010, 10:48


I had the same problem and here are some tests i have done :

Using & apos; instead of a simple quote, it's ok, unfortunatly, IE doesn't transfom it.
Using JS escaping ( user\'s right) doesn't change anything

Hope it can help

Posts: 18045
Joined: 05 Jan 2009, 00:21
Location: Cybertron

24 Aug 2010, 15:18

This is fixed in 2.2.M1 which features the new datatable;


Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests