You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2006/12/13 23:56:21 UTC
[jira] Resolved: (TAPESTRY-1189) Dojo related issue
[ http://issues.apache.org/jira/browse/TAPESTRY-1189?page=all ]
Jesse Kuhnert resolved TAPESTRY-1189.
-------------------------------------
Resolution: Incomplete
Not sure why that would happen but you shouldn't need to call dojo.require() for any widgets anymore. Just make sure it has either a dojoType attribute or you give it the right name when constructing it.
Of course if this happens when doing that method as well that's a totally different story..
> 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