Re: ActionConfig property map and form setup strategies (Re: POJO Actions and the ActionCommand interface)

2005-03-17 Thread Dakota Jack
On Thu, 17 Mar 2005 19:47:40 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote: > At 4:56 PM -0800 3/17/05, Dakota Jack wrote: > >I don't want to do much of anything in the action. Rather, I want the > >reading of the first form into FirstFormAction and the population of > >the second form handled by

Re: ActionConfig property map and form setup strategies (Re: POJO Actions and the ActionCommand interface)

2005-03-17 Thread Joe Germuska
At 4:56 PM -0800 3/17/05, Dakota Jack wrote: I don't want to do much of anything in the action. Rather, I want the reading of the first form into FirstFormAction and the population of the second form handled by the framework which means that it has to be available to the Action. The best solution

Re: ActionConfig property map and form setup strategies (Re: POJO Actions and the ActionCommand interface)

2005-03-17 Thread Dakota Jack
I don't want to do much of anything in the action. Rather, I want the reading of the first form into FirstFormAction and the population of the second form handled by the framework which means that it has to be available to the Action. The best solution, I assume, would be to have an overloaded si

Re: ActionConfig property map and form setup strategies (Re: POJO Actions and the ActionCommand interface)

2005-03-17 Thread Joe Germuska
At 2:36 PM -0800 3/17/05, Dakota Jack wrote: Suppose, Joe, that we have first.jsp and second.jsp, FirstActionForm.java and SecondActionForm.java. We call MyAction.java as the action for in first.jsp and want to setup the values in second.jsp via SecondActionForm.java. How would you configure the

Re: ActionConfig property map and form setup strategies (Re: POJO Actions and the ActionCommand interface)

2005-03-17 Thread Dakota Jack
Suppose, Joe, that we have first.jsp and second.jsp, FirstActionForm.java and SecondActionForm.java. We call MyAction.java as the action for in first.jsp and want to setup the values in second.jsp via SecondActionForm.java. How would you configure the for this use case, which I think is the mos

Re: ActionConfig property map and form setup strategies (Re: POJO Actions and the ActionCommand interface)

2005-03-17 Thread Dakota Jack
I don't know how to state the problem more simply. I cannot believe that this is not obvious. It is definitely in the top ten of difficulties discussed. If you want to go from page A to page B where they have different ActionForms, as they should, and you want to use one Action and not instantia

Re: ActionConfig property map and form setup strategies (Re: POJO Actions and the ActionCommand interface)

2005-03-17 Thread Ted Husted
Without a concrete usecase, I doubt that I would. Without changing other aspects of the default request processing, I don't see how it would make a shred of difference. The very best thing would be a patch to either the MailReader or Exercises example, that not only demonstrated the problem, but c

Re: ActionConfig property map and form setup strategies (Re: POJO Actions and the ActionCommand interface)

2005-03-17 Thread Joe Germuska
At 1:13 PM -0800 3/17/05, Dakota Jack wrote: On Thu, 17 Mar 2005 14:55:17 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote: At 9:58 AM -0800 3/17/05, Dakota Jack wrote: >Cool, I think. Do you mean you can do this with the ? > Sorry if this is a really stupid question. I have not looked at the

Re: ActionConfig property map and form setup strategies (Re: POJO Actions and the ActionCommand interface)

2005-03-17 Thread Dakota Jack
On Thu, 17 Mar 2005 14:55:17 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote: > At 9:58 AM -0800 3/17/05, Dakota Jack wrote: > >Cool, I think. Do you mean you can do this with the ? > > Sorry if this is a really stupid question. I have not looked at the > >configuration of v1.3. If this is going

ActionConfig property map and form setup strategies (Re: POJO Actions and the ActionCommand interface)

2005-03-17 Thread Joe Germuska
At 9:58 AM -0800 3/17/05, Dakota Jack wrote: Cool, I think. Do you mean you can do this with the ? Sorry if this is a really stupid question. I have not looked at the configuration of v1.3. If this is going to be possible, you will have solved half the qusetions on the list. Yep: http://svn.apa

RE: POJO Actions and the ActionCommand interface (Re: Configurati on inheritance, module init code)

