org.apache.wicket.extensions.yui
Class YuiLib

java.lang.Object
  extended by org.apache.wicket.extensions.yui.YuiLib

public final class YuiLib
extends java.lang.Object

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

Method Summary
static void load(IHeaderResponse response)
          Load the YUI loader script.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 © 2006-2011 Apache Software Foundation. All Rights Reserved.