Check the messages I posted. 

What if we made ALL ActionConfigs based on Commands, with an optional default command 
mapped to the execute() method if you give your Action element a name attribute (which 
is an alias). Then you can also add more commands to your action with different 
execute methods and alias's. 

I think this would be VERY cool, and we could drop the Action Interface requirement...

Jason

> -----Original Message-----
> From: Patrick Lightbody [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, February 19, 2003 1:10 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] re: some suggestion about ww2.0
> 
> 
> OK, two things:
> 
> 1) The "command" piece should not be formally built in to the 
> configuration framework. I'm fine with it being part of 
> ActionSupport and the "command" param being passed through, 
> but I don't want to see it built in to the configuration 
> framework _unless_ it is also a feature that is core to XWork
> (ie: not part of ActionSupport).
> 
> 2) Having views based on exceptions should be easy to add. 
> I'll work on this.
> 
> -Pat
> 
> ----- Original Message -----
> From: "Matt Ho" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 19, 2003 10:01 AM
> Subject: RE: [OS-webwork] re: some suggestion about ww2.0
> 
> 
> > +1.
> >
> > Struts allows you declaratively handle exceptions.  Initially, I 
> > really appreciated that feature, but I soon found that it made the 
> > managing exceptions a pain as there wasn't any runtime checking to 
> > ensure that all the exceptions had been caught.
> >
> > --
> > Matt Ho
> > Principal
> > Indigo Egg, Inc.
> > http://www.indigoegg.com/
> >
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]] 
> On Behalf 
> > > Of Rickard Öberg
> > > Sent: Wednesday, February 19, 2003 8:04 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [OS-webwork] re: some suggestion about ww2.0
> > >
> > > Anders Engström wrote:
> > > > This is a functionality I miss in WW a lot. You can only specify
> > views
> > > > based on success, error, input etc (please correct me if I'm 
> > > > wrong).
> > > > - but it would be very nice if you could select view based on
> > Exception
> > > > or user-defined return-values:
> > > <snip>
> > >
> > > The idea is that if an exception is thrown from execute() it's a
> > system
> > > exception and not an application exception. I.e. you're 
> supposed to 
> > > catch all application exceptions and return some view string that 
> > > corresponds to the error message to be shown.
> > >
> > > /Rickard
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: SlickEdit Inc. Develop 
> an edge. 
> > > The most comprehensive and flexible code editor you can use. Code 
> > > faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. 
> > > www.slickedit.com/sourceforge 
> > > _______________________________________________
> > > Opensymphony-webwork mailing list 
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SlickEdit Inc. Develop 
> an edge. The 
> > most comprehensive and flexible code editor you can use. 
> Code faster. 
> > C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. 
> > www.slickedit.com/sourceforge 
> > _______________________________________________
> > Opensymphony-webwork mailing list 
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SlickEdit Inc. Develop an 
> edge. The most comprehensive and flexible code editor you can 
> use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 
> 30-Day Trial. www.slickedit.com/sourceforge 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to