Hi,

Yes, Wicket uses XML-like parser
(org.apache.wicket.markup.parser.XmlPullParser) to read the markup.
You can use CDATA around such special snippets.

Martin Grigorov
Wicket Training and Consulting


On Tue, Jan 14, 2014 at 2:49 AM, Paul Bors <p...@bors.ws> wrote:

> When I develop my components I drop example output so that if the HTML file
> is open by itself once can get a preview of a mock-up of how the app might
> look like. Usefull for when the component is to be styled and etc.
>
> I just noticed that at runtime in development mode the HTML validation
> fails when you use HTML tags like strings for mock-ups such as:
>
> <a href="#" wicket:id="url">
> <wicket:remove>[http://
> <host>:<port>/troubleshooting.clients?id=###]</wicket:remove></a>
>
>
> Unexpected RuntimeException
>
> Last cause: Tag  '<port>' (line 14, column 79) has a mismatched close
> tag at  '</wicket:remove>' (line 14, column 117)
>
> Markup
>
> The problem is in "
>
> file:/C:/MsSQL/glassfish/glassfish/domains/knoa/generated/jsp/console-war-7.1.21-SNAPSHOT/loader_10085307/com/mycom/console/admin/clients/troubleshooting/ExtractAgentLogsPanel$SuccessPanel.html":
>

Reply via email to