Ok, this has been implemented and should be available in maven2 form at some
point later today. (Good idea! ;) )

To have something staticly served from the asset service you can contribute
a regex pattern to the hivemind configuration point "
tapestry.asset.UnprotectedAssets" .

For example, you could include a single image on the classpath with:

<contribution configuration-id="tapestry.asset.UnprotectedAssets">
 <unprotected-resource contains="com/acme/foo/bar.png" />
</contribution>

On 7/21/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:

Hmm. I've done something like this for 4.1, but still have the original
root md5 hash sitting out on the path. There really is no reason to have it
there I guess. (in this specific instance only)

I've added an "unprotected " resources hivemind configuration point that
allows you to tell the Asset service which resources it doesn't need to
protect via md5 hashes.


On 7/21/06, Josh Long <[EMAIL PROTECTED]> wrote:
>
> Essentially, I have a bevy of components that reference things via the
> asset mechanims. Is there anyway to get tapestry 3 (in this case,
> though Id like to know the 4.0 solution if possible, as well) to not
> create a hash and to instead simply write out the url without the sp
> parameter and such affixed? this is causing an issue for my .script
> files which in turn generate script includes which in turn are
> redownloaded on every page because the path to the .js isnt constant
> because of the service parameter...
>
> thanks in advance,
>
> Josh
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.




--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to