org.apache.wicket.extensions.yui.YuiLib类的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(121)

本文整理了Java中org.apache.wicket.extensions.yui.YuiLib类的一些代码示例,展示了YuiLib类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YuiLib类的具体详情如下:
包路径:org.apache.wicket.extensions.yui.YuiLib
类名称: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()));
}

相关文章