3. A new @ActionMethod annotation for the codebehind plugin that
declares a method as callable
Does it make sense to collapse the SU ActionNames and ActionName annotations into this new annotation? This annotation could provide additional parameters to control the URLs for the method. If we do this, it should probably be called Action rather than ActionMethod.

@Action(urls={"foo", "bar"})

We could also add a number of features to this annotation such as HTTP-methods:

@Action(httpMethods={"POST"})

And support for namespaces:

@Action(urls={"/ns1/foo", "/ns2/bar"})

-bp

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to