hi,

you could provide an own binding for resolving your assets

eg. ${serverasset:style.css}

it think it was discussed some time ago on this mailing list .
also take a  look at http://wiki.apache.org/tapestry/Tapestry5HowTos

g,
kris



ciaranw <[EMAIL PROTECTED]> 
15.07.2008 17:27
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>


An
users@tapestry.apache.org
Kopie

Thema
[Possible SPAM Low] Different Assets depending on server name








I’m trying to implement a Tapestry Application where, depending on the 
server
name, it should return different assets based on that value. For example, 
if
a request comes in for server example1.com, it should serve up an asset
located under the example.app.example1 package, and for example2.com it
should serve up an asset located under the example.app.example2 package. 
Is
this at all possible? I thought about creating a new Binding for use in 
the
@Path annotation, but I’m having problems. Any advice?

Cheers

Ciaran
-- 
View this message in context: 
http://www.nabble.com/Different-Assets-depending-on-server-name-tp18468071p18468071.html

Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to