Hello,

  Tiles support controller for each individual Tile.
  This controller's role is to prepare data to be rendered by the tile.
  Syntax is as follow :

 <definition name="examples.rssChannel.offline.body"
path="/examples/tiles/rssChannels.jsp"
     controllerUrl="/examples/controller/rssChannel.do" >
  ..
  or

 <definition name="examples.rssChannel.offline.body"
path="/examples/tiles/rssChannels.jsp"
     controllerClass="a.class.Name" >

  You can find an example of use in tiles-doc.war or struts-tiles.war :

   *   /examples/rssChannels.jsp
   *   / test/testController.jsp

  More documentation is needed ;-(

  Cedric

Jon Ferguson wrote:

> Hey guys,
>
> I read in the tiles doc that you can associate a controller with each tile.
> However, I cannot find an example of how this is done.
>
> Any pointers?
>
> Thanks in advance,
> Jon
>
>   ------------------------------------------------------------------------
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


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

Reply via email to