Hi all, I want to extend Wicket's Button to do some extra styling (image/etc):
What I want to write in my markup is: <button wicket:id="myButton" type="submit" class="positive"> So my own implementation of the button is responsible for adding the image and the label. The expected HTML output should be: <button type="submit" class="positive"> <img src="/images/icons/tick.png"/> Save </button> What is the best approach to do this? Thanks in advance, Stefan