tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Re: Can tiles refer to actions?
Date Thu, 05 Jun 2008 15:03:23 GMT
2008/6/5 Anders Schürmann <anderss@stud.cs.uit.no>:
>           <put-attribute name="mainNav" value="activities.action" />

You have to add the "/" before the name of the action.
For instructions on how to use "included" Struts actions see:
https://issues.apache.org/struts/browse/TILES-232

> The tiled page I'm trying to crate should contain a dynamically generated menu in addition
to some dynamic content on another tile. Is there a better way to achieve this?

Yes, ViewPreparer:
http://tiles.apache.org/tutorial/advanced/preparer.html

Antonio

Mime
View raw message