Thanks.

On Sat, Jun 13, 2009 at 4:06 AM, Lukasz Jazgar<[email protected]> wrote:
> 2009/6/12 Sergey Didenko <[email protected]>:
>> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to