TagCloud module AJAX problem

Martin Dominguez <[email protected]> Tue, 7 Sep 2010 03:20:10 -0700 (PDT)
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
Hi all,

I've been testing Tag Cloud module and I'm trying develop my own module
based in Tag Cloud module. It works fine in authoring area, but when I try
to see it in live area I see nothing. I checked the Javascript Console and I
found this:
Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]"  nsresult:
"0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame ::
http://myipaddress:8888/modules/dojo/dojo/dojo.js :: anonymous :: line 16" 
data: no]

I was searching about this in Google and it seems an Ajax problem, mybe in
DOJO module... I'll keep looking for a solution, but It will be nice if
anyone could help me.

Extra information: 
 - I included necesary contribution modules
 - I included in head section:
        <i:include src="cocoon://modules/javascript/head.xml"
strip-root="true"/>
        <script type="text/javascript" src="/modules/dojo/dojo/dojo.js"
           djConfig="parseOnLoad: true, bindEncoding: 'utf-8', locale:
'{$language}'"/>
        <script type="text/javascript"
src="/modules/tagcloud/javascript/TagCloud.js"/>

 - I included in body section:
        <div dojoType="lenya.tagcloud.TagCloud" pub="'{$publication-id}'"
area="'{$area}'" lang="'{$language}'"><xsl:comment/></div>

 - In live area I see this:
        <div area="'live'" pub="'mypublication'"
dojotype="lenya.tagcloud.TagCloud" lang="'es'"><!----></div>
-- 
View this message in context: http://old.nabble.com/TagCloud-module-AJAX-problem-tp29641499p29641499.html
Sent from the Lenya - Users mailing list archive at Nabble.com.