RE: ActionSupport.input()-- what's it for?

2008-07-16 Thread Brad A Cupit
Tuesday, July 15, 2008 4:52 PM, Dave Newton wrote: It's the default implementation of a method designed for form input; validation is skipped by default. When you have an action implementing Prepareable it's a convenience, before annotation-based configuration you'd configure two action

Fw: RE: ActionSupport.input()-- what's it for?

2008-07-16 Thread Dave Newton
Oops, meant to send this to the list. --- On Wed, 7/16/08, Brad A Cupit wrote: So, before annotation-based configuration, you'd setup action chaining to have it go from the input() method to the execute() method? No, you'd go to form display via input(), and submit to execute().

RE: RE: ActionSupport.input()-- what's it for?

2008-07-16 Thread Brad A Cupit
No, you'd go to form display via input(), and submit to execute(). Oh that makes perfect sense! Got it now. the input() method always skipped validation That makes sense too. The input method is listed in struts-default.xml as an excludeMethod for the validation interceptor. Even then, I

Re: ActionSupport.input()-- what's it for?

2008-07-15 Thread Dave Newton
--- On Tue, 7/15/08, Brad A Cupit [EMAIL PROTECTED] wrote: Anybody know what the input() method on ActionSupport is for? It doesn't seem to be defined by any interfaces. I was hoping that it was called whenever there was a validation error, but that doesn't seem to be the case. It's the