About these two topic:
http://forum.primefaces.org/viewtopic.php?f=24&t=42060
http://forum.primefaces.org/viewtopic.php?f=24&t=42061
I discovered that this is the same type of problem: every primefaces tag (beginning with p: ) with the attribute class= inside generate a white page. I can't understand why but this is an important clue. Only the pages with at least a p: tag with a class attribut don't work...
Problem with class="" inside p:
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Does it exist in one of the layout pages we provide?
Yes it exists in "layoutmenu.xhtml"
Example:
Error: javax.servlet.ServletException: Setter not found for property class
Without class attribute it works.
Example:
Code: Select all
<p:inputText placeHolder="search" class="Fright"/>
Without class attribute it works.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
With JSF 2.1 it will fail, JSF 2.2 will convert it to styleClass automatically in my case, it is a typo from our demos, should have been;
We fixed these today for Spark 1.2 release next week.
So to avoid this, make sure you always use styleClass with JSF components.
Code: Select all
<p:inputText placeHolder="search" styleClass="Fright"/>
So to avoid this, make sure you always use styleClass with JSF components.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 14 guests