tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Smith, David W" <david.w.sm...@bankofamerica.com>
Subject RE: wildcards
Date Mon, 05 Oct 2009 13:42:57 GMT
Yet you can have a wildcard in the template definition. Isn't the parent
just an extension of the template.

Example from the tiles web site.

the wildcard-based style (available by default):

<definition name="test.definition*.message*" template="/layout{1}.jsp">
    <put-attribute name="title"  value="This definition has a message:
{2}."/>
    <put-attribute name="header" value="/header.jsp"/>
    <put-attribute name="body"   value="/body.jsp"/>
</definition>

David

Mime
View raw message