2009/6/12 Sergey Didenko <sergey.dide...@gmail.com>: > Could you help me, I can't understand how it is wired together. > > What is passed as its "by" parameter.
Generally, Block with <t:decoratedBody/> inside, which I name "decorator". > Where the class Decorate is used? Take a look at my former post. Page.tml has ComplexComponent and passes to it block (="decorator") by "titleDecorator" parameter. Inside ComplexComponent template, there is Decorate component surrounding part of template. "Decorator" from "titleDecorator" parameter is passed by "by" parameter to Decorate. Responsibility of Decorate component is to render its body inside block (="decorator") passed by "by" parameter. If you want, I can send you sources of Decorate and DecoratedBody components, a little bit improved against DH's version. Regards Lukasz --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org