Yep, you're right!

Thanks for the example.

-J.

On Mon, 2008-04-14 at 16:09 +0200, Christian Koeberl wrote:
> > inherit: binding - however this doesn't work for me.
> That should work.
> 
> With the inherit keyword you can forward parameters to sub-components, 
> like this example of a zebra Grid component:
> 
> public class MyGrid
> {
>         @Parameter(required = true)
>         private GridDataSource source;
> 
>         @Parameter
>         private BeanModel model;
> 
>         @Parameter(defaultPrefix = TapestryConstants.
> LITERAL_BINDING_PREFIX)
>         private String reorder;
> 
>         @Component(inheritInformalParameters = true, parameters =
>         { "rowClass=cycle:odd,even", "source=inherit:source",
>                 "model=inherit:model", "reorder=inherit:reorder" })
>         private Grid grid;
> }
> 
> -- 
> Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to