tiles-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Re: Access definition name + other proeprties from jsp context
Date Tue, 15 Jul 2008 15:07:17 GMT
2008/7/15 Stewart Cambridge <stewart.cambridge@gmail.com>:
> <c:out value="${definition.name}"/> <!-- renders "my.tile" -->

The name of a definition? The big problem is that there isn't a single
definition, when a definition is rendered. A definition could be
composed of several definitions, so what is *the* definition?
IMO you can solve your problem by adding a preparer, that puts the
definition name in request context (but for this please ask the Tiles
Users mailing list).

Antonio

Mime
View raw message