JSPs support the <%-- comment --%>
syntax for comments, which is a way to comment markup code such that it doesn't get included in the emitted HTML.
Is there a way to do this in Wicket?
<wicket:remove>
is your friend. Wicket will remove this from output.
See here https://cwiki.apache.org/confluence/display/WICKET/Wicket's+XHTML+tags#Wicket%27sXHTMLtags-Elementwicket%3Aremove
there's
Application#getMarkupSettings().setStripComments(true)
which will remove
<!-- comment -->
from your markup
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