> -----Original Message-----
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: 11 August 2003 14:47
> To: Struts Developers List
> Subject: Re: ActionForwards, et al (was SuccessAction)
> 
> 
> --- Ted Husted <[EMAIL PROTECTED]> wrote:
> > David Graham wrote:
> > > What I think we're seeing here
> > > is that we've outgrown our ActionForward declarations and 
> need some
> > new
> > > ones.  I'm fine with adding a SuccessAction but would 
> really like to
> > see
> > > us discuss future possibilities in this area.
> > 
> > This may not be what you meant, but I've been thinking that 
> > ActionForward could use a class extension point, same as 
> ActionMapping.
> > 
> > The idea would be to give ActionForward a type property for a Java 
> > class. If the property is specified, instead of just taking 
> the path as 
> > it stands, the Controller would call a "prepare" method on 
> the class, 
> > passing it the ActionForward, ActionForm, HttpRequest, and 
> HttpResponse.
> 
> This may be a good time to add an ActionContext interface instead of
> passing all these individual pieces.  This would also 
> slightly remove the
> dependence on Servlet to allow us more flexibility when we look at the
> Portlet API.
> 

+1 

Aggregate ActionForm,ActionMapping,HttpServletRequest,HttpServletResponse
into one object.

This is what I have done for Struts 1.0.2 old project in base action class
and for this new one at Royal Bank of Scotland.

--
Peter Pilgrim,
Struts/J2EE Consultant, RBoS FM, Risk IT
Tel: +44 (0)207-375-4923



***********************************************************************************
This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
The Royal Bank of Scotland plc is registered in Scotland No 90312
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
             Regulated by the Financial Services Authority

            Visit our website at http://www.rbs.co.uk/CBFM/
***********************************************************************************


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

Reply via email to