Re: Help in writing a custom annotation

2006-05-26 Thread Dan Adams
Thanks for the help Jesse. Actually, soon after I sent the last email I realized that (I've been working way too much). Thanks for the help though. I really appreciate it. My tests just passed so I'm going to go commit now. :) On Fri, 2006-05-26 at 16:41 -0400, Jesse Kuhnert wrote: > Sure, the Enh

Re: Help in writing a custom annotation

2006-05-26 Thread Jesse Kuhnert
Sure, the EnhancementOperation stuff isn't always immediately easy to grok. This particular class generically extends any existing renderComponent method (if it exists), adding in logic to do other thingsYou could use the same approach to do what you want. There's a lot going on in there tha

Re: Help in writing a custom annotation

2006-05-26 Thread Dan Adams
Okay, so I'm working on this again and just by looking at the other annotation workers it looks like there aren't any that do anything to non-abstract methods. My annotation works on methods which have an implementation. Is there any way to work with a method that is non-abstract using the tapestry

Re: Help in writing a custom annotation

2006-05-25 Thread Jesse Kuhnert
classes. I've attached what I > > have so > > > > > > > far and I would greatly appreciated it if someone could give me > > some > > > > > > > suggestions on what to do. My big problem is: > > > > > > > >

Re: Help in writing a custom annotation

2006-05-25 Thread Dan Adams
ve attached what I > > have so > > > > > > > far and I would greatly appreciated it if someone could give me > > some > > > > > > > suggestions on what to do. My big problem is: > > > > > > > > > > >

Re: Help in writing a custom annotation

2006-05-25 Thread Jesse Kuhnert
as cache-able already? > > > > > > > > On 5/25/06, James Carman <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Have you looked into AspectJ? > > > > > > > > > > -Original Message- > >

Re: Help in writing a custom annotation

2006-05-25 Thread Dan Adams
gt; > > > > > On Thu, 2006-05-25 at 10:28 -0400, Jesse Kuhnert wrote: > > > > Doesn't tapestry support marking a parameter as cache-able already? > > > > > > > > On 5/25/06, James Carman <[EMAIL PROTECTED]> wrote: > > > > > > > >

RE: Help in writing a custom annotation

2006-05-25 Thread Dan Adams
your build environment. But, this is a perfect case for AspectJ, IMHO. > > -Original Message- > From: Dan Adams [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 25, 2006 10:39 AM > To: Tapestry users > Subject: RE: Help in writing a custom annotation > > I though

Re: Help in writing a custom annotation

2006-05-25 Thread Dan Adams
pport marking a parameter as cache-able already? > > > > > > On 5/25/06, James Carman <[EMAIL PROTECTED]> wrote: > > > > > > > > Have you looked into AspectJ? > > > > > > > > -Original Message- > > > > From: Dan

RE: Help in writing a custom annotation

2006-05-25 Thread James Carman
ked into AspectJ? > > -Original Message- > From: Dan Adams [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 25, 2006 10:00 AM > To: Tapestry users > Subject: RE: Help in writing a custom annotation > > Okay, my annotation is called @Once and if put on accessor will mak

Re: Help in writing a custom annotation

2006-05-25 Thread Jesse Kuhnert
EMAIL PROTECTED]> wrote: > > > > Have you looked into AspectJ? > > > > -Original Message- > > From: Dan Adams [mailto:[EMAIL PROTECTED] > > Sent: Thursday, May 25, 2006 10:00 AM > > To: Tapestry users > > Subject: RE: Help in writing a cust

RE: Help in writing a custom annotation

2006-05-25 Thread Dan Adams
-Original Message- > From: Dan Adams [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 25, 2006 10:00 AM > To: Tapestry users > Subject: RE: Help in writing a custom annotation > > Okay, my annotation is called @Once and if put on accessor will make > sure that the method is o

Re: Help in writing a custom annotation

2006-05-25 Thread Dan Adams
ameter as cache-able already? > > On 5/25/06, James Carman <[EMAIL PROTECTED]> wrote: > > > > Have you looked into AspectJ? > > > > -Original Message- > > From: Dan Adams [mailto:[EMAIL PROTECTED] > > Sent: Thursday, May 25, 2006 10:00 AM > > To

Re: Help in writing a custom annotation

2006-05-25 Thread Jesse Kuhnert
the one that injects messages, or beans, or even the one that I > wrote for "autowiring" (available in SVN on the 4.1 branch). > > -Original Message- > From: Dan Adams [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 24, 2006 10:44 PM > To: Tapestry users > Sub

RE: Help in writing a custom annotation

2006-05-25 Thread James Carman
Have you looked into AspectJ? -Original Message- From: Dan Adams [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 10:00 AM To: Tapestry users Subject: RE: Help in writing a custom annotation Okay, my annotation is called @Once and if put on accessor will make sure that the method

RE: Help in writing a custom annotation

2006-05-25 Thread Dan Adams
r even the one that I > wrote for "autowiring" (available in SVN on the 4.1 branch). > > -Original Message- > From: Dan Adams [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 24, 2006 10:44 PM > To: Tapestry users > Subject: Help in writing a custom annotation

RE: Help in writing a custom annotation

2006-05-25 Thread James Carman
I'd look at the one that injects messages, or beans, or even the one that I wrote for "autowiring" (available in SVN on the 4.1 branch). -Original Message- From: Dan Adams [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006 10:44 PM To: Tapestry users Subject: He

Help in writing a custom annotation

2006-05-24 Thread Dan Adams
I want to write an annotation that will intercept a method and add a property to the class. I've started digging around in some of the annotation sources but it's going pretty slow. Can someone point me at the right place to look for where to start? -- Dan Adams Software Engineer Interactive Fact