public class CoreRenderer
extends javax.faces.render.Renderer
| Constructor and Description |
|---|
CoreRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToAutoUpdate(java.lang.String clientId) |
protected java.lang.String |
buildAjaxRequest(javax.faces.context.FacesContext context,
javax.faces.component.behavior.ClientBehaviorHolder component,
java.lang.String inEvent)
this method created for mobi:inputText
|
java.lang.String |
convertClientId(javax.faces.context.FacesContext context,
java.lang.String clientId) |
protected void |
decodeBehaviors(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
decodeBehaviors(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.String proxyClientId) |
protected void |
encodeClientBehaviors(javax.faces.context.FacesContext context,
javax.faces.component.behavior.ClientBehaviorHolder component,
JSONBuilder jb) |
protected java.lang.StringBuilder |
encodeClientBehaviors(javax.faces.context.FacesContext context,
javax.faces.component.behavior.ClientBehaviorHolder component,
java.lang.String eventDef)
Non-obstrusive way to apply client behaviors.
|
protected java.lang.String |
escapeText(java.lang.String value) |
protected java.lang.String |
getActionURL(javax.faces.context.FacesContext facesContext) |
java.util.ResourceBundle |
getComponentResourceBundle(javax.faces.context.FacesContext context,
java.lang.String ACE_MESSAGES_BUNDLE)
Not all text for components are easy to make attributes for components,
especially those for accessibility.
|
protected java.lang.String |
getEncodedURL(javax.faces.context.FacesContext facesContext,
java.lang.String type,
java.lang.String baseUrl,
java.util.Map parameters) |
java.lang.String |
getEscapedClientId(java.lang.String clientId) |
static java.lang.String |
getLocalisedMessageFromBundle(java.util.ResourceBundle bundle,
java.lang.String MESSAGE_KEY_PREFIX,
java.lang.String key,
java.lang.String defaultValue) |
protected java.lang.String |
getResourceRequestPath(javax.faces.context.FacesContext facesContext,
java.lang.String resourceName) |
protected java.lang.String |
getResourceURL(javax.faces.context.FacesContext facesContext,
java.lang.String value) |
boolean |
isAjaxRequest(javax.faces.context.FacesContext facesContext) |
protected boolean |
isPostBack() |
boolean |
isPostback(javax.faces.context.FacesContext facesContext) |
protected boolean |
isScriptLoaded(javax.faces.context.FacesContext facesContext,
java.lang.String JS_NAME) |
boolean |
isValueBlank(java.lang.String value) |
boolean |
isValueEmpty(java.lang.String value) |
protected void |
renderChild(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent child) |
protected void |
renderChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
protected void |
renderPassThruAttributes(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String[] attrs) |
protected void |
renderPassThruAttributes(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String[] attrs,
java.lang.String[] ignoredAttrs) |
protected void |
renderPassThruAttributes(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String var,
java.lang.String[] attrs) |
static java.lang.String |
resolveWidgetVar(javax.faces.component.UIComponent component) |
protected void |
setScriptLoaded(javax.faces.context.FacesContext facesContext,
java.lang.String JS_NAME) |
protected boolean |
shouldRenderAttribute(java.lang.Object value) |
protected boolean |
themeForms() |
protected void |
writeJavascriptFile(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String JS_NAME,
java.lang.String JS_MIN_NAME,
java.lang.String JS_LIBRARY) |
protected void |
writeJavascriptFile(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String JS_NAME,
java.lang.String JS_MIN_NAME,
java.lang.String JS_LIBRARY,
java.lang.String JS2_NAME,
java.lang.String JS2_MIN_NAME,
java.lang.String JS2_LIB) |
public static java.lang.String resolveWidgetVar(javax.faces.component.UIComponent component)
protected void renderChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
java.io.IOExceptionprotected void renderChild(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent child)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String getActionURL(javax.faces.context.FacesContext facesContext)
protected java.lang.String getResourceURL(javax.faces.context.FacesContext facesContext,
java.lang.String value)
protected java.lang.String getEncodedURL(javax.faces.context.FacesContext facesContext,
java.lang.String type,
java.lang.String baseUrl,
java.util.Map parameters)
protected java.lang.String getResourceRequestPath(javax.faces.context.FacesContext facesContext,
java.lang.String resourceName)
public boolean isPostback(javax.faces.context.FacesContext facesContext)
public boolean isAjaxRequest(javax.faces.context.FacesContext facesContext)
protected void renderPassThruAttributes(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String var,
java.lang.String[] attrs)
throws java.io.IOException
java.io.IOExceptionprotected void renderPassThruAttributes(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String[] attrs)
throws java.io.IOException
java.io.IOExceptionprotected void renderPassThruAttributes(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String[] attrs,
java.lang.String[] ignoredAttrs)
throws java.io.IOException
java.io.IOExceptionprotected boolean shouldRenderAttribute(java.lang.Object value)
protected boolean isPostBack()
public java.lang.String getEscapedClientId(java.lang.String clientId)
public java.lang.String convertClientId(javax.faces.context.FacesContext context,
java.lang.String clientId)
convertClientId in class javax.faces.render.Rendererpublic boolean isValueEmpty(java.lang.String value)
public boolean isValueBlank(java.lang.String value)
protected java.lang.String escapeText(java.lang.String value)
protected void encodeClientBehaviors(javax.faces.context.FacesContext context,
javax.faces.component.behavior.ClientBehaviorHolder component,
JSONBuilder jb)
throws java.io.IOException
java.io.IOExceptionprotected boolean themeForms()
protected void addToAutoUpdate(java.lang.String clientId)
protected void decodeBehaviors(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
protected void decodeBehaviors(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.String proxyClientId)
protected java.lang.StringBuilder encodeClientBehaviors(javax.faces.context.FacesContext context,
javax.faces.component.behavior.ClientBehaviorHolder component,
java.lang.String eventDef)
throws java.io.IOException
java.io.IOExceptionprotected void writeJavascriptFile(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String JS_NAME,
java.lang.String JS_MIN_NAME,
java.lang.String JS_LIBRARY,
java.lang.String JS2_NAME,
java.lang.String JS2_MIN_NAME,
java.lang.String JS2_LIB)
throws java.io.IOException
java.io.IOExceptionprotected void writeJavascriptFile(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String JS_NAME,
java.lang.String JS_MIN_NAME,
java.lang.String JS_LIBRARY)
throws java.io.IOException
java.io.IOExceptionprotected void setScriptLoaded(javax.faces.context.FacesContext facesContext,
java.lang.String JS_NAME)
protected boolean isScriptLoaded(javax.faces.context.FacesContext facesContext,
java.lang.String JS_NAME)
protected java.lang.String buildAjaxRequest(javax.faces.context.FacesContext context,
javax.faces.component.behavior.ClientBehaviorHolder component,
java.lang.String inEvent)
context - component - inEvent - public java.util.ResourceBundle getComponentResourceBundle(javax.faces.context.FacesContext context,
java.lang.String ACE_MESSAGES_BUNDLE)
public static java.lang.String getLocalisedMessageFromBundle(java.util.ResourceBundle bundle,
java.lang.String MESSAGE_KEY_PREFIX,
java.lang.String key,
java.lang.String defaultValue)
bundle - MESSAGE_KEY_PREFIX - key - defaultValue - Copyright 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.