Yeah, use markup inheritance. See wicket-examples, http://www.javalobby.org/java/forums/t69357.html, the test cases and there's probably something about it on the WIKI.
Eelco On 5/13/06, smallufo <[EMAIL PROTECTED]> wrote:
Hi I have a custom component (form) that extends Panel I want to extend my custom panel and add some field and overide the onSubmit() method. But I found I have to duplicate the whole HTML content. I feel this will increase the complexity of future maintaince. Is there a better way to handle this ?
------------------------------------------------------- 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&kid0709&bid&3057&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user