<p:tree>, IE 7 and "error 80020101"

UI Components for JSF
Post Reply
User avatar
jim@jimtough.com
Posts: 142
Joined: 03 Jun 2011, 18:06
Location: Canada

02 Aug 2011, 15:18

Is anyone else getting the following JavaScript error with IE 7 when using the <p:tree>?
Line: 17
Char: 5725
Error: Could not complete the operation due to error 80020101.
Code: 0
with the corresponding error:
Line: 1
Char: 1
Error: Object doesn't support this property or method
Code: 0
What kills me is that the error does not happen every time, but it happens frequently enough to be a real problem. This is occurring under IE 7.
PF 3.0,
Mojarra 2.1.4,
Tomcat 7.0.14,
Eclipse Indigo,
IE 7, Chrome

Image
http://stackoverflow.com/users/346112/jim-tough

Would rather be a Decepticon...

iv12an
Posts: 33
Joined: 16 Nov 2010, 16:59

02 Aug 2011, 16:10

I have the same problem. You can se more datails on this post : http://primefaces.prime.com.tr/forum/vi ... =3&t=13001

Ivan
Ivan

PrimeFaces-5.2-SNAPSHOT, PrimeFaces Extensions 3.0.0
GlassFish 4.1, Mojarra 2.2
JUEL, OmniFaces 2.0

User avatar
jim@jimtough.com
Posts: 142
Joined: 03 Jun 2011, 18:06
Location: Canada

02 Aug 2011, 16:24

Added a comment and link to this forum topic to the existing defect:

http://code.google.com/p/primefaces/iss ... il?id=2271
PF 3.0,
Mojarra 2.1.4,
Tomcat 7.0.14,
Eclipse Indigo,
IE 7, Chrome

Image
http://stackoverflow.com/users/346112/jim-tough

Would rather be a Decepticon...

User avatar
jim@jimtough.com
Posts: 142
Joined: 03 Jun 2011, 18:06
Location: Canada

02 Aug 2011, 16:49

The code in my page looks like this:

Code: Select all

    <p:toolbar id="treeToolbar">
        ...toolbar content...
    </p:toolbar>

    <p:outputPanel>
        <h:outputText value="Selected Node: " />
        <h:outputText 
            id="selectedNodeDescription"
            value="#{theBean.selectedNodeDescription}" />
    </p:outputPanel>

    <p:tree
            id="theTree"
            value="#{theBean.expressionTreeRoot}"
            var="#{node}"
            selectionMode="single">

        <p:ajax event="expand" listener="#{theBean.onNodeExpand}" />
        <p:ajax event="collapse" listener="#{theBean.onNodeCollapse}" />
        <p:ajax 
            event="select" 
            listener="#{theBean.onNodeSelect}"
            update="selectedNodeDescription treeToolbar" />
        <p:ajax 
            event="unselect" 
            listener="#{theBean.onNodeUnselect}"
            update="selectedNodeDescription treeToolbar" />

    </p:tree>
PF 3.0,
Mojarra 2.1.4,
Tomcat 7.0.14,
Eclipse Indigo,
IE 7, Chrome

Image
http://stackoverflow.com/users/346112/jim-tough

Would rather be a Decepticon...

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 44 guests