<wicket:extend xmlns:wicket="http://wicket.apache.org">
Counter Label 1: <span wicket:id="label1">1</span>


<div wicket:id="container">Counter Label 2: <span wicket:id="label2">1</span></div>

<form wicket:id="form">
    Counter Value: <input wicket:id="counter" type="text"/> <input wicket:id="submit" type="submit" value="Update"/>
</form>
</wicket:extend>