On Sunday 26 April 2009 10:10:29 pm Musachy Barroso wrote:
> But you always map a url to a method, an action is not executed, a
> method is. Even if you don't specify a method, "execute" will be used
> by default.

I know, but "execute" only works as a default-method (list some entities for 
example). I like to have CRUD and helper-methods (for wizard-like workflow) in 
the same class to avoid having so many classes, which works very well in my 
experience. What I'd like to achieve is to have the @Actions-annotation on the 
class level create mappings just like the "action"-element in struts.xml does, 
like:
<action name="actionpattern" class="myActionCreatedBySpring">

-- 
Andreas Joseph Krogh <[email protected]>
Senior Software Developer / CEO
------------------------+---------------------------------------------+
OfficeNet AS            | The most difficult thing in the world is to |
Rosenholmveien 25       | know how to do a thing and to watch         |
1414 TrollÄsen          | somebody else doing it wrong, without       |
NORWAY                  | comment.                                    |
                        |                                             |
Tlf:    +47 24 15 38 90 |                                             |
Fax:    +47 24 15 38 91 |                                             |
Mobile: +47 909  56 963 |                                             |
------------------------+---------------------------------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to