Re: Accessing a containing component parameter from within a 'child' component

2008-04-14 Thread Jan Vissers
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

Re: Accessing a containing component parameter from within a 'child' component

2008-04-14 Thread Christian Koeberl
> 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; @

Re: Accessing a containing component parameter from within a 'child' component

2008-04-14 Thread Jan Vissers
I believe there is something mentioned on it on: http://tapestry.apache.org/tapestry5/tapestry-core/guide/parameters.html#Inherited%20Parameter%20Bindings with inherit: binding - however this doesn't work for me. -J. On Mon, 2008-04-14 at 15:18 +0200, Jan Vissers wrote: > Hi, > > I have an embed

Accessing a containing component parameter from within a 'child' component

2008-04-14 Thread Jan Vissers
Hi, I have an embedded component which should render something different depending on a component parameter of the component containing the embedded component (wow - try to say that quickly ;-). How can I do that? -J. - To uns