struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Germuska <>
Subject Re: ActionConfig property map and form setup strategies (Re: POJO Actions and the ActionCommand interface)
Date Thu, 17 Mar 2005 21:43:28 GMT
At 1:13 PM -0800 3/17/05, Dakota Jack wrote:
>On Thu, 17 Mar 2005 14:55:17 -0600, Joe Germuska <> wrote:
>>  At 9:58 AM -0800 3/17/05, Dakota Jack wrote:
>>  >Cool, I think.  Do you mean you can do this with the <action-mapping>?
>>  >  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:
>>  original discussion thread:
>>  ................
>>  The model I have in mind right now for setting up forms, though,
>>  doesn't use the action mapping but rather links the form name to the
>>  ForwardConfig.  It seems more natural to me to associate the set up
>>  with the destination, and it happens once in a while that you have
>>  more than one action which processes a request which all forward to
>>  the same response/view.
>I would like to be able to set multiple forms in the <action-mapping>.
>  Is there any reason why you won't allow that?

well, no, and I don't see why you can't using this arbitrary property 
map.  I'm not sure what you think the best way for getting form 
objects from the properties (I think the framework could make it 
easier than it is now), but I think it should all be possible.

And the description I posted could have any number of 
FormPrepCommands -- something I have never needed myself but which 
was pointed out as a need on the list.  I had originally envisioned 
just setting "name" and "scope" on the ForwardConfig itself, but one 
or more people brought up the use case you suggest, and my thought is 
that the per-forward chain supports that pretty readily.  If you 
think I've missed something, please let me know.


Joe Germuska       
"Narrow minds are weapons made for mass destruction"  -The Ex

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message