Hi I have an issue on wicket-jade (https://github.com/decebals/wicket-jade/issues/1) and I cannot find a nice solution.
The use case is that I have an EmbeddedPanel (html markup) in a JadePanel (jade markup) and when I try to run my test I get a MarkupNotFoundException: Failed to find markup file associated. The problem is that JadePanel (parent of EmbeddedPanel) returns "new MarkupType("jade", "text/x-jade")" on getMarkupType and current implementation for Markupcontainer.getMarkupType is: public MarkupType getMarkupType() { MarkupContainer parent = getParent(); if (parent != null) { return parent.getMarkupType(); } return null; } It's clear that wicket search for EmbeddedPanel.jade and not EmbeddedPanel.html It's a solution to override getMarkupType() from EmbeddedPanel to returnMarkupType.HTML_MARKUP_TYPE but I want something more general because I must override manually all my panels embedded in JadePanel. Any idea? Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/About-getMarkupType-from-MarkupContainer-tp4664340.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org