tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stevo Slavić <ssla...@gmail.com>
Subject Extending generic tiles 2 template
Date Tue, 08 Mar 2011 14:55:57 GMT
Hello Apache Tiles users,

I have a generic Tile definition

	<definition  name="*/*" extends="standard">
		<put-attribute name="pageTitle" type="string" value="{1}.{2}.title"
cascade="true"/>
		<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}.jsp" />
	</definition>

This one works fine for 90% of my Tiles 2 views (using Tiles 2.2.2
from Spring 3). For some views I need specific view preparer or to
redifine some attribute. Is there a way to extend such generic-named
Tile definition?

Also, can anyone please explain, or point me to some documentation,
what is the purpose of id attribute of a tile definition?

Regards,
Stevo.

Mime
View raw message