aren't tiles definitions more layout oriented and more static in nature?
Where would you actually use the "title" attribute?

<tiles:insertAttribute name="title" />






On 6 September 2016 at 18:31, Lukasz Lenart <[email protected]> wrote:

> Hi,
>
> I'm working on solution to add support for directly fetching I18N keys
> from Struts properties instead of using multiple tiles.xml
> definitions. It will be possible to define a key directly in tiles.xml
> as follow
>
> <definition name="home" extends="logged-in">
>   <put-attribute name="title" expression="S2:home.title"/>
>   <put-attribute name="body" value="/WEB-INF/tiles/home.jsp"/>
> </definition>
>
> and S2:home.title will be first evaluated as a key in resource bundle
> and then as a value from ValueStack. Does it make sense?
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to