Page 1 of 1

Primefaces Icons not showing up

Posted: 08 Jan 2013, 15:34
by DavidMiller
Primefaces Icons not showing up in application when deployed.
This is intermittent.

Re: Primefaces Icons not showing up

Posted: 08 Jan 2013, 16:21
by smithh032772
[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.

Re: Primefaces Icons not showing up

Posted: 08 Jan 2013, 17:04
by DavidMiller
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.

Re: Primefaces Icons not showing up

Posted: 08 Jan 2013, 17:16
by smithh032772
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.

Re: Primefaces Icons not showing up

Posted: 08 Jan 2013, 17:26
by cagatay.civici
Make sure you are not in compatibility mode in IE.

Moving to themes forum.

Re: Primefaces Icons not showing up

Posted: 15 Jan 2013, 23:54
by betoinc
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.

Re: Primefaces Icons not showing up

Posted: 23 Jan 2013, 15:21
by DavidMiller
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.

Re: Primefaces Icons not showing up

Posted: 28 Feb 2014, 19:22
by shahsr
David,
Did you find any solution to this? We are seeing the same with Primefaces 4.0 on WebLogic 12.1.1.

Thanks.

Re: Primefaces Icons not showing up

Posted: 15 Mar 2014, 04:05
by FkJ