rendering firefox & ie

Components, Ajax Framework, Utilities and More.
Post Reply
User avatar
Posts: 26
Joined: 19 Sep 2010, 07:54

10 Nov 2010, 23:54

i have problems rendering in IE,
firefox renders ok, but ie doesnt

firefox rendering


ie rendering


User avatar
Posts: 723
Joined: 29 Sep 2010, 21:39
Location: United States

11 Nov 2010, 15:42

What version of IE? There are lots of differences between IE and Firefox (and even between different versions of IE) with respect to CSS. IE generally doesn't support anything CSS3. The box model is handled differently in some versions of IE. The overflow propertly is handled different, even in recent versions.

Your pictures are hard to see, but it looks like you are nesting components tightly. Posting code would probably help.

Posts: 7
Joined: 05 Nov 2010, 15:23

11 Nov 2010, 16:22

Check that your browsers are not rendering the page in quirks mode (fallback mode for older compatibility) - especially a problem with IE but worth checking both.
You can confirm this by pasting the following bookmarklet into your address bar immediately after displaying the offending page.


The bookmarklet runs a bit of inline javascript which displays the current browser mode (its safe to allow it to run).

If you are in quirks mode, check your DOCTYPE declarations on your pages - a valid DOCTYPE should trigger standards mode but there are some anomalies where it doesn't.
A good choice nowadays is to use the standard HTML5 DOCTYPE which is backwards compatible with all known browsers and always triggers standards mode. Unlike other DOCTYPEs It is also very simple to code and remember:-


Hope this helps
Steve Woodley

User avatar
Posts: 26
Joined: 19 Sep 2010, 07:54

11 Nov 2010, 19:07

was using IE 7, then upgraded to IE 8, (i dont like any microsoft update)
and works ok, same rendering in firefox and IE


Posts: 12
Joined: 14 Jul 2010, 18:30

11 Nov 2010, 23:44

I'm using IE 8.0.6001.18702 and the showcase is a mess, ajaxstatus doesn't show, the tree doesn't show either, actionListeners doesn't seem to fire ajax requests, they fire full page requests instead.

Please tell me I have to tweak something to make it work, my job has ie8 as a standard :x
PrimeFaces-2.2.RC2-SNAPSHOT, Mojarra 2.0.2 (FCS b10), Facelets, GlassFish 3.0.1

Posts: 7
Joined: 05 Nov 2010, 15:23

12 Nov 2010, 10:16

I've just run a check, as I have not had any issues myself.
Running IE 8.0.7600.16385
Compared with Firefox 3.6.12

Showcase hosted on Glassfish 3.0.1
I've checked the deployed showcase libs, and it is running with:-

Primefaces 2.0.2-RCI-SNAPSHOT

In other words, it is just deployed on Glassfish with what the war file came with.

Its running fine here:-
- all looks fine, tree dispays ok
- ajax listeners fire ok and I can see the expand/collapse events appearing correctly in the Glassfish log when I click the tree.
- both IE and Firefox work correctly.

Are you saying you have tried another browser on site and it works correctly (if not, can you try e.g. Firefox)?

There could perhaps be an issue with the particular IE version.
I'm running on the kit at my home office, and I pretty much let Windows update have its head and apply the patches it wants to.
I realise in a large corporate setup the Infrastructure team may well host the patches locally so they can test and roll them out to their own schedule so you'll be further behind.
Can you try installing/patching IE to the latest version/patch release on a dev/test PC?


Posts: 12
Joined: 14 Jul 2010, 18:30

12 Nov 2010, 19:20

Thanks to your post, Steve, I've managed to download and install Firefox 3.6.12 and give it a try.

Sadly for me, seems it's not a browser problem, firefox shows the same terrible errors: no ajax requests, no tree showing, etc.

Everything points to the proxy, it's surprinsing this company has tweaked it in a way that it blocks some javascript.

Thanks for the help!
PrimeFaces-2.2.RC2-SNAPSHOT, Mojarra 2.0.2 (FCS b10), Facelets, GlassFish 3.0.1

Posts: 1
Joined: 28 Sep 2011, 15:50
Location: Curitiba - Brazil

28 Sep 2011, 15:57

Complementing the reply from Steve Woodley, here is an example that worked just fine for me in IE8 of the popular "spinner" sample:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns:h=""
	<p:spinner value="0" size="3"/>
Adriano Kretschmer
Curitiba - Brazil

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider] and 6 guests