<p:datatable> bug

UI Components for JSF
Post Reply
Barnabul
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.

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

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

Regards

Marc :D

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

24 Aug 2010, 10:48

Hi,

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

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

24 Aug 2010, 15:18

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

http://www.primefaces.org/labs/ui/datatableHome.jsf

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 31 guests