2005-03-17 Thread Konstantin Priblouda
--- "Pilgrim, Peter" <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Konstantin Priblouda > [mailto:[EMAIL PROTECTED] > > > > > > --- Joe Germuska <[EMAIL PROTECTED]> wrote: > > > > > > > > What is your antecedent for "this"? Having an > > > ActionCommand > > > interface?

[Apache Struts Wiki] Updated: StrutsMultipleActionForms

2005-03-17 Thread dev
Date: 2005-03-17T11:33:29 Editor: FrankZammetti Wiki: Apache Struts Wiki Page: StrutsMultipleActionForms URL: http://wiki.apache.org/struts/StrutsMultipleActionForms no comment Change Log: -- @@ -50,6 +

[Apache Struts Wiki] Updated: StrutsMultipleActionForms

2005-03-17 Thread dev
Date: 2005-03-17T11:24:16 Editor: FrankZammetti Wiki: Apache Struts Wiki Page: StrutsMultipleActionForms URL: http://wiki.apache.org/struts/StrutsMultipleActionForms no comment Change Log: -- @@ -46,6 +

Re: POJO Actions and the ActionCommand interface (Re: Configuration inheritance, module init code)

2005-03-17 Thread Frank W. Zammetti
Trying to get to the Wiki now to add a comment... Seem to be having some network issues right now... -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Thu, March 17, 2005 2:06 pm, Dakota Jack said: > I really understand your pain, Frank. I

Re: POJO Actions and the ActionCommand interface (Re: Configuration inheritance, module init code)

2005-03-17 Thread Dakota Jack
I really understand your pain, Frank. I don't understand why Ted thinks this is not a central problem or why it is okay for one action to process and another action to setup but not okay for one action to do both. I do think that somehow combining setup and processing is crucial. We all have to

[Apache Struts Wiki] New: StrutsMultipleActionForms

2005-03-17 Thread dev
Date: 2005-03-17T11:01:01 Editor: DakotaJack Wiki: Apache Struts Wiki Page: StrutsMultipleActionForms URL: http://wiki.apache.org/struts/StrutsMultipleActionForms no comment New Page: ##language:en == Multiple ActionForms in ActionMapping == There is no way in Struts to handle

Re: [Shale] subview component XML composition extension

2005-03-17 Thread David Geary
Le Mar 16, 2005, à 12:51 AM, Matthias Wessendorf a écrit : David, No, I don't have anything JSF-specific. The extracted version is simply decoupled from Struts. Otherwise, it's just vanilla Tiles, except that I So you have no facility like a ViewHandler or something like that? Have you looked at

Re: POJO Actions and the ActionCommand interface (Re: Configuration inheritance, module init code)

2005-03-17 Thread Frank W. Zammetti
On Thu, March 17, 2005 12:56 pm, Dakota Jack said: > This means that you EITHER have to use two actions, leading to all the > nonsense of chaining actions (why do you think that is recurrent, > Ted?), OR you have to make PAGE-A the same as PAGE-B, which you can > only do for so long unless you want

[Apache Struts Wiki] Updated: FrontPage

2005-03-17 Thread dev
Date: 2005-03-17T10:21:40 Editor: DakotaJack Wiki: Apache Struts Wiki Page: FrontPage URL: http://wiki.apache.org/struts/FrontPage no comment Change Log: -- @@ -31,6 +31,7 @@ * StrutsFunStuff * Stru

Re: POJO Actions and the ActionCommand interface (Re: Configurati on inheritance, module init code)

2005-03-17 Thread Dakota Jack
On Thu, 17 Mar 2005 17:45:40 -, Pilgrim, Peter <[EMAIL PROTECTED]> wrote: > > It is also instructive to observe the growing popularity (in > > enterprise Java circles) of IoC approaches to instantiating business > > and service objects (Spring, Hivemind, PicoContainer, etc.), which are > > imp

Re: POJO Actions and the ActionCommand interface (Re: Configuration inheritance, module init code)

2005-03-17 Thread Dakota Jack
Cool, I think. Do you mean you can do this with the ? Sorry if this is a really stupid question. I have not looked at the configuration of v1.3. If this is going to be possible, you will have solved half the qusetions on the list. Jack On Thu, 17 Mar 2005 09:06:04 -0600, Joe Germuska <[EMAIL

Re: POJO Actions and the ActionCommand interface (Re: Configuration inheritance, module init code)

2005-03-17 Thread Dakota Jack
According to your logic, Ted, we should not do setups for forms? I really don't understand your point at all. Jack On Thu, 17 Mar 2005 10:09:03 -0500, Ted Husted <[EMAIL PROTECTED]> wrote: > People have often brought up things like multiple ActionsForms up on > the user list, but it seems like

RE: POJO Actions and the ActionCommand interface (Re: Configurati on inheritance, module init code)

2005-03-17 Thread Pilgrim, Peter
See mix-ins! > -Original Message- > From: Craig McClanahan [mailto:[EMAIL PROTECTED] ===/=== > > > On Wed, 16 Mar 2005 10:08:15 -0800, Dakota Jack > <[EMAIL PROTECTED]> wrote: > > > > On Wed, 16 Mar 2005 09:54:48 -0800, Craig McClanahan > <[EMAIL PROTECTED]> wrote: > > > I agree

Re: POJO Actions and the ActionCommand interface (Re: Configurati on inheritance, module init code)

2005-03-17 Thread Dakota Jack
I think you are missing my point, Peter. Clearly you can use different commands in a chain. That is, after all, exactly what you do do. On Thu, 17 Mar 2005 15:51:18 -, Pilgrim, Peter <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Niall Pemberton [mailto:[EMAIL PROTECTED

Re: POJO Actions and the ActionCommand interface (Re: Configuration inheritance, module init code)

2005-03-17 Thread Dakota Jack
AMEN! +42 On Thu, 17 Mar 2005 08:25:04 -0600, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Craig McClanahan [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, March 16, 2005 5:04 PM > > To: Struts Developers List; Dakota Jack > > Cc: [EMAIL PROTECTED] > > Sub

RE: POJO Actions and the ActionCommand interface (Re: Configurati on inheritance, module init code)

2005-03-17 Thread Pilgrim, Peter
> -Original Message- > From: Konstantin Priblouda [mailto:[EMAIL PROTECTED] > > > --- Joe Germuska <[EMAIL PROTECTED]> wrote: > > > > > What is your antecedent for "this"? Having an > > ActionCommand > > interface? Using an IoC container as an > > ActionFactory? Having a > > Thread

RE: POJO Actions and the ActionCommand interface (Re: Configurati on inheritance, module init code)

2005-03-17 Thread Pilgrim, Peter
> From: Dakota Jack [mailto:[EMAIL PROTECTED] ==== > > > +42 > > > On Wed, 16 Mar 2005 09:23:29 +0100, Manfred Wolff > <[EMAIL PROTECTED]> wrote: > > Dakota Jack wrote: > > > > >The idea, I thought, was to use the Commands to supplant the > > >RequestProcessor with a composable request pr

RE: POJO Actions and the ActionCommand interface (Re: Configurati on inheritance, module init code)

2005-03-17 Thread Pilgrim, Peter
> -Original Message- > From: Niall Pemberton [mailto:[EMAIL PROTECTED] ==== > > I've looked at 1.3 and the Chain stuff, but not actually tried it out. > However the original RequestProcessor is still there and > presumably still > works. The default RequestProcessor is now the chain

svn commit: r157938 - struts/taglib/trunk/project.properties

2005-03-17 Thread jmitchell
Author: jmitchell Date: Thu Mar 17 07:38:19 2005 New Revision: 157938 URL: http://svn.apache.org/viewcvs?view=rev&rev=157938 Log: Specify the pattern for tests, cactus default patter is failing for SimpleFormBeanForTesting.java and TaglibTestBase.java (Doh) Modified: struts/taglib/trunk/pro

Re: RE: Struts - Page Centric Framework[Scanned]

2005-03-17 Thread Ted Husted
Moving thread to DEV > Ted: how do you use ASP.NET? Do you have a framework you use? It's under active development, but Spring.Web [http://opensource.atlassian.com/confluence/spring/display/NET/Spring.Web] is starting to look very Struts-like. (Not surprising considering the similaritie

Re: POJO Actions and the ActionCommand interface (Re: Configuration inheritance, module init code)

2005-03-17 Thread Ted Husted
On Thu, 17 Mar 2005 06:33:42 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote: > For the record: Since what I wanted looked more like a Command, I > dropped the extension to CreateAction. Instead, I wired Spring to > produce instances of DispatchCommand (in the commons-chain SVN repo), > and I wrote

Re: POJO Actions and the ActionCommand interface (Re: Configuration inheritance, module init code)

2005-03-17 Thread Joe Germuska
I would prefer if we could make ActionMappings such that a single action could result in the instantiation of two or more ActionForm objects rather than one. Done. In Struts 1.3, ActionConfig supports an arbitrary map of properties. Define one, "secondForm" whose value is the name of another fo

Re: POJO Actions and the ActionCommand interface (Re: Configuration inheritance, module init code)

2005-03-17 Thread Ted Husted
(It was Konstantin Pribluda that wanted to trash ActionForms.) People have often brought up things like multiple ActionsForms up on the user list, but it seems like a misuse of the ActionForm to me. An ActionForm is best used to represent the input needed to service a request. Ideally, an Action

RE: POJO Actions and the ActionCommand interface (Re: Configuration inheritance, module init code)

2005-03-17 Thread Frank W. Zammetti
On Thu, March 17, 2005 9:25 am, [EMAIL PROTECTED] said: > You can't make things idiot-proof because the idiots are too clever. I have hanging on my office wall a saying I got from an old boss of mine... "Software development today is a constant struggle between developers striving to make better

RE: POJO Actions and the ActionCommand interface (Re: Configuration inheritance, module init code)

2005-03-17 Thread George.Dinwiddie
> -Original Message- > From: Craig McClanahan [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 16, 2005 5:04 PM > To: Struts Developers List; Dakota Jack > Cc: [EMAIL PROTECTED] > Subject: Re: POJO Actions and the ActionCommand interface > (Re: Configuration inheritance, module init cod

Re: POJO Actions and the ActionCommand interface (Re: Configuration inheritance, module init code)

2005-03-17 Thread Dakota Jack
I note below my biggest WISH for Struts that would be easy to accommodate and which would transform the usefulness of Struts, in my opinion, in a MAJOR way. On Thu, 17 Mar 2005 06:33:42 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote: > Jack, if you want to throw away ActionForm -- go for > it!

Re: Stabilising 1.3 (was Re: POJO Actions and the ActionCommand interface (Re: Configuration inheritance, module init code))

2005-03-17 Thread Hubert Rabago
I don't remember what the resolution was (or if there was one) for version numbers. This being the first release since taglibs and tiles were removed from the main distribution, I'm guessing a release of those should be done as well? Are we calling those 1.3.0 too? Hubert On Wed, 16 Mar 2005 1

Re: Stabilising 1.3 (was Re: POJO Actions and the ActionCommand interface (Re: Configuration inheritance, module init code))

2005-03-17 Thread Hubert Rabago
On Wed, 16 Mar 2005 19:07:13 -0500, Ted Husted <[EMAIL PROTECTED]> wrote: > :) Hey, don't we have a new tradiition that says the first thing a new > Committer has to do is volunteer to manage the next release. :) > > :) And I'm thinking we just gave someone a shiny new Commiter stripe :) (Ooooh,

Re: POJO Actions and the ActionCommand interface (Re: Configuration inheritance, module init code)

2005-03-17 Thread Joe Germuska
So, as this discussion seems to be winding down, I thought it might be interesting to share that it turned out to be surpassingly easy to implement the features I needed as extensions to the struts-core. This is good, of course, because it lets us defer decisions that raise strong opinions unti

[Apache Struts Wiki] Updated: StrutsShale

2005-03-17 Thread dev
Date: 2005-03-17T03:20:52 Editor: DuncanMills Wiki: Apache Struts Wiki Page: StrutsShale URL: http://wiki.apache.org/struts/StrutsShale no comment Change Log: -- @@ -23,3 +23,6 @@ * Add some JSF compo