public class PuiModelSync
extends javax.faces.component.html.HtmlBody
| Constructor and Description |
|---|
PuiModelSync() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addJSFAttrbitute(String key,
javax.faces.component.UIComponent component,
boolean cacheable,
boolean onlyOnce) |
static void |
addJSFAttrbituteToAngularModel(Map<String,Object> model,
String key,
Object value,
boolean cacheable)
Builds basically a JSON structure from the JSF model.
|
void |
encodeAll(javax.faces.context.FacesContext arg0) |
void |
encodeBegin(javax.faces.context.FacesContext context) |
void |
encodeChildren(javax.faces.context.FacesContext arg0) |
void |
encodeEnd(javax.faces.context.FacesContext arg0) |
static List<String> |
getFacesModel() |
javax.faces.component.StateHelper |
getStateHelper()
This method is not as superfluous as it seems.
|
static Object |
getValueToRender(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
This method has been copied from the PrimeFaces 5 project (and been adapted after).
|
static void |
initJSFAttributesTable() |
static boolean |
isJSFAttributesTableEmpty() |
getDefaultEventName, getDir, getEventNames, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnload, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnunload, getRole, getStyle, getStyleClass, getTitle, getXmlns, setDir, setLang, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnload, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnunload, setRole, setStyle, setStyleClass, setTitle, setXmlnsclearInitialState, getConverter, getFamily, getLocalValue, getValue, markInitialState, resetValue, restoreState, saveState, setConverter, setValueaddClientBehavior, addFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventgetClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreepublic javax.faces.component.StateHelper getStateHelper()
getStateHelper in class javax.faces.component.UIComponentpublic static boolean isJSFAttributesTableEmpty()
public static void initJSFAttributesTable()
public static void addJSFAttrbitute(String key, javax.faces.component.UIComponent component, boolean cacheable, boolean onlyOnce)
public static void addJSFAttrbituteToAngularModel(Map<String,Object> model, String key, Object value, boolean cacheable)
model - the model to be builtkey - variable namevalue - variable valuecacheable - if true, the value is only sent if it's different from the value of the same attribute in the previous responsepublic static Object getValueToRender(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
context - FacesContext instancecomponent - UIComponent instance whose value will be returnedpublic void encodeAll(javax.faces.context.FacesContext arg0)
throws IOException
encodeAll in class javax.faces.component.UIComponentIOExceptionpublic void encodeBegin(javax.faces.context.FacesContext context)
throws IOException
encodeBegin in class javax.faces.component.UIComponentBaseIOExceptionpublic void encodeChildren(javax.faces.context.FacesContext arg0)
throws IOException
encodeChildren in class javax.faces.component.UIComponentBaseIOExceptionpublic void encodeEnd(javax.faces.context.FacesContext arg0)
throws IOException
encodeEnd in class javax.faces.component.UIComponentBaseIOExceptionCopyright © 2015. All rights reserved.