Hi all,

I used to have (in my .tml):

<img src="${asset:image.png}" ... />

which of course worked fine.

To support multiple colours I need a little bit more flexibility so I
tried to do

<img src="${asset:image_${variable}.png}" ... />

which failed miserably because T5 doesn't do variable expansion inside
variable expansions. Not entirely unreasonable, I suppose. :-)

I had a look at T5's Request object but it doesn't tell me the asset
path (AFAICT). How do I do this without completely hard coding the
asset path?

Cheers,
Hilco

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to