Class YuiLib


  • public final class YuiLib
    extends Object
    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()
    Author:
    eelcohillenius
    • 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