You are a kind man Wes.  I have enjoyed Tiles because of its support for JIT
data fetches and panel inheritance.  However, with Tiles 2 not "playing
well" with Struts 2/Spring integration, it is looking less glamorous.  I
wrote a DelegatingTilesController that will get a configured Spring Bean
according to a Tiles def attribute name, but I feel like I am doing plumbing
a framework should handle and who would consider looking at the
tiles.xmlput-attribute to debug a link to a Spring bean???  Wow, did I
get off on a
tangent?

        WebApplicationContext ctx = (WebApplicationContext) getApplication()
                .get(
WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE);

        Attribute bean = attributeContext.getAttribute("beanName");
        BaseController ctl = (BaseController) ctx.getBean((String)
bean.getValue());

        ctl.execute(tilesRequestContext, attributeContext);


Anyways, I'm always up for an alternative.

Scott


On 10/14/07, Wes Wannemacher <[EMAIL PROTECTED]> wrote:
>
> Hey Scott,
>
> I'll volunteer to clean it up for you. I can tell that you seem more
> of a Tiles fan than Sitemesh, but I think if you give it a spin you'll
> probably enjoy it. Email me off-list (you know where) and we can work
> out the details.
>
> -W
>
> On 10/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Did the site also cause your CPU to spike?  The SS site was built by a
> > couple of us who wanted to see how different S2 was from S1.  I pushed
> it to
> > the other side of the DMZ and thought I'd tidy it up later.  Later
> becomes
> > around the clock work on this Struts 2 book and reading your emails at
> all
> > hours of the morning.  Would you like to help spruce it up?
> >
> > I think every conceivable feature of S2 is somehow or another worked
> into
> > the SS site.  The Samples page use a couple versions of tokenWaitStacks
> > (because there were two) and I think we should have stopped messing with
> it
> > after the first twelve pack!
> >
> > P.S. Did the download work?  I had no idea contributing software could
> be so
> > rewarding :)
> >
> > s.
> >
> >
> >
> > On 10/14/07, Dave Newton <[EMAIL PROTECTED]> wrote:
> > >
> > > http://www.strutsschool.com:80//about/about.action
> > >
> > > Something is odd about the URL generation; I got to
> > > the above link via the home page.
> > >
> > > Too many exclamation points, and the second paragraph
> > > reads "When" without anything else. First reference to
> > > db4o has either a capital "O" or a "0" (zero).
> > >
> > > When I "samples" link from left nav while on the
> > > samples page it blows up rather spectacularly and the
> > > URL in the browser nav is
> > > "
> > >
> http://www.strutsschool.com:80//www.strutsschool.com/samples/samples.action
> > > ".
> > >
> > > On the links page the Tomcat link goes directly to
> > > download while the rest goes to a project hom(-ish)
> > > page.
> > >
> > > d.
> > >
> > > --- [EMAIL PROTECTED] wrote:
> > >
> > > > Greetings --
> > > >
> > > > I finished the S2 breadcrumb plug-in and you are
> > > > welcome to it and the
> > > > source code at www.strutsschool.com.  I plan to
> > > > cover the plug-in process in
> > > > a chapter of the Struts 2 in Action
> > > > <http://www.manning.com/dbrown/>  book
> > > > which is soon to be released.  Until then, a few
> > > > folks have asked if they
> > > > could get it sooner.  Once you download the plug-in,
> > > > be sure to see the
> > > > README.txt file contained inside the jar.  This
> > > > explains how to add and
> > > > configure the plug-in to your liking and sample HTML
> > > > code for displaying the
> > > > crumbs on your site.
> > > >
> > > > Please let me know of any issues that you encounter
> > > > and I will accept
> > > > feature requests at $100.00 each or three for
> > > > $250.00! :)
> > > >
> > > > --
> > > > Scott
> > > > [EMAIL PROTECTED]
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Scott
> > [EMAIL PROTECTED]
> >
>
>
> --
> Wesley Wannemacher
> President, Head Engineer/Consultant
> WanTii, Inc.
> http://www.wantii.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Scott
[EMAIL PROTECTED]

Reply via email to