2007-12-30から1日間の記事一覧

ネストしたTile

Tileの一部分でさらに別のTile定義を使用するような場合、ネストして使用することになる。bodyをさらに top、center、bottom に分割する場合tiles.xmlで分割部分のdefinitionをし、 <definition name="default.layout_body" template="/tiles/layout_body.jsp"> <put-attribute name="top" type="string"></put-attribute> <put-attribute name="center" type="string">…</put-attribute></definition>