-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ah, that makes sense. Thanks a lot!
Am 15.05.2012 13:12, schrieb Taha Siddiqi:
> Hi
>
> One way would be to use Block Parameters.
>
> (Warning: Code not tested)
>
> public class MyLayout {
>
> @Parameter(defaultPrefix = BindingConstants.BLOCK) @Property
> private Block myBlock;
>
> @Inject private Block myDefaultBlock;
>
> Block defaultMyBlock(){ return myDefaultBlock; }
>
> }
>
> <t:container xmlns....>
>
> <t:delegate to='myBlock'/>
>
>
> <t:block id='myDefaultBlock'> My Default Content... </t:block>
> </t:container>
>
> regards Taha
>
>
> On May 15, 2012, at 4:30 PM, Arno Haase wrote:
>
> It is straightforward to build a component that embeds a single
> body, using <t:body />.
>
> I would like to extend that so that a component can have several
> bodies. For example, I would like to build a layout component that
> allows a page to contribute to the title bar as well as provide a
> page body.
>
> Any pointers or ideas on this?
>>
>> ---------------------------------------------------------------------
>>
>>
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]
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk+yW2QACgkQbmZsMyUPuXTiiQCfVK+gbAy3uH2CbumM/rPSOIYB
eLkAn2ctIn7DuLkQ8apZ5koIalrDa0y3
=+a/J
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]