org.apache.wicket.extensions.yui
Class YuiLib

java.lang.Object
  extended by org.apache.wicket.extensions.yui.YuiLib
All Implemented Interfaces:
java.io.Serializable, IClusterable

public final class YuiLib
extends java.lang.Object
implements IClusterable

Use the #load(IHeaderResponse, boolean) method to initialize the YUI library using the YUI loader. It is OK to call this multiple times.

Author:
eelcohillenius
See Also:
Serialized Form

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