On Fri, Jul 1, 2011 at 4:37 AM, Thiago H. de Paula Figueiredo
<thiag...@gmail.com> wrote:
> On Fri, 01 Jul 2011 07:31:18 -0300, <p.stavrini...@albourne.com> wrote:
>
>> Hello everyone!
>
> Hi!
>
>> Is it possible to nest the output of variables, i.e.: something like:
>> <img src="${asset:context:images/${variable}/logo.gif}" />

No this is not supported, but you could inject the AssetSource service
into your component class and construct the "context:images/..."
string there instead.

Also, FYI, there's a binding prefix, "context:" that is simply the
same as "asset:context:".

>
> I don't think so. As far as I can remember, you can use symbol expansions,
> but not property ones in asset bindings.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and
> instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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

Reply via email to