You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Martin Dominguez <ma...@wbsgo.com> on 2010/09/07 12:20:10 UTC
TagCloud module AJAX problem
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TagCloud module AJAX problem
Posted by Martin Dominguez <ma...@wbsgo.com>.
Hi Florent,
Firtsly thanks for your answer.
Florent André-2 wrote:
>
> 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...
>
http://exampledomain.com/publication/modules/dojo/dojo/dojo.js loads
perfectly
Florent André-2 wrote:
>
> - you have some published documents ? ;)
>
Good question :) Yep, all documents are published.
Florent André-2 wrote:
>
> - no pipeline in your process require credentials ?
>
I think so, but.. maybe it is consulting something in authoring area...
Florent André-2 wrote:
>
> - seems to be something about NS, the pipe called by js return a well
> define xml ?
>
In authoring area it's pretty working, only fails in live area... when I
have time I will check it.
Thanks for your answers.
Salu2!
--
View this message in context: http://old.nabble.com/TagCloud-module-AJAX-problem-tp29641499p29675887.html
Sent from the Lenya - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: TagCloud module AJAX problem
Posted by florent andré <fl...@4sengines.com>.
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>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org