Description
If you pass an existing component that has an arbitrary markupId to ComponentRenderer.renderComponent, it will fail:
org.apache.wicket.markup.MarkupNotFoundException: Markup not found for Component: [Component id = myComponentId]
This is because RenderPage markup uses a constant COMP_ID for the markupId:
private static final String MARKUP = "<wicket:container wicket:id='" + COMP_ID + "'></wicket:container>";
It would be nice if the ComponentRenderer would use the markupId of the given component.