Portlet was working in IE7 with 4.1.2. Not anymore with 4.2

Hi!

When we try to load our portlet in IE7, wereceived this error message: "Element.prototype.selectNodes is null or is not an object" and nothing is displayed.
We don't have this error with Firefox where everything is almost working fine. We don't know if it's related for the problem but we have some listGrid widgets associated with a local dataSource and if we click on the columns headers to try to sort the data, we receive this error message (in BB debugger): "GENERIC: Javascript error: "oNode.ownerDocument has no properties". b:dataSource anonymous()".

                <b:listGrid
                    xmlns:xi="http://www.w3.org/2001/XInclude"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    rowClasses="rowClass1,rowClass2"
                    selectMultiple="false"
                    readonly="true"
            sortable="true"
            width="1000px"
                    id="results_grid"
                    name="results_grid">

            <b:dataSource
               e:behavior="b:localData"
               dataType="application/xml" >

               <b:dataContainer><xi:include href="<%= response.encodeURL(request.getContextPath()+ "/views/searchresults.xml") %>" />
               </b:dataContainer>
            </b:dataSource>
                    <b:listGridCol select="NOM" label="Nom" />
                    <b:listGridCol select="PRENOM" label="Prénom" />
            <b:listGridCol select="SPECIALITE" label="Spécialité" />
                    <b:listGridCol select="ADRESSE" label="Adresse" width="160px" />
                    <b:listGridCol select="TELEPHONE" label="Téléphone" />
                    <b:listGridCol select="REFERANT" label="Partenaire" width="40px" >
                    </b:listGridCol>
                    <b:listGridCol select="PRIVE" label="Privé" width="40px" >
                    </b:listGridCol>
                    <b:listGridCol select="COTE" label="Cote" dataType="number" width="40px" >
                    </b:listGridCol>
                    <b:listGridCol select="APPEL" label="Dernier appel" dataType="number" >
                    </b:listGridCol>
            <b:listGridCol select="DELAIS" label="Délais de rendez-vous" />
                </b:listGrid>

When we were using 4.1.2, everything was fine but the license file for the connector 4.1.2 is now expired. It could be an acceptable solution to rollback to 4.1.2 if possible. We need more details about the license if there is no other way.

Thanks for your help.

I added some code

I added some code

If I set the sortField

If I set the sortField attribute in the grid, the grid won't fill and I will receive the error message (1: GENERIC: Javascript error: "oNode.ownerDocument has no properties".).

Hi, Any chance the

Hi,

Any chance the prototypeJS framework is running in the same page? If so, this might cause your problem. Prototype does overwrite some stuff it should not touch. (Like the window.Element prototype) http://groups.google.com/group/prototype-core/browse_thread/thread/e5efe...

You maybe right. The portal

You maybe right.
The portal server implementation, JBoss, seems to use a prototype.js.

<SCRIPT src="/portal-ajax/dyna/prototype.js" type="text/javascript" _extended> </SCRIPT>

But with the same portlet and the same server on Firefox, it is working.

With JBoss 2.6.5.GA, the

With JBoss 2.6.5.GA, the portlet is visible with IE7 (yeah)! They upgraded their package to include the latest revision of prototype.js.

But we still have the same problem with the sorting when we click on the grid headers (FF and IE). Any hints?

Thanks.

J-L

Re: Portlet was working in IE7 with 4.1.2. Not anymore with 4.2

J-L,

Please provide us with some of your data being used. This would help us looking into the issue.

Sergey/

Data is a simple XML

Data is a simple XML file:

<?xml version="1.0" encoding="UTF-8"?>
<Results>
    <Row>
        <NOM>toto01LastName</NOM>
        <PRENOM>toto01FirstName</PRENOM>
        <STATUT>Inscrit-En exercice</STATUT>
        <SPECIALITE>Psychiatrie</SPECIALITE>
        <ADRESSE>toto01Address, Montréal QC toto01ZipCode</ADRESSE>
        <TELEPHONE>toto01Phone</TELEPHONE>
        <POSTAL>toto01ZipCode</POSTAL>
        <FAX>null</FAX>
        <EMAIL>null</EMAIL>
        <PRIVE>false</PRIVE>
        <REFERANT>false</REFERANT>
        <COTE>3</COTE>
        <APPEL>2008-02-06 00:00:00.0</APPEL>
        <DELAIS>7</DELAIS>
        <id>177175</id>
        <city>Montreal</city>
        <state>QC        </state>
        <zip>toto01ZipCode   </zip>
        <latitude>40.54434</latitude>
        <longitude>70.6047</longitude>
    </Row>
    <Row>
        <NOM>toto02LastName</NOM>
        <PRENOM>toto02FirstName</PRENOM>
        <STATUT>Inscrit-En exercice</STATUT>
        <SPECIALITE>Médecine de famille ou omnipratique</SPECIALITE>
        <ADRESSE>toto02Address, Montréal QC toto02ZipCode</ADRESSE>
        <TELEPHONE>toto02Phone</TELEPHONE>
        <POSTAL>toto02ZipCode</POSTAL>
        <FAX>null</FAX>
        <EMAIL>null</EMAIL>
        <PRIVE>false</PRIVE>
        <REFERANT>false</REFERANT>
        <COTE>3</COTE>
        <APPEL>2008-03-14 00:00:00.0</APPEL>
        <DELAIS>14</DELAIS>
        <id>172902</id>
        <city>Montreal</city>
        <state>QC        </state>
        <zip>toto02ZipCode   </zip>
        <latitude>40.57925</latitude>
        <longitude>70.5704</longitude>
    </Row>
<Results>

Re: Data is a simple XML

We are looking into the issue. As it was mentioned issue is caused by running prototype.js aside.

Re: dataBindinding was working in 4.1.2. Not anymore with 4.2

The problem in the collision with prototype.js has been resolved. You can expect a fix in CF 4.2.1 in the coming 2 weeks.

Thanks!

Thanks!

Is 4.2.1 available?

Is 4.2.1 available?

Everything is working

Everything is working correctly with the new revision.
Thanks!

Re: Everything is working

Nice hearing!