Re: T5: Custom asset locator?

2008-03-31 Thread Andreas Pardeike
Robert, It's not about security and only partial about pretty url's. The thing is that I am building a meta site which will host a bunch of sites that other companies can design. Since this will be a portal, I provide basic functions like login, basket, search etc as components which then will

RE: T5: Custom asset locator?

2008-03-28 Thread Cordenier Christophe
Hello I'm not sure this can help, this is just an idea, but maybe it would be easier to create a new type of binding Factory upon the AssetBinding factory to add dynamic datas. Best regards, Christophe. -Message d'origine- De : Andreas Pardeike [mailto:[EMAIL PROTECTED] Envoyé :

Re: T5: Custom asset locator?

2008-03-28 Thread Andreas Pardeike
Thanks Christope, but it's not quite what I want. To illustrate my problem, take a look at the request headers I want to process: GET /assets/i/test.gif HTTP/1.1 Host: www.SITE_A.com and GET /assets/i/test.gif HTTP/1.1 Host: www.SITE_B.com If I just create my own binding, the request urls

RE: T5: Custom asset locator?

2008-03-28 Thread Cordenier Christophe
And what about a custom AssetDispatcher ? -Message d'origine- De : Andreas Pardeike [mailto:[EMAIL PROTECTED] Envoyé : vendredi 28 mars 2008 15:22 À : Tapestry users Objet : Re: T5: Custom asset locator? Thanks Christope, but it's not quite what I want. To illustrate my problem, take

Re: T5: Custom asset locator?

2008-03-28 Thread Andreas Pardeike
Christophe wrote: And what about a custom AssetDispatcher ? -Message d'origine- De : Andreas Pardeike [mailto:[EMAIL PROTECTED] Envoyé : vendredi 28 mars 2008 15:22 À : Tapestry users Objet : Re: T5: Custom asset locator? Thanks Christope, but it's not quite what I want. To illustrate my problem

RE: T5: Custom asset locator?

2008-03-28 Thread Cordenier Christophe
:) Christophe -Message d'origine- De : Andreas Pardeike [mailto:[EMAIL PROTECTED] Envoyé : vendredi 28 mars 2008 15:52 À : Tapestry users Objet : Re: T5: Custom asset locator? Yes, I think that would work. Only problem there is that I still want to have all benefits of caching

Re: T5: Custom asset locator?

2008-03-28 Thread Robert Zeigler
Christophe wrote: And what about a custom AssetDispatcher ? -Message d'origine- De : Andreas Pardeike [mailto:[EMAIL PROTECTED] Envoyé : vendredi 28 mars 2008 15:22 À : Tapestry users Objet : Re: T5: Custom asset locator? Thanks Christope, but it's not quite what I want. To illustrate my

Re: T5: Custom asset locator?

2008-03-28 Thread Andreas Pardeike
Robert , Just coded that and it (sort of) works. The problem is, as Chris has mentioned, that T5 complains about the assets being not present. And when I dodge this by simply creating my own prefix, lets say '/host_assets/' and fall back to not using assets at all, then my servlet container

Re: T5: Custom asset locator?

2008-03-28 Thread Robert Zeigler
Question: is the crux of the matter pretty urls, or is the cruz of the matter security? If the crux is pretty urls, then we should think about this some more... trying to map a single url onto multiple resources, and cache all of those resources seems pretty tricky. If, on the other hand,