Interesting!  Is there a URL to some documentation or examples or are
there any examples of Tile Controllers in any of the packages?

So in theory, if we put a custom Tile Controller on the primary Tile
definition, that Controller class could inspect down into the Tile tree
for that view and set page-level values that could be accessed when the
JSP is rendered?

-Ryan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Antonio Petrelli
Sent: Tuesday, September 30, 2008 11:51 AM
To: Struts Users Mailing List
Subject: Re: Inspect Tile Definitions

2008/9/30 Shelley, Ryan <[EMAIL PROTECTED]>:
> Thanks for the prompt response!  We're using Spring Controllers and
not
> Struts Controllers.  Tiles is the only Struts component we're using.
> Unfortunately, we have hundreds of Spring Controllers, and it wouldn't
> be feasible to refactor them all to use a separate Controller type.

No wait, Tiles controllers are a totally different concept (in fact
the name was pretty unfortunate, in Tiles 2 we renamed it into
"preparer").
The Tiles controller is specified into the XML definition files, for
example:

<definition name="my.definition" page="/my/page.jsp"
controllerClass="my.package.MyControllerClass">
...
</definition>

HTH
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to