Primefaces Icons not showing up

UI Components for JSF
Post Reply
DavidMiller
Posts: 14
Joined: 02 May 2012, 18:14

08 Jan 2013, 15:34

Primefaces Icons not showing up in application when deployed.
This is intermittent.
Primefaces 5.0, jsf 2.1.12, Spring Framework 3.1.0, WebSphere Application Server 7.0

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

08 Jan 2013, 16:21

[PLEASE PLEASE PLEASE READ BEFORE POSTING]

1. Please respond with xhtml that shows this behavior
2. did you view source in your browser and confirm that images/etc are downloaded to your client?
3. also, does your debug console in your browser show that icons are downloaded?
4. maybe you have an issue with resources provided by your web app
5. i see you are using PrimeFaces 3.2 (and 'spring'); so, is this the 1st web app that you developed with primefaces 3.2 (and spring)? is primefaces icons showing up in any other web apps that you developed via primefaces 3.2 and spring? did you clear internet cache in your browser before testing?
6. what happens when you use a newer-more-stable version (or the latest-and-greatest-version) of PrimeFaces (PrimeFaces 3.4.2 or Primefaces 3.5-SNAPSHOT)

this list of mine can go on and on.
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

DavidMiller
Posts: 14
Joined: 02 May 2012, 18:14

08 Jan 2013, 17:04

I have tried 3.3, 3.4.2 and they have caused other huge formatting issues within IE 8.
TreeTable contents that is supposed to be contained in a box shows up outside the box.
The first level in the treetable shows up as limited to the space of a small column of about 30 pixels (about the size of the indent). Levels 2 and 3 of the treetable allow for the full width of the items being displayed.
Primefaces 5.0, jsf 2.1.12, Spring Framework 3.1.0, WebSphere Application Server 7.0

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

08 Jan 2013, 17:16

Please create another topic about tree table and I didn't see anything in your response about icons as I asked in my previous response. Seems as though you really want treetable working in ie8. A separate topic including those two words and versions of PrimeFaces you're using should get you a response.
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

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

08 Jan 2013, 17:26

Make sure you are not in compatibility mode in IE.

Moving to themes forum.

betoinc
Posts: 22
Joined: 27 Jul 2012, 21:54

15 Jan 2013, 23:54

With WAS & you have to add the MIME TYPE to the server to be able to show the png images.

http://www-01.ibm.com/support/docview.w ... wg21269129

For the format in IE8 please review by pressing F12 that you are not in Quirks Mode, you should be in Standard Mode.

Hopefully this will help you.

DavidMiller
Posts: 14
Joined: 02 May 2012, 18:14

23 Jan 2013, 15:21

The theme.css generated by primefaces is showing a variable instead of the path sometimes:

This is a snippet from theme.css with variable:

.ui-icon {
background-image: url("#{resource[\'primefaces-aristo:images/ui-icons_616161_256x240.png\']}");
height: 16px;
width: 16px;
}

It should read:
.ui-icon {
background-image: url("/RTEWeb/faces/javax.faces.resource/images/ui-icons_616161_256x240.png?ln=primefaces-aristo");
height: 16px;
width: 16px;
}

It changes when we restart the server.
Not sure what could be causing this.
Primefaces 5.0, jsf 2.1.12, Spring Framework 3.1.0, WebSphere Application Server 7.0

shahsr
Posts: 1
Joined: 28 Feb 2014, 19:18

28 Feb 2014, 19:22

David,
Did you find any solution to this? We are seeing the same with Primefaces 4.0 on WebLogic 12.1.1.

Thanks.


Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests