I just tried the Apache Wicket "Hello, world" application and I noticed that in the rendered HTML output, Wicket is exposing it's internal attributes.
This is what the rendered HTML looks like in the 'view source' of the browser:
<html>
<body>
<span wicket:id="message" id="message">Hello World!</span>
</body>
</html>
How do I get rid of the wicket:id="message"
attribute in the rendered HTML output?
Switch to deployment mode, e.g. in web.xml
:
<context-param>
<param-name>configuration</param-name>
<param-value>deployment</param-value>
</context-param>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With