Hi!
I'm using PrimeFaces 2.2RC1 and
<p:dataTable id="asdf">...
doesn't add id attribute to HTML table output
<p:dataTable id="asdf"> doesn't bind "id" tag to HTML
Works for me. What makes you say that? Cannot see it in the .html source?
Keep in mind that if you reference it elsewhere, you may need to qualify it with the form id, e.g. :formId:tableId
Which also suggests you need to id your forms, lest JSF will id it for you.
-e
Keep in mind that if you reference it elsewhere, you may need to qualify it with the form id, e.g. :formId:tableId
Which also suggests you need to id your forms, lest JSF will id it for you.
-e
Mojarra 2.2.8
Primefaces 5.1
Wildfly 8.2
Primefaces 5.1
Wildfly 8.2
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
This is how JSF works, client ids and server ids can be different, set prependId to false on h:form so that server id and client id will be same.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 39 guests