本文整理了Java中org.apache.wicket.extensions.yui.YuiLib
类的一些代码示例,展示了YuiLib
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YuiLib
类的具体详情如下:
包路径:org.apache.wicket.extensions.yui.YuiLib
类名称:YuiLib
[英]Use the #load(org.apache.wicket.markup.head.IHeaderResponse) method to initialize the YUI library using the YUI loader. It is OK to call this multiple times. By default the resource stream gets gzipped. You may disable it via Application.get().getResourceSettings().getDisableGZipCompression()
[中]使用#load(org.apache.wicket.markup.head.IHeaderResponse)方法使用YUI加载程序初始化YUI库。可以多次拨打此电话。默认情况下,资源流会被压缩。您可以通过应用程序禁用它。get()。getResourceSettings()。getDisableGZipCompression()
代码示例来源:origin: org.apache.wicket/wicket-datetime
/**
* Load the YUI loader script. After that, you can declare YUI dependencies using
* YAHOO.util.YUILoader.
*
* @param response
* header response
*/
public static void load(IHeaderResponse response)
{
response.render(JavaScriptHeaderItem.forReference(getYuiLoader()));
}
代码示例来源:origin: org.wicketstuff/wicketstuff-datetime-yui
YuiLib.load(response);
代码示例来源:origin: org.apache.wicket/wicket-datetime
YuiLib.load(response);
代码示例来源:origin: org.wicketstuff/wicketstuff-datetime-yui
/**
* Load the YUI loader script. After that, you can declare YUI dependencies using
* YAHOO.util.YUILoader.
*
* @param response
* header response
*/
public static void load(IHeaderResponse response)
{
response.render(JavaScriptHeaderItem.forReference(getYuiLoader()));
}
内容来源于网络,如有侵权,请联系作者删除!