...
Adding id attribute to a tag
Adding Do not add an explicit id to a tag (div, input, select,...); this will break the javascript code injected by Wicket (Ajax behavior,...). Because this code use the generated id. So don't use id into html templateThis is because the injected javascript uses the wicket generated id. – David Bernard
This is due to a hard to fix issue. As long as that issue is open, people should avoid setting id attributes on tags that are coupled to components that use rely on the markup id (setOutputMarkupId true). See http://issues.apache.org/jira/browse/WICKET-694 – Eelco
...