It doesn't work, same result with:
<contribution configuration-id="tapestry.asset.UnprotectedAssets">
       <unprotected-resource contains="^/js/dojo/" />
   </contribution>

On 4/17/07, Andreas Andreou <[EMAIL PROTECTED]> wrote:

i thought this was just for classpath assets!

On 4/17/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
>
> Add the path to your custom dojo locations to the unprotected assets
> configuration and it'll work - that's why it's happening:
>
>
>
http://tapestry.apache.org/tapestry4.1/tapestry-framework/hivedoc/config/tapestry.asset.UnprotectedAssets.html
>
> On 4/17/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote:
> >
> > Andreas,
> > you got the point
> >
> > one should be able to:
> > <asset name=".." path="..." strip-jsession="ognl:true"/>
> >
> >
> >
> > On 4/17/07, Andreas Andreou <[EMAIL PROTECTED]> wrote:
> > >
> > > http://issues.apache.org/jira/browse/TAPESTRY-950 is a bit
related...
> > > I think it was resolved by Jesse by making the asset service strip
> > > those...
> > >
> > > But since you have changed the location of dojo (to be in your
> context)
> > > the asset service isn't handling it any more.
> > >
> > > An idea is to create an IAsset (
> > >
> > >
> >
>
http://tapestry.apache.org/tapestry4.1/tapestry-framework/apidocs/org/apache/tapestry/IAsset.html
> > > )
> > > decorator that strips the jsessionid
> > > Another idea is to disable url-rewriting only for the /js path...
> > >
> > > Here's an interesting resource i was once given by Patrick Moore :
> > > http://randomcoder.com/articles/jsessionid-considered-harmful
> > >
> > >
> > >
> > > On 4/17/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote:
> > > >
> > > > no no, I'm just using mvn jetty:run
> > > >
> > > > On 4/17/07, Martino Piccinato <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > I don't think the right solution is turning off url rewriting:
do
> > you
> > > > have
> > > > > a
> > > > > web server (e.g. apache) in fron of your servlet container? in
> this
> > > case
> > > > > the
> > > > > cause might be apache not understanding/discarding the part of
the
> > > path
> > > > > where the semicolon (";") is used, a couple of url rewrite
should
> do
> > > the
> > > > > work.
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
> > > Tapestry / Tacos developer
> > > Open Source / JEE Consulting
> > >
> >
>
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>



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

Reply via email to