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>
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
13 May, 2008 - 18:02 — Jalopy_00I added some code
If I set the sortField
13 May, 2008 - 20:28 — Jalopy_00If 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
14 May, 2008 - 09:29 — SjoerdHi,
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
14 May, 2008 - 23:33 — Jalopy_00You maybe right.
The portal server implementation, JBoss, seems to use a prototype.js.
But with the same portlet and the same server on Firefox, it is working.
With JBoss 2.6.5.GA, the
16 May, 2008 - 21:54 — Jalopy_00With 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
19 May, 2008 - 15:45 — SergeyJ-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
20 May, 2008 - 23:45 — Jalopy_00Data is a simple XML file:
<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
21 May, 2008 - 17:44 — SergeyWe 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
22 May, 2008 - 10:27 — SergeyThe 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!
22 May, 2008 - 16:00 — Jalopy_00Thanks!
Is 4.2.1 available?
9 June, 2008 - 19:49 — Jalopy_00Is 4.2.1 available?
Everything is working
17 June, 2008 - 15:55 — Jalopy_00Everything is working correctly with the new revision.
Thanks!
Re: Everything is working
17 June, 2008 - 16:27 — SergeyNice hearing!