Here's a TilesListener that works for me. It could probably use some polishing and a unit test, but it works for me.
http://issues.apache.org/bugzilla/attachment.cgi?id=17721 >From bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=38255 Matt On 2/16/06, Matt Raible <[EMAIL PROTECTED]> wrote: > <quote> > Matt, > > Just as an addendum, I have plans to eventually implement a listener > to handle the stuff being done by TilesServlet now. Unfortunately, > It's a pretty good ways down the list, which you can see here: > http://wiki.apache.org/struts/StandaloneTiles. I'm hoping very soon > to actually have some time to start working this list. > > Greg > </quote> > > Sorry, unsubscribed from the list - but saw your message via a Nabble > Alert. Where can I checkout the Standalone Tiles module? The one I > saw off of http://struts.apache.org/struts-tiles has > org.apache.struts.tiles and the tiles-core.jar I found is > org.apache.tiles. I'd like to try and create the listener. > > Thanks, > > Matt > > > On 2/16/06, Matt Raible <[EMAIL PROTECTED]> wrote: > > Nevermind, I figured it out. > > > > http://raibledesigns.com/page/rd?anchor=how_to_use_tiles_with > > > > Thanks, > > > > Matt > > > > On 2/15/06, Matt Raible <[EMAIL PROTECTED]> wrote: > > > I'd like to use Tiles with WebWork for reasons outlined on my blog: > > > > > > http://raibledesigns.com/page/rd?entry=large_sites_powered_by_java > > > > > > I'm able to get the Tiles tag library to work, because it's > > > essentially JSPs loading other JSPs at that point. Creating a > > > tiles-config.xml file is a much better solution IMO - then you don't > > > need to create JSP-loading JSPs. > > > > > > I tried to get WebWork + Tiles working (using a nightly build), but no > > > dice. The TilesFilter doesn't seem to load the definitions, so I tried > > > using both the TilesServlet and the TilesFilter. TilesFilter is mapped > > > to *.tile and all my view names in xwork.xml map to viewname.tile. I'm > > > guessing the problem is WebWork communicating the name of the tiles > > > definition to the filter. > > > > > > Is it possible to integrate these two frameworks? > > > > > > Thanks, > > > > > > Matt > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]