Theres no way of extending it since all the logic is in a single
execute(ActionContext) method - however you can simply create your own
Command implementation and configure the ComposableRequestProcessor in
Struts 1.3 to use your implementation.

Confuguring Struts 1.3 to use your own command you can simply copy the
default chain-config.xml and modify it to use your Command instead of the
derfault CreateActionForm and add an init parameter to point to your custom
chain-config.xml.

<init-param>
         <param-name>chainConfig</param-name>
         <param-value>WEB-INF/custom-chain-config.xml</param-value>
</init-param>

Niall

----- Original Message ----- 
From: "Jim Reynolds" <[EMAIL PROTECTED]>
Sent: Tuesday, January 03, 2006 4:19 PM


Naill,

Is there a way to extend the CreateActionForm class? It is called from
in the RequestProcessor Class?



On 1/3/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> Its still in the processActionForm method in Struts 1.2.x - but in Struts
> 1.3 its moved into the CreateActionForm command:
>
>
http://svn.apache.org/viewcvs.cgi/struts/action/trunk/src/java/org/apache/struts/chain/commands/
>
> There is also another place that creates the form beans - the <html:form>
> jsp tag will automatically create the form and store it in the appropriate
> scope if it doesn't exist.
>
> Niall
>
> ----- Original Message -----
> From: "David Evans" <[EMAIL PROTECTED]>
> Sent: Tuesday, January 03, 2006 2:47 PM
>
>
> > In struts 1.1 (the only one i have the source for) its in the
> > processActionForm method.
> >
> > dave
> >
> > On Tue, 2006-01-03 at 08:38 -0600, Jim Reynolds wrote:
> > > Hello and Happy New Year
> > >
> > > I am trying to figure out which method (of the many) in the request
> > > processor physically takes the form bean and sets it into the desired
> > > scope?  Based upon the configuration for said Action Mapping.
> > >
> > > Regards
>
>
>
> ---------------------------------------------------------------------
> 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]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to