Hi Uli, inherit is used between a component and its container, it doesn't work in class and sub-class scenario.
Thanks, Yunhua On Wed, Feb 11, 2009 at 2:04 PM, Ulrich Stärk <u...@spielviel.de> wrote: > I've never done it, but there's the inherit: parameter binding, maybe that's > what you are looking for. Check the component paramter docs in the user > guide. > > Uli > > Yunhua Sang schrieb: >> >> Hello all, >> >> It seems there is no clear document about how to access a parameter >> defined in parent component; previous to 5.0.18, I was using the way >> of declaring the parameter again in child class and it worked well; >> however looks like some changes in 5.1.0.0 broke the way, seems there >> is no link between the parameter with same name in parent and child >> now. >> >> The problem is when I am USING a tapestry component, it's such a >> comfortable experience; but when I write a sub-class of a component, I >> am getting frustrated: a lot of methods are package visible; there is >> no clear way for parameter manipulation, a typical question: can I >> update an attibute of parameter in parent class? If inheritance is not >> a good practice in Tapestry, there should be a document about it. >> >> Thanks in advance for any help, >> Yunhua >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org