org.apache.wicket.resource
Class ResourceUtil
java.lang.Object
org.apache.wicket.resource.ResourceUtil
public class ResourceUtil
- extends Object
Utilities for resources.
- Author:
- Jeremy Thomerson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
renderTo
public static void renderTo(IHeaderResponse resp,
ResourceReference ref,
boolean css,
String string)
- Helper that calls the proper IHeaderResponse.render*Reference method based on the input.
- Parameters:
resp
- the response to call render*Reference methods onref
- the reference to rendercss
- true if this is a css referencestring
- the string argument to pass to those methods that accept it (js = id / css =
media)
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.