Page 1 of 1

p:selectOneMenu not working on IE7

Posted: 01 Jun 2011, 13:33
by martinPrime
Hi,

I try to use p:selectOneMenu but get an error of IE7 (didn't try with IE8) when trying to drop down the list. Everything works fine with firefox and chrome.
Here's the code:

Code: Select all

<h:form>
    <h:panelGroup layout="block" id="innerContent" styleClass="mainContent">
        <p:outputPanel id="pnlMain">
            <h:panelGrid id="selectMenu" columns="3" footerClass="propTabFooter">
                <h:outputText title="Anrede" value="Anrede: *" />
                <p:selectOneMenu id="grade" value="#{registration.student.grade}" >
                    <f:selectItem itemValue="Frau" itemLabel="Frau" />
                    <f:selectItem itemValue="Herr" itemLabel="Herr" />
                </p:selectOneMenu>
                <p:message for="grade"/>
            </h:panelGrid>
        </p:outputPanel>
    </h:panelGroup>
</h:form>
The dropdown list does not drop down and IE shows the yellow exclamation mark in the status bar "Error on page."
The error is:
Error: 'e.left' is null or not an object
Code: 0
Can anyone help?
Martin

Re: p:selectOneMenu not working on IE7

Posted: 01 Jun 2011, 13:43
by martinPrime
Additional comments:
I'm using the latest PF 3.0-M2 SNAPSHOT and Mojarra 2.0.4.
In the 3.0 showcase the component is working, but not with the above mentioned example.

Re: p:selectOneMenu not working on IE7

Posted: 01 Jun 2011, 13:44
by cagatay.civici
Try a newer build of 3.0.M2-SNAPSHOT like yesterday, it should be fixed.

Re: p:selectOneMenu not working on IE7

Posted: 01 Jun 2011, 15:01
by martinPrime
Thanks optimus,
with build 2011-06-01 it works!

Re: p:selectOneMenu not working on IE7

Posted: 30 Jun 2011, 20:13
by sulfonic
Hello I have the same problem does not quite understand, I run my project with the library 3.0.M2? the official website only shows the version primefaces 3.0.M1
. Where to get it?

Thanks

Happy Coding

Ricardo Daniel

Re: p:selectOneMenu not working on IE7

Posted: 30 Jun 2011, 20:27
by kukeltje
if you fully read this post, you see a reference to 3.0.M2-SNAPSHOT.... well guess what? See here...

Re: p:selectOneMenu not working on IE7

Posted: 30 Jun 2011, 21:23
by sulfonic
Thanks

Add the library to achieve Primefaces 3.0.M2 but I think the last jar went to svn is failing to open because I get NetBeans JAR as empty? help