Reputation: 31074
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?
Upvotes: 9
Views: 2439
Reputation: 1135
<wicket:remove>
is your friend. Wicket will remove this from output.
Upvotes: 17
Reputation: 71
there's
Application#getMarkupSettings().setStripComments(true)
which will remove
<!-- comment -->
from your markup
Upvotes: 7