public class YuiHeaderCache extends Object implements org.apache.wicket.markup.html.IHeaderContributor
This class uses the CachedYuiDependencyResolver
to retrieve the Set
of resources belonging to a YUI-module and caches them locally. YuiContext
s will share
a reference to the resources, making it possible to skip static resources that have already been
loaded on the client.
It will automatically load the YUI-logger through it's local IYuiContext
when running in Wicket development
mode. See Application.getConfigurationType()
.
It will also the Wicket-Ajax javascript dependencies if needed and subsequently load the hippoajax YUI module, which
adds cleanup-hooks for YUI modules as well as some other utility methods.
Constructor and Description |
---|
YuiHeaderCache(boolean loadWicketAjax) |
Modifier and Type | Method and Description |
---|---|
void |
renderHead(org.apache.wicket.markup.head.IHeaderResponse response) |
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.