You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jun Tsai <ju...@gmail.com> on 2008/06/01 06:02:08 UTC
[T5]How to change the asset url prefix?
My all assets (images,javascripts) are placed on other server machine.I want
to change the T5 application's asset prefix url.How to?
Thanks.
--
regards,
Jun Tsai
Re: [T5]How to change the asset url prefix?
Posted by Sven Homburg <ho...@googlemail.com>.
i forgotten:
the URIAssetAliasManager is only availble in the t5components-SNAPSHOT
2008/6/1 Sven Homburg <ho...@googlemail.com>:
> the t5components library contains an URIAssetAliasManager
> let you point to asset location via unified resource identifier<http://en.wikipedia.org/wiki/Uniform_Resource_Identifier>
>
> sample:
> @Inject
> @Path("uri:ftp://somehost/mypic.png")
> private Asset myRemoteAsset
>
> 2008/6/1 Jun Tsai <ju...@gmail.com>:
>
> My all assets (images,javascripts) are placed on other server machine.I
>> want
>> to change the T5 application's asset prefix url.How to?
>>
>> Thanks.
>> --
>> regards,
>> Jun Tsai
>>
>
>
>
> --
> with regards
> Sven Homburg
> http://tapestry5-components.googlecode.com
> http://chenillekit.googlecode.com
--
with regards
Sven Homburg
http://tapestry5-components.googlecode.com
http://chenillekit.googlecode.com
Re: [T5]How to change the asset url prefix?
Posted by Sven Homburg <ho...@googlemail.com>.
the t5components library contains an URIAssetAliasManager
let you point to asset location via unified resource
identifier<http://en.wikipedia.org/wiki/Uniform_Resource_Identifier>
sample:
@Inject
@Path("uri:ftp://somehost/mypic.png")
private Asset myRemoteAsset
2008/6/1 Jun Tsai <ju...@gmail.com>:
> My all assets (images,javascripts) are placed on other server machine.I
> want
> to change the T5 application's asset prefix url.How to?
>
> Thanks.
> --
> regards,
> Jun Tsai
>
--
with regards
Sven Homburg
http://tapestry5-components.googlecode.com
http://chenillekit.googlecode.com