> On 4/18/06, Dave Newton <[EMAIL PROTECTED]> wrote: > > I just have a base Action class that will forward to the input on a GET > > or validate and do the right thing based on the results of the validation. > > > > So, simplified, my subclasses may optionally override executeGet and/or > > executePost (although I actually have the equivalent of preprocessForm > > and postprocessForm methods, so I rarely need to do that) etc.
I was there a year ago ;-) It works well if all your input comes with POST request, that is, from HTML forms, like in ASP.NET or JSF. What if you need to trigger an event with a link? I believe that JSF (or one of its implementations) has command link for that, but it requires Javascript. With EventActionDispatcher class I can trigger event without having to use Javascript. On 4/18/06, Eric Rank <[EMAIL PROTECTED]> wrote: > The idea of doing some logical branching within execute so the right > thing happens makes sense. > Unless anyone can convince me otherwise, from here on out it's > validate = "false" See these as well: http://wiki.apache.org/struts/DataEntryForm http://wiki.apache.org/struts/EventActionDispatcher Michael --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]