Re: Class Transformation problem

2011-08-14 Thread Rendy Tapestry
Yes it works, thank you. Rendy. On Fri, Aug 5, 2011 at 11:27 PM, Josh Canfield wrote: > Right, this is what I was talking about. I use tynamo resteasy in this way. > > On Fri, Aug 5, 2011 at 12:27 AM, Taha Hafeez > wrote: > > I don't think you need ComponentClassTransformationWorker. What you >

Re: Class Transformation problem

2011-08-05 Thread Josh Canfield
Right, this is what I was talking about. I use tynamo resteasy in this way. On Fri, Aug 5, 2011 at 12:27 AM, Taha Hafeez wrote: > I don't think you need ComponentClassTransformationWorker. What you > need is, as Josh said, a service advice > > http://tapestry.apache.org/service-advisors.html > >

Re: Class Transformation problem

2011-08-05 Thread Rendy Tapestry
Thanks Taha & Josh, I will give it a try and later post back the result here. Thanks, Rendy. On Fri, Aug 5, 2011 at 2:27 PM, Taha Hafeez wrote: > I don't think you need ComponentClassTransformationWorker. What you > need is, as Josh said, a service advice > > http://tapestry.apache.org/service-a

Re: Class Transformation problem

2011-08-05 Thread Taha Hafeez
I don't think you need ComponentClassTransformationWorker. What you need is, as Josh said, a service advice http://tapestry.apache.org/service-advisors.html Now the tricky part is where to apply it. As Josh said, if you expose your resources as services you will be able to apply advises and even

Re: Class Transformation problem

2011-08-04 Thread Rendy Tapestry
Hi Josh, Might you please elaborate your answer ? I don't get it :) Thanks, Rendy. On Thu, Aug 4, 2011 at 10:29 PM, Josh Canfield wrote: > Also, rest resources can be bound as services to use injection and advice. > On Aug 4, 2011 8:05 AM, "Taha Hafeez" wrote: > > Hi Rendy > > > > No Component

Re: Class Transformation problem

2011-08-04 Thread Rendy Tapestry
Hi Taha, Thanks for your response. This my problem in detail, I am creating a web service using tynamo, in tynamo, they direct us to place Resource class in rest package. In every service inside the resource, I want to put an annotation (like your @xhr - ajax graceful degradation) to every method

Re: Class Transformation problem

2011-08-04 Thread Josh Canfield
Also, rest resources can be bound as services to use injection and advice. On Aug 4, 2011 8:05 AM, "Taha Hafeez" wrote: > Hi Rendy > > No ComponentClassTransformWorker will not work outside > pages/components package. But class transformation is not the only > reason to keep a special packages. Yo

Re: Class Transformation problem

2011-08-04 Thread Taha Hafeez
Hi Rendy No ComponentClassTransformWorker will not work outside pages/components package. But class transformation is not the only reason to keep a special packages. You sometime need to scan classes for annotations etc and it is easy if you have specific packages which can be contributed to the

Class Transformation problem

2011-08-04 Thread Rendy Tapestry
Hi all, I have problem with class transformation, my question, will this class transformation work outside from special package (pages for example). I am using restful integration from tynamo which direct me to put my web service in rest package. Is the package name matter with class transformatio