tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stanlick <stanl...@gmail.com>
Subject Re: Struts 2 and Tiles 2.1.0
Date Tue, 11 Nov 2008 20:09:55 GMT

Okay, I nearly have things wired together!  I read, stitched and read some
more and sort of have things working.  However, when I attempt to leverage a
wildcard definition, I receive the following message:

12:03:09,571 DEBUG org.apache.tiles.impl.BasicTilesContainer.render():384 -
Render request recieved for definition 'myapp.tilecore.titleFred Title'
12:03:09,587  WARN org.apache.tiles.impl.BasicTilesContainer.render():392 -
Unable to find the definition 'myapp.tilecore.titleFred Title'

My tiles definition is as follows:

	<definition name="myapp.tile*.title*" extends="myapp.homePage">
		<put-attribute name="content" value="{1}"/>
		<put-attribute name="title"	value="{2}"/>
	</definition>

And here is the Struts action mapping:

		<action name="tile-*">
			<result>myapp.tile{1}.titleFred Title</result>
		</action>


Any idea what might be going on?

Peace,
Scott
-- 
View this message in context: http://www.nabble.com/Struts-2-and-Tiles-2.1.0-tp20402071p20447073.html
Sent from the tiles users mailing list archive at Nabble.com.


Mime
View raw message