Description
A second click on the prototype link fails:
The component [Component id = counter] was rendered already. You can render it only once during a render phase. Class relative path: org.apache.wicket.markup.html.basic.Label:counter
MarkupStream: [unknown]
at org.apache.wicket.Page.componentRendered(Page.java:210)
at org.apache.wicket.Component.rendered(Component.java:2610)
at org.apache.wicket.Component.internalRender(Component.java:2383)
at org.apache.wicket.Component.render(Component.java:2307)
at org.apache.wicket.core.request.handler.ComponentRenderingRequestHandler.respond(ComponentRenderingRequestHandler.java:70)
ComponentUseCheck has to be enabled (e.g. development config). It seems ComponentRenderingRequestHandler does not clear the collection of renderedComponents in the page.