On 7/25/06, Ted Husted <[EMAIL PROTECTED]> 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
Or, in practice, would we not be binding a URL to the method, and
therefore be using
@UrlBinding
So that
@UrlBinding("delete")
String delete() { ... }}
would be the equivalant of
action name="delete" class="example.CrudAction" method="delete">
Of course, we might also want to do something like
@Handler
String delete() { ... }}
to imply an action named "delete"
(I expect Tim would be the resident expert on this subject.)
-Ted.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]