|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.myfaces.tobago.context.ResourceManagerUtil
public class ResourceManagerUtil
Method Summary | |
---|---|
static String |
getBlankPage(FacesContext facesContext)
|
static String |
getDisabledImageWithPath(FacesContext facesContext,
String image)
|
static String |
getImageWithPath(FacesContext facesContext,
String name)
Searchs for an image and return it with the context path |
static String |
getImageWithPath(FacesContext facesContext,
String name,
boolean ignoreMissing)
Searchs for an image and return it with the context path |
static String |
getImageWithPath(FacesContext facesContext,
String image,
CommandRendererHelper helper)
|
static String |
getPageWithoutContextPath(FacesContext facesContext,
String name)
|
static String |
getProperty(FacesContext facesContext,
String bundle,
String key)
|
static String |
getPropertyNotNull(FacesContext facesContext,
String bundle,
String key)
|
static List<String> |
getScripts(FacesContext facesContext,
String name)
|
static String |
getScriptsAsJSArray(FacesContext facesContext,
String[] names)
|
static List<String> |
getStyles(FacesContext facesContext,
String name)
|
static String |
getStylesAsJSArray(FacesContext facesContext,
String[] names)
|
static boolean |
isAbsoluteResource(String value)
Detects if the value is an absolute resource or if the value has to be processed by the theme mechanism. |
static String |
toJSArray(List<String> list)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getProperty(FacesContext facesContext, String bundle, String key)
public static String getPropertyNotNull(FacesContext facesContext, String bundle, String key)
public static String getImageWithPath(FacesContext facesContext, String name)
public static String getImageWithPath(FacesContext facesContext, String name, boolean ignoreMissing)
public static List<String> getStyles(FacesContext facesContext, String name)
public static List<String> getScripts(FacesContext facesContext, String name)
public static String getScriptsAsJSArray(FacesContext facesContext, String[] names)
public static String getStylesAsJSArray(FacesContext facesContext, String[] names)
public static String toJSArray(List<String> list)
public static String getDisabledImageWithPath(FacesContext facesContext, String image)
public static String getImageWithPath(FacesContext facesContext, String image, CommandRendererHelper helper)
public static String getBlankPage(FacesContext facesContext)
public static String getPageWithoutContextPath(FacesContext facesContext, String name)
public static boolean isAbsoluteResource(String value)
value
- the given resource link.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |