You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "alex d (JIRA)" <ta...@jakarta.apache.org> on 2006/12/14 00:46:21 UTC

[jira] Commented: (TAPESTRY-1189) Dojo related issue

    [ http://issues.apache.org/jira/browse/TAPESTRY-1189?page=comments#action_12458309 ] 
            
alex d commented on TAPESTRY-1189:
----------------------------------

I commented the line dojo.require("dojo.widget.RichText") and i wrote the line :

var rich  = dojo.widget.createWidget("RichText");

i get the error : 

[SyntaxError: unterminated string literal, file: http://localhost:8080/assets/static/dojo/dojo.js, line: 95]
FATAL exception raised: dojo.ns.Ns.resolve: module 'dojo.widget.RichText' not found after loading via namespace 'dojo'

Firstly i got the error  when i tried

  var editor=dojo.widget.createWidget("TreeEditor"); 

and i narrowed to RichText.

I also tried the same thing with tapestry snapshot..


> Dojo related issue
> ------------------
>
>                 Key: TAPESTRY-1189
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1189
>             Project: Tapestry
>          Issue Type: Bug
>          Components: XHR/dhtml/Ajax
>    Affects Versions: 4.1.1
>         Environment: Own built jar using the latest version .  jetty , linux , firefox1.5
>            Reporter: alex d
>
> In a workable environment i inserted 
> dojo.require("dojo.widget.RichText");
> and i got the error : 
> DEBUG: failed loading /assets/static/dojo/src/widget/RichText.js with error: [SyntaxError: unterminated string literal, file: http://localhost:8080/assets/static/dojo/dojo.js, line: 95]
> FATAL exception raised: Could not load 'dojo.widget.RichText'; last tried '__package__.js'
> When i remove the dojo.require("dojo.widget.RichText");  everything works again.
> Since i'm using my own built jar i'm not certain is really a bug or  a mistake i made.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org