"Value required" messages rendered with incorrect icons

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
abobylev
Posts: 2
Joined: 26 Oct 2016, 07:55

29 Oct 2016, 18:10

The following snippet with poseidon-turquoise shows incorrect icons upon validation:

Code: Select all

<p:outputLabel for="lastName" value="Last Name: "/>
<p:inputText id="lastName" value="#{registerView.lastName}" 
     required="true" requiredMessage="Last name: value required"/>
<p:message for="lastName" display="icon" />
I believe there's something wrong with theme.css. Here is what I have starting on line 3074 in file theme.css inside primefaces-poseidon-turquoise filder:

Code: Select all

body .ui-message.ui-message-error .ui-message-error-icon:before {
      content: "[Pseudochar]"; }
Note the weird symbol in the content attribute.

I checked the standard aristo theme and I can see that "value required" icons are rendered with a background stored in a png file. In poseidon theme.css does not seem to point to any png file.

abobylev
Posts: 2
Joined: 26 Oct 2016, 07:55

30 Oct 2016, 14:36

Solved. Poseidon requires font awesome. If it is not enabled in web.xml you get this behavior.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

31 Oct 2016, 08:30

Glad to hear, thanks for the update ;)

Post Reply

Return to “Poseidon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 18 guests