andy,
as usual you save me :) but a last thing: what's wrong with:

dojo.registerModulePath("jfly.edt", "/asset.svc?path=%2Fjs%2Fjfly%2Fedt%2F");
dojo.require("jfly.edt.*");

Firefox firebug says:
jfly is not defined
document.edtEventHandler['tableForm'] = new jfly.edt.EdtEventHandler...


Thhe .js is in

/asset.svc?path=%2Fjs%2Fjfly%2Fedt%2Fedt.js

and has:
dojo.require("dojo.collections.*");

dojo.provide("jfly.edt.EdtEventHandler");
dojo.provide("jfly.edt.CellPosition");


kiuma


On 2/6/07, andyhot <[EMAIL PROTECTED]> wrote:

You have to unprotect those assets... Here's an example:

http://tacos.sourceforge.net/tacos4.1/tacos-core/hivedocs/index.html

Andrea Chiumenti wrote:
> Hello it seems that dojo.require does not work with Asset provided by
jar
> libs.
>
> I think that the problem is with digest, in fact  the two assets
> mylib.jar:/js/jfly/edt/ and mylib.jar:/js/jfly/edt/edt.js are rendered
> as:
>
>
/asset.svc?digest=d41d8cd98f00b204e9800998ecf8427e&path=%2Fjs%2Fjfly%2Fedt%2F
>
>
>
/asset.svc?digest=b1376bfb2d3b7c66ddd0fcf0d2a463a8&path=%2Fjs%2Fjfly%2Fedt%2Fedt.js
>
>
> if my javascript is:
>
> dojo.registerModulePath("jfly.edt",
>
"/asset.svc?digest=d41d8cd98f00b204e9800998ecf8427e&path=%2Fjs%2Fjfly%2Fedt%2F");
>
> dojo.require("jfly.edt.*");
>
> it doesn't work.
>
> How can I solve this problem ?
>
> Thx,
> kiuma
>


--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to