boolean isTransparentResolver() { return true; }
}
-igor
On 11/2/06, Jonathan Sharp
<[EMAIL PROTECTED]> wrote:
If I have a BasePage class that has a Component that wraps the page and the <wicket:child/> tag, is there a method I can implement that will bind any inherited pages to this object instead of the page object? Below demonstrates my problem in the extended pages.
BasePage {
...
WebMarkupContainer body = new ...
add(body);
...
private void myAdd(Component c) {
body.add(c);
}
}
ExamplePage extends BasePage {
...
add(myComponent);
--> This really needs to be body.add(myComponent);
...
}
Is there a way where I can make the add() method for the ExamplePage attach components to the body container instead of the page container? Can I do this without implementing a custom method on the BasePage such as myAdd?
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
