No Joe, you didn't miss anything :)  I was already thinking about how easy
this would be under 1.3 too.  But, I'm hesitant to start playing with 1.3
until it's actually released (at least in beta).  This is an easy add to
1.3, as you indicate, and I'm also looking forward to porting my StrutsWS
project over to it since I think that will be a nice demonstration of why
chain is cool.  I just don't want to start playing with something that
isn't really stabilized yet (close thought, right?).

And besides, something like this seems to be getting a fair amount of
interest, so someone would eventually want to back-port it if I started
with 1.3.  Since we both believe it will be quite easy under 1.3, why not
start with the 1.x branch where it's a bit more work? :)

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

On Tue, March 8, 2005 9:23 am, Joe Germuska said:
> Sorry, I haven't been following this whole thread, but when I saw
> this config example from Frank:
>
>>     > <action path="myAction" type="com.omnytex.actions.MyAction">
>>     >    <setupItem class="com.omnytex.setup.MyActionSetup"
>>     > method="setupMethod1" />
>>     >    <forward name="defaultForward" path="page1.jsp">
>>     >      <setupItem class="com.omnytex.setup.MyDefaultSetup"
>>     > method="defSetup1" />
>>     >    </forward>
>>     > </action>
>
> I wondered "why not use chain?"
>
> In Struts 1.3, you can specify a command in the <action> element
> which will be executed before Struts processes the action, forward,
> or include specified in the same element.
>
> I haven't done anything about it yet, but I've kind of been expecting
> to add a similar kind of configuration value to forward elements.  It
> is probably the most straightforward way to plug-in the kind of
> page-prep behavior that I've hacked in to other apps.
>
> Since there is a DispatchCommand in commons-chain (the post 1.0, as
> yet unreleased version), you could achieve exactly this, with the
> only difference being that some of the configuration goes in another
> file -- a chain-config.xml
>
> If I missed something in other messages on this thread, please fill me
> in...
>
> Joe
>
> --
> Joe Germuska
> [EMAIL PROTECTED]
> http://blog.germuska.com
> "Narrow minds are weapons made for mass destruction"  -The Ex
>
> ---------------------------------------------------------------------
> 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