Re: Struts Annotation

2008-05-14 Thread Felipe Lorenz
Yes.. told it in my question... i need to know if have some different way to
use one class to implement CRUD methods!!

On Wed, May 14, 2008 at 10:08 AM, Ian Roughley [EMAIL PROTECTED] wrote:

 Results are annotated at the class level, see
 http://struts.apache.org/2.0.6/docs/annotations.html

 /Ian


 Felipe Lorenz wrote:

 Hi.

 Im try to use annotations for action results.

 but, the annotations is for a class, not for each method in an class...

 fallow this idea, for each CRUD operations i need one actions class??? Or
 have other way to do one action class for CRUD operations?

 Felipe A. lorenz
 www.idealogic.com.br





 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: Struts Annotation

2008-05-14 Thread Ian Roughley
Results are annotated at the class level, see 
http://struts.apache.org/2.0.6/docs/annotations.html


/Ian

Felipe Lorenz wrote:

Hi.

Im try to use annotations for action results.

but, the annotations is for a class, not for each method in an class...

fallow this idea, for each CRUD operations i need one actions class??? Or
have other way to do one action class for CRUD operations?

Felipe A. lorenz
www.idealogic.com.br

  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Struts Annotation

2008-05-14 Thread Ian Roughley
So all the action results are defined at the class level and used per 
CRUD method.  So if you define input, success, page1, etc. at the 
top, each of the CRUD methods can then choose which result to return.


Did you mean that you want annotations that map the action name to the 
CRUD method?  This case is not currently supported via the zero config 
setup (a convention is used).  You might want to check out the 
convention plug-in.


/Ian

Felipe Lorenz wrote:

Yes.. told it in my question... i need to know if have some different way to
use one class to implement CRUD methods!!

On Wed, May 14, 2008 at 10:08 AM, Ian Roughley [EMAIL PROTECTED] wrote:

  

Results are annotated at the class level, see
http://struts.apache.org/2.0.6/docs/annotations.html

/Ian


Felipe Lorenz wrote:



Hi.

Im try to use annotations for action results.

but, the annotations is for a class, not for each method in an class...

fallow this idea, for each CRUD operations i need one actions class??? Or
have other way to do one action class for CRUD operations?

Felipe A. lorenz
www.idealogic.com.br



  

-
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]