Java – wicket: hide comments in HTML

JSP supports the syntax of <% - Comment -% > annotation, which is a way to annotate the code so that it is not included in the published HTML

Is there any way to do this in Victor?

Solution

It's your friend Wicket will delete it from the output

See here https://cwiki.apache.org/confluence/display/WICKET/Wicket ’s+XHTML+tags#Wicket%27sXHTMLtags-Elementwicket%3Aremove

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>