public class ComponentUtils
extends org.primefaces.util.ComponentUtils
| Modifier and Type | Method and Description |
|---|---|
static void |
addComponentResource(javax.faces.context.FacesContext context,
java.lang.String name)
Deprecated.
|
static void |
addComponentResource(javax.faces.context.FacesContext context,
java.lang.String name,
java.lang.String library,
java.lang.String target)
Deprecated.
|
static java.lang.String |
escapeComponentId(java.lang.String id)
Deprecated.
|
static char[] |
escapeHtmlTextInJson(char[] text) |
static java.lang.String |
escapeHtmlTextInJson(java.lang.String text) |
static java.lang.String |
escapeSelector(java.lang.String value)
Deprecated.
|
static char[] |
escapeText(char[] text)
Deprecated.
|
static java.lang.String |
escapeText(java.lang.String text)
Duplicate code from json-simple project under apache license
http://code.google.com/p/json-simple/source/browse/trunk/src/org/json/simple/JSONValue.java
|
static java.lang.Object |
getConvertedSubmittedValue(javax.faces.context.FacesContext fc,
javax.faces.component.EditableValueHolder evh) |
static javax.faces.render.Renderer |
getRenderer(javax.faces.context.FacesContext fc,
javax.faces.component.UIComponent component) |
static boolean |
isAjaxifiedComponent(javax.faces.component.UIComponent component) |
static java.util.Locale |
resolveLocale(java.lang.Object locale)
Deprecated.
|
static java.util.TimeZone |
resolveTimeZone(java.lang.Object timeZone)
Gets a
TimeZone instance by the parameter "timeZone" which can be String or TimeZone or null. |
createSelectItems, decorateAttribute, escapeJQueryId, findClientIds, findComponent, findComponentClientId, findNavigationCase, findParentForm, findParentNamingContainer, findParentUniqueIdVendor, getConverter, getUIParams, getValueToRender, isLiteralText, isRTL, isValueBlank, processDecodesOfFacetsAndChilds, processUpdatesOfFacetsAndChilds, processValidatorsOfFacetsAndChilds, resolveWidgetVar, resolveWidgetVar, toLocale@Deprecated public static java.lang.String escapeComponentId(java.lang.String id)
@Deprecated
public static void addComponentResource(javax.faces.context.FacesContext context,
java.lang.String name)
@Deprecated
public static void addComponentResource(javax.faces.context.FacesContext context,
java.lang.String name,
java.lang.String library,
java.lang.String target)
public static java.lang.String escapeText(java.lang.String text)
text - original text as string@Deprecated public static char[] escapeText(char[] text)
text - original text as char[]public static java.lang.String escapeHtmlTextInJson(java.lang.String text)
public static char[] escapeHtmlTextInJson(char[] text)
public static java.lang.Object getConvertedSubmittedValue(javax.faces.context.FacesContext fc,
javax.faces.component.EditableValueHolder evh)
public static javax.faces.render.Renderer getRenderer(javax.faces.context.FacesContext fc,
javax.faces.component.UIComponent component)
public static boolean isAjaxifiedComponent(javax.faces.component.UIComponent component)
@Deprecated public static java.lang.String escapeSelector(java.lang.String value)
Puts two backslashes before #;&,.+*~':"!^$[]()=>|/ to escape them. Two are needed, because of JavaScript string literals. Puts three backslashes before a \ itself, to escape it.
value - DOCUMENT_ME@Deprecated public static java.util.Locale resolveLocale(java.lang.Object locale)
Locale instance by the value of the component attribute "locale" which can be String or Locale or
null.locale - given localepublic static java.util.TimeZone resolveTimeZone(java.lang.Object timeZone)
TimeZone instance by the parameter "timeZone" which can be String or TimeZone or null.timeZone - given time zoneCopyright © 2011-2013. All Rights Reserved.