I understand the difference between decorator and builder method. Actually i was using contribute as my weapon of choice and I guess I could be lacking on the knowledge there. More specifically does contribution of the method act more like decorator or builder.
Nonetheless I was able to make my decorator to work :) Thanks for your example Cheers On Wed, May 29, 2013 at 3:12 PM, Lance Java <lance.j...@googlemail.com>wrote: > Hi Boris, I'm not sure you have grasped the concept of an IOC decorator. A > decorator method name is prefixed with "decorate" and gets passed the > default implementation so that it can delegate through to it. It is > different to a "builder" method (prefixed with "build") which I think you > might be using which is most likely causing a circular reference / > StackOverflow. > > http://tapestry.apache.org/tapestry-ioc-decorators.html > > I did this a while ago but from memory, the PageRenderLinkTransformer was > not sufficient for what I was trying to do because I wanted to transform > component events as well as page render events. > -- Sincerely *Boris Horvat*