Bug Report: Growl work on FF, but not Chrome and Safari

UI Components for JSF
Post Reply
KingdomHeart
Posts: 280
Joined: 25 Jun 2010, 01:18

08 Dec 2010, 00:17

Here is my code

Code: Select all


    <h:form>
            <p:commandButton value="Test" actionListener="#{CentralFeed.test}" update="msgs"/>
    </h:form>
    public void test(ActionEvent actionEvent){
        FacesContext.getCurrentInstance().addMessage(null,
                new FacesMessage("",
                                "Seeing this????"));
    }
The above work on FF, but if I run on Chrome, here are the error I got

Code: Select all

Gritter Error: Error: INVALID_STATE_ERR: DOM Exception 11 
Object
image: "/ScholarActive-war/javax.faces.resource/growl/assets/info.png.jsf?ln=primefaces&v=2.2.RC2"
sticky: false
text: "Seeing this????"
title: ""
__proto__: Object

javax.faces.resource/growl/growl.js.jsf?ln=primefaces&v=2.2.RC2:40

Mojarra 2.1.10, Glassfish 3.1, Tomcat 7, Primeface 3.3.1
IE 6-8, FireFox 10-13
MAC OSX Lion, Windows XP, 7

KingdomHeart
Posts: 280
Joined: 25 Jun 2010, 01:18

08 Dec 2010, 19:47

OK I test Chrome and Safari on the showcase and it work. Is there a newer build of PF2.2-RC2 that fix the above problem?

Mojarra 2.1.10, Glassfish 3.1, Tomcat 7, Primeface 3.3.1
IE 6-8, FireFox 10-13
MAC OSX Lion, Windows XP, 7

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

09 Dec 2010, 15:40

Do you have:

Code: Select all

<f:view contentType="text/html">
...
</f:view>
on your page? This is required for Chrome to work properly with PrimeFaces.

KingdomHeart
Posts: 280
Joined: 25 Jun 2010, 01:18

09 Dec 2010, 19:13

ohhh I did not. You mean I have to wrap all my code within f:view just like h:body?

Mojarra 2.1.10, Glassfish 3.1, Tomcat 7, Primeface 3.3.1
IE 6-8, FireFox 10-13
MAC OSX Lion, Windows XP, 7

KingdomHeart
Posts: 280
Joined: 25 Jun 2010, 01:18

09 Dec 2010, 19:44

Well definitely fixed that. Thank you. Good thing to know :D

Mojarra 2.1.10, Glassfish 3.1, Tomcat 7, Primeface 3.3.1
IE 6-8, FireFox 10-13
MAC OSX Lion, Windows XP, 7

alfonx
Posts: 93
Joined: 15 Mar 2010, 18:50
Contact:

12 Jul 2011, 01:24

Thanks a lot.. really good to know.
Greetings,
Steve


Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 25 guests