Just a note, see inside:

2009/10/5 Smith, David W <[email protected]>:
> Are wildcards allowed in the extends attribute of a tiles definition?
>      <definition name="sales_rates_application.layout"
> extends="general.logon.layout">
>
>            <put-attribute name="title_page_name" value="Sales Rates" />
>
>      </definition>
>
>      <definition name="*_kickoff.page"
> extends="sales_rates_application.layout">
>
>            <put-attribute name="body"
> value="/pages/{1}/{1}_kickoff.jsp" />
>
>      </definition>

The above works, but this not:

      <definition name="*_application.layout"
 extends="general.logon.layout">

            <put-attribute name="title_page_name" value="Sales Rates" />

      </definition>

      <definition name="*_kickoff.page"
 extends="sales_rates_application.layout">

            <put-attribute name="body"
 value="/pages/{1}/{1}_kickoff.jsp" />

      </definition>

This because Tiles tries to resolve a parent definition when loading a
wildcard-based definition, that does not find.

Antonio

Reply via email to