org.wicketstuff.yui.markup.html.contributor.yuiloader
Class YuiLoader
java.lang.Object
org.wicketstuff.yui.markup.html.contributor.yuiloader.YuiLoader
- All Implemented Interfaces:
- Serializable, IHeaderContributor, IClusterable
- Direct Known Subclasses:
- YuiLoaderInsert, YuiLoaderSandbox
public abstract class YuiLoader
- extends Object
- implements IHeaderContributor
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
protected static String DEBUG
BASE
protected static final ResourceReference BASE
rendered
protected boolean rendered
YuiLoader
public YuiLoader()
renderHead
public void renderHead(org.apache.wicket.markup.head.IHeaderResponse response)
- loads the loader
- Specified by:
renderHead in interface IHeaderContributor
getRequireModule
protected String getRequireModule()
- ['module1', 'module2', 'yahoo']
- Returns:
getAddModuleJS
protected String getAddModuleJS(String loader)
- get all the modules taking care of duplicates
- Parameters:
loader -
- Returns:
allOnSuccessJS
protected String allOnSuccessJS()
- go through all modules and then add their initJS scripts
- Returns:
getBase
protected static String getBase()
getModules
public List<IYuiLoaderModule> getModules()
setModules
public void setModules(List<IYuiLoaderModule> modules)
add
public void add(IYuiLoaderModule module)
newLoader
protected abstract YuiLoader newLoader()
Copyright © 2013. All Rights Reserved.