While it might imply that, Stripes actually uses
@HandlesEvent
Which can take an optional String parameter which is the name of the
handled event (which is defaulted to the method name otherwise)....
I was going to chime in on this, so I may as well now. Stripes,
through it's default way of routing events, will allow a submitted
form or URL to invoke any method that is public no-arg and returns a
Resolution - this seems much safer because Resolution is a Stripes
specific class as opposed to String, which obviously isn't. In this
case @HandlesEvent is only used to mark methods that have different
return types, or need to be aliased.
-t
On Jul 25, 2006, at 4:11 PM, Ted Husted wrote:
On 7/25/06, Jason Carreira <[EMAIL PROTECTED]> wrote:
@Action to mark it as an Action method?
Stripes uses the annontation @DefaultHandler where we would configure
a default action, which might imply the annotation @Handler for what
we are talking about here.
* http://stripes.mc4j.org/confluence/display/stripes/Annotation
+Reference
-Ted.
---------------------------------------------------------------------
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]