Dock && IE8

UI Components for JSF
Post Reply
seli17
Posts: 17
Joined: 16 Feb 2012, 15:34

16 Feb 2012, 15:52

Hello,

I'm a new PrimeFaces User, I just started to use it with a dock example :

Code: Select all

<html xmlns="http://www.w3c.org/1999/xhtml"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:p="http://primefaces.org/ui">
<h:head>
    
</h:head>
<h:body>
	<p:dock>  
		<p:menuitem value="Home" icon="/resources/images/home.png" url="#"/>  
	</p:dock>  
    <div><h:messages ></h:messages></div>
</h:body>
</html>
I'm using :
  • jsf-api-2.0.3.jar
    jsf-impl-2.0.3.jar
    primefaces-3.1.1.jar
The result on Firefox + Chrome is perfect.
The issue is on IE8, the picture is displayed outside of the dock, this one is centerd on screen, but home picture is on the same line at the left.

All help will be appreciated.
Ty
Seli17

seli17
Posts: 17
Joined: 16 Feb 2012, 15:34

17 Feb 2012, 10:36

It seems even the theme is not loaded on IE8/9.
If you launch Primefaces showcase on IE8/9 (which works fine), and if you look the page bottom, you can note a different version used : Running PrimeFaces-3.1.1 on Mojarra-2.1.4

I tried the same thing with this combination, but the result was the same, that still not working.
Am I forgotting something ?

Any idea ?
Thank you.

Seli17.

seli17
Posts: 17
Joined: 16 Feb 2012, 15:34

17 Feb 2012, 11:31

Ok Fixed it :)
the line : <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
was missing on top of my xhtml files, that makes the primefaces widget bug on IE

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

17 Feb 2012, 12:15

Can you also try this please?

Code: Select all

<!DOCTYPE html>
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

seli17
Posts: 17
Joined: 16 Feb 2012, 15:34

17 Feb 2012, 12:29

Yes, that works also.

Seli17

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests