<p:column> facet header content

UI Components for JSF
Post Reply
martinkouba
Posts: 2
Joined: 08 Oct 2010, 12:26

08 Oct 2010, 12:49

Hello,
is there any limitation on content of p:column facet header?

I tried to use something similiar to code bellow (because of filtering - I cannot use primefaces default filtering mechanism). However no error displayed, no table rendered (table html code is hidden and empty).

Code: Select all

<p:dataTable ...>
<p:column>
<f:facet name="header">
<h:selectOneMenu
 value="#{bean.value}">
 <s:selectItems
  value="#{bean.values}"
  var="value" />
 <s:convertEnum />
</h:selectOneMenu>
</f:facet>
...
</p:column>
</p:dataTable>
h:inputText inside p:column header facet works fine. Even h:column header facet may include other components.

My environment:

Facelets
JSF 1.2
Seam
Primefaces 1.1


Thanks
Martin

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

08 Oct 2010, 13:44

1.1 has limitation yes, 2.2.M1 does not. I suggest migration to JSF 2.0 and PrimeFaces 2.x as JSF 1.2 support is dropped and PrimeFaces 1.x is no longer maintained.

martinkouba
Posts: 2
Joined: 08 Oct 2010, 12:26

08 Oct 2010, 14:36

Unfortunately I can't migrate to JSF 2.0 and PrimeFaces 2.x. I suppose there is no workaround so I'll have to use h:dataTable instead of p:dataTable...
Thanks for quick reply anyway

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 19 guests