能否请你帮我如何添加meta标签上标头的小门1.5版,一般我用下面的code在标题中添加js脚本。我想我跑在EGDE模拟模式应用为检票ajax.js性能问题被解决有
JQUERY_SCRIPT = newJavaScriptResourceReference(Style.class,jQuery的-1.11.0.min.js);
解决方案
您可以使用 IHeaderResponse#renderString(<元...>中);
请参阅https://github.com/apache/wicket/blob/wicket-1.5.x/wicket-core/src/main/java/org/apache/wicket/markup/html/IHeaderResponse.java#L300
或者你可以把它放在YourPage.html
Could you please help me how to add meta tag on header for wicket 1.5 version, generally I use the below code to add js script in the header. I want to run my application in EGDE simulation mode as the wicket-ajax.js performance issue is solved there
JQUERY_SCRIPT = newJavaScriptResourceReference(Style.class, "jquery-1.11.0.min.js");
解决方案
You can use IHeaderResponse#renderString("<meta ...>");
See https://github.com/apache/wicket/blob/wicket-1.5.x/wicket-core/src/main/java/org/apache/wicket/markup/html/IHeaderResponse.java#L300
Or you can just put it in YourPage.html