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/13 23:34:20 UTC
[jira] Created: (TAPESTRY-1189) Dojo related issue
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
[jira] Commented: (TAPESTRY-1189) Dojo related issue
Posted by "alex d (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1189?page=comments#action_12458588 ]
alex d commented on TAPESTRY-1189:
----------------------------------
Nevermind , is probably my configuration messed up.
Just in case , this is what i get :
java.lang.NoSuchMethodError: org.apache.tapestry.spec.IComponentSpecification.addElementEventListener(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZ)V
at org.apache.tapestry.annotations.EventListenerAnnotationWorker.peformEnhancement(EventListenerAnnotationWorker.java:73)
> 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
> Assigned To: Jesse Kuhnert
> Fix For: 4.1.1
>
>
> 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
[jira] Resolved: (TAPESTRY-1189) Dojo related issue
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1189?page=all ]
Jesse Kuhnert resolved TAPESTRY-1189.
-------------------------------------
Resolution: Fixed
Fixed bug in dojo build. Should work in next deploy. (probably an hour)
> 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
> Assigned To: Jesse Kuhnert
> Fix For: 4.1.1
>
>
> 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
[jira] Commented: (TAPESTRY-1189) Dojo related issue
Posted by "alex d (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1189?page=comments#action_12458585 ]
alex d commented on TAPESTRY-1189:
----------------------------------
I gave it a try but the snapshot is broken because ,if i did not miss something on the way , the ComponentSpecification is not in sync with the IComponentSpecification.
> 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
> Assigned To: Jesse Kuhnert
> Fix For: 4.1.1
>
>
> 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
[jira] Commented: (TAPESTRY-1189) Dojo related issue
Posted by "alex d (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1189?page=comments#action_12458607 ]
alex d commented on TAPESTRY-1189:
----------------------------------
yup , working like a charm!
> 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
> Assigned To: Jesse Kuhnert
> Fix For: 4.1.1
>
>
> 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
[jira] Updated: (TAPESTRY-1189) Dojo related issue
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1189?page=all ]
Jesse Kuhnert updated TAPESTRY-1189:
------------------------------------
Fix Version/s: 4.1.1
Ok, I do see this now. Thanks for the report.. Fix will come soon.
> 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
> Assigned To: Jesse Kuhnert
> Fix For: 4.1.1
>
>
> 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
[jira] Resolved: (TAPESTRY-1189) Dojo related issue
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ 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
[jira] Reopened: (TAPESTRY-1189) Dojo related issue
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1189?page=all ]
Jesse Kuhnert reopened TAPESTRY-1189:
-------------------------------------
Assignee: Jesse Kuhnert
> 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
> Assigned To: Jesse Kuhnert
> Fix For: 4.1.1
>
>
> 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
[jira] Commented: (TAPESTRY-1189) Dojo related issue
Posted by "alex d (JIRA)" <ta...@jakarta.apache.org>.
[ 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