|
My approach here will be that if the child class *overrides* a method of the parent, then the overridden method will be invoked only by the parent class, not the subclass.
The *override* functionality works fine if all classes base and subclass(es) are in the same package-then
the overriden function is called for subclass only. If base and subclasses are in *different* packages only the base class function is called. ( It seams as if tapestry did not "see" the overwritten one. This really seams to be the problem, because if you specify the function to be "protected" (at least) tapestry can "see" it and calls the correct one. This workaound can be done id source is available for the base class(es) and does not work if I want to subclass core-components.( And naturally this is doen in another package, so this error prevents my to use the new *Overridíng* feature) Still don't think there's a bug here, and your comment about different packages ... are you sure the overridden methods are protected or public?
|
||||||||||||||||||||||||||||||||||||||||||||||||||
The super approach is not valid: the super class methods may be private, or have different parameters or return types.