-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) @Pr
I don't think you'll be able to pass more than one body, but your layout
component can accept any number of parameters, which can accept blocks.
On May 15, 2012 7:01 AM, "Arno Haase"
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> It is straightforward to build a component that embed
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;
}