Found the problem:
In an earlier version of the panel I overwrote getMarkupType.
Removing it fixed the problem.
public MarkupType getMarkupType() {
return MarkupType.HTML_MARKUP_TYPE;
}
On Fri, Sep 9, 2011 at 10:17 PM, Jochen Mader wrote:
> I implemented a panel as a IMarkupResourceS
I implemented a panel as a IMarkupResourceStreamProvider.
It works perfect if I add it to a page using the add method. If I use
"replaceWith" to replace another panel with this one I get
"Tag expected"
and the following stacktrace
MarkupStream: [markup =
org.apache.wicket.util.resource.StringRe