org.apache.wicket.extensions.yui
Class YuiLib
java.lang.Object
org.apache.wicket.extensions.yui.YuiLib
- All Implemented Interfaces:
- Serializable, IClusterable
public final class YuiLib
- extends Object
- implements IClusterable
Use the load(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()
- Author:
- eelcohillenius
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
load
public static void load(IHeaderResponse response)
- Load the YUI loader script. After that, you can declare YUI dependencies using
YAHOO.util.YUILoader.
- Parameters:
response
- header response
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.