> 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*:

<html xmlns:wicket>
<body>
<wicket:panel>
  <ul wicket:id="feedbackul">
    <li wicket:id="messages" class="errorlevel">
      <span wicket:id="message" class="errorlevel">A message</span>
    </li>
  </ul>
</wicket:panel>
</body>
</html>

where it only matters that you have

-    feedbackul
 |-     messages
   |-     message

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

Reply via email to