hi All!

I have some trouble concerning component inheritance. My scenario is something like:


A.tml
----
<div xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";
    xmlns:p="tapestry:parameter" class="mini-basket-items">
<t:extension-point id="MBIV">
<a href="${valueForA}"/>
</t:extension-point>
</div>


A.class
------
public class A
{
    public String getValueForA()
    {
        return "a";
    }
}


B.class
------
public class B extends A
{
    public String getValueForA()
    {
        return "b";
    }
}



there is no tml provided by B thus A's tml should be fully reused. the expression "valueForA" always returns "a" and the overridden method in class "B" is never called. is there additional configuration required to make it working?


Thanks again

Jens



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to