[opencms-dev] GWT problem - AJAX - Type Error

Filip Kratochvil filip.kratochvil at nelasoft.cz
Fri Apr 3 10:40:26 CEST 2015


Hi guys,

 

we made category filter in our JSP where we load results using AJAX.

 

Problem?

 

We got TypeError with every filtering and directedit isn't possible (bullyes
for ADE aren't shown):

 

(TypeError) description: Unable to get property 'removeChild' of undefined
or null reference number: -2146823281 stack: TypeError: Unable to get
property 'removeChild' of undefined or null reference at $vb
(http://cms7.nelasoft.cz/opencms/resources/ade/containerpage/B807A442C884184
DE1885862E63B1C98.cache.html:4391:19) at Hy
(http://cms7.nelasoft.cz/opencms/resources/ade/containerpage/B807A442C884184
DE1885862E63B1C98.cache.html:8198:87) at kVc
(http://cms7.nelasoft.cz/opencms/resources/ade/containerpage/B807A442C884184
DE1885862E63B1C98.cache.html:6671:25) at pVc
(http://cms7.nelasoft.cz/opencms/resources/ade/containerpage/B807A442C884184
DE1885862E63B1C98.cache.html:9920:14357) at at
(http://cms7.nelasoft.cz/opencms/resources/ade/containerpage/B807A442C884184
DE1885862E63B1C98.cache.html:8750:74) at XCd
(http://cms7.nelasoft.cz/opencms/resources/ade/containerpage/B807A442C884184
DE1885862E63B1C98.cache.html:2377:24) at Rzd
(http://cms7.nelasoft.cz/opencms/resources/ade/containerpage/B807A442C884184
DE1885862E63B1C98.cache.html:9926:5421) at Yzd
(http://cms7.nelasoft.cz/opencms/resources/ade/containerpage/B807A442C884184
DE1885862E63B1C98.cache.html:9926:6723) at Bc
(http://cms7.nelasoft.cz/opencms/resources/ade/containerpage/B807A442C884184
DE1885862E63B1C98.cache.html:9902:10607) at Anonymous function
(http://cms7.nelasoft.cz/opencms/resources/ade/containerpage/B807A442C884184
DE1885862E63B1C98.cache.html:5115:40) __gwt$exception: : Unable to get
property 'removeChild' of undefined or null reference

 

It´s similar architecture like default list module (so it's quite easy -
select categories and call JSP with correct SOLR query using AJAX), but
there is small difference:

 

Results aren´t appended in to the "result <div>", but result <div> is
completely redrawn with every filtering. I think it can be problem? But how
to solve it?

 

Thank you very much for the feedback.

 

--
Regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
E-mail:  <mailto:filip.kratochvil at nelasoft.cz> filip.kratochvil at nelasoft.cz
Web:  <http://www.nelasoft.cz/> www.nelasoft.cz

Twitter:  <https://twitter.com/NELASOFT> @NELASOFT

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20150403/981ea08c/attachment.htm>


More information about the opencms-dev mailing list