Try enabling friendly urls for assets

<contribution configuration-id="tapestry.url.ServiceEncoders">
<asset-encoder id="asset" path="/assets"/>
</contribution>

On Tue, May 13, 2008 at 8:23 AM, abhilash <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I am using Tapestry4.1.5
> I have a custom widget.When i try to access my custom widget the javascript
> errors i am getting are as follows.
>
> GET
> http://localhost:8080/dentaprise/asset.svc?path=%2Fdojo-0.4.3-custom-4.1.5%2F../mywidgets/widget/__package__.js404
> (23ms)asset.svc (line 766)
> GET
> http://localhost:8080/dentaprise/asset.svc?path=%2Fdojo-0.4.3-custom-4.1.5%2F../mywidgets/__package__.js404
> (14ms)asset.svc (line 766)
> GET
> http://localhost:8080/dentaprise/asset.svc?path=%2Fdojo-0.4.3-custom-4.1.5%2F__package__.js404
> (14ms)asset.svc (line 766)
> symbol 'mywidgets.widget' is not defined after loading '__package__.js'
>
>
> what i understood from these errors is dojo is failing to locate my
> "mywidgets" module.I tried giving paths using dojo.registerModulePath but
> its throwing same exceptions.
> any ideas?
> Thanks in advance.
> --
> View this message in context: 
> http://www.nabble.com/problem-in-defining-dojo.registerModulePath-tp17201314p17201314.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

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

Reply via email to