Re: TagCloud module AJAX problem
florent andré <[email protected]> Tue, 07 Sep 2010 14:35:12 +0200
| Newsgroups | gmane.comp.cms.lenya.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Martin,
Don't try this module for now... so just some random ideas :
- the dojo.js correctly loaded ? <script type="text/javascript"
src="/modules/dojo/dojo/dojo.js"..> not sure on this src definition...
- you have some published documents ? ;)
- no pipeline in your process require credentials ?
- seems to be something about NS, the pipe called by js return a well
define xml ?
HTH,
Any patch on it is very welcome.
On 09/07/2010 12:20 PM, Martin Dominguez wrote:
>
> 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>