Re: [T5] Create audit annotation

2009-07-31 Thread Thiago H. de Paula Figueiredo
Em Fri, 31 Jul 2009 04:56:08 -0300, jose luis sanchez escreveu: It should be like that .. but i believe the @Persist tag stores the value of the field at runtime, so it should get the field value .. but looking at the tapestry source code i can't get HOW to do it .. do you think i'm righ

Re: [T5] Create audit annotation

2009-07-31 Thread jose luis sanchez
It should be like that .. but i believe the @Persist tag stores the value of the field at runtime, so it should get the field value .. but looking at the tapestry source code i can't get HOW to do it .. do you think i'm right ? Em Thu, 30 Jul 2009 15:34:33 -0300, jose luis sanchez escreveu:

Re: [T5] Create audit annotation

2009-07-30 Thread Thiago H. de Paula Figueiredo
Em Thu, 30 Jul 2009 15:34:33 -0300, jose luis sanchez escreveu: Is there any way i can send dynamic parameters to an annotation ? You just can't. They're computed at compiling time. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachin

Re: [T5] Create audit annotation

2009-07-30 Thread jose luis sanchez
À : Tapestry users Objet : [T5] Create audit annotation Hi all. I'm trying to create an annotation for auditing methods in my application, in order to log to a file who is doing what. The use of the annotation should be like this ... @Audit(user=user, what=method) private void storingAccount(.

Re: [T5] Create audit annotation

2009-07-30 Thread jose luis sanchez
Yeah,sure .. i was looking for Tapestry annotations howto .. and realized that are java5 related, not 5. Lately, T5 is solving so many problems i'm start to think everything is related to it :-) Em Thu, 30 Jul 2009 14:01:05 -0300, jose luis sanchez escreveu: Hi all. Hi! But i can't f

RE: [T5] Create audit annotation

2009-07-30 Thread Komiwes Robin
...) Also have a look to TapestryModule class and contributeComponentClassTransformWorker() method. -Message d'origine- De : jose luis sanchez [mailto:joseluis.sanc...@m-centric.com] Envoyé : jeudi 30 juillet 2009 19:01 À : Tapestry users Objet : [T5] Create audit annotation Hi all.

Re: [T5] Create audit annotation

2009-07-30 Thread Thiago H. de Paula Figueiredo
Em Thu, 30 Jul 2009 14:01:05 -0300, jose luis sanchez escreveu: Hi all. Hi! But i can't find any info on how to make an annotation .. any idea ? The first Google result for 'java annotation tutorial' is http://java.sun.com/docs/books/tutorial/java/javaOO/annotations.html, not very u

[T5] Create audit annotation

2009-07-30 Thread jose luis sanchez
Hi all. I'm trying to create an annotation for auditing methods in my application, in order to log to a file who is doing what. The use of the annotation should be like this ... @Audit(user=user, what=method) private void storingAccount(.) where user and method should be parameters ...