Description
Panel throws a MarkupException without passing the MarkupStream while the MarkupStream is available. This makes debugging some errors harder. Code fragment:
/**
- @see org.apache.wicket.Component#onComponentTagBody(org.apache.wicket.markup.MarkupStream,
- org.apache.wicket.markup.ComponentTag)
*/
@Override
protected void onComponentTagBody(final MarkupStream markupStream, final ComponentTag openTag)
{
// Render the associated markup
renderAssociatedMarkup("panel",
"Markup for a panel component has to contain part '<wicket:panel>'");
if (wasOpenCloseTag == false)
{
// Skip any raw markup in the body
markupStream.skipRawMarkup();
if (markupStream.get().closes(openTag) == false)
}
}