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
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é :
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
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
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
:)
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
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
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
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,