On 2/7/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > Would you please give me an example of this? I have looked at the source of > > FeedbackPanel but I still don't know which method to overwrite and how to > > provide my own markup. > > Thank you! > > You can always extend any panel (that is not final) or page and > provide markup like you would normally do. > > public class MyFeedbackPanel extends FeedbackPanel { > public MyFeedbackPanel(final String id, IFeedbackMessageFilter filter) { > super(id, filter); > } > } > > And your markup should look *like*:
For the sake of clarity, the markup file should be named MyFeedbackPanel.html and be placed in the same directory as the MyFeedbackPanel class is. Eelco ------------------------------------------------------------------------- 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user