public class UIXPageTemplate extends PartialUIXPageTemplate
COMPONENT_FAMILY, COMPONENT_TYPE, TYPE, VALUE_KEYVIEW_ID_KEYCOMPONENT_VAR_KEY, VAR_KEYBINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY| Modifier | Constructor and Description |
|---|---|
|
UIXPageTemplate()
Construct an instance of the UIXPageTemplate.
|
protected |
UIXPageTemplate(String rendererType)
Construct an instance of the UIXPageTemplate.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getViewId()
Gets the view ID.
|
void |
resumeContext(javax.faces.context.FacesContext facesContext)
Resume the include's context that has been suspended.
|
protected void |
setPartialTarget(javax.faces.context.FacesContext facesContext, org.apache.myfaces.trinidad.context.PartialPageContext partialContext)
When asked to be PPR-ed, Page Template should PPR its parent since it renders no DOM
|
protected void |
setupChildrenVisitingContext(javax.faces.context.FacesContext context)
Setups EL variables including the attribute map for use by the children of this page templete.
|
protected org.apache.myfaces.trinidad.context.SuspendCallback.SuspendResult |
suspendChange(org.apache.myfaces.trinidad.context.ComponentContextChange contextChange)
Called by the
UIXInclude.suspendContext(FacesContext) method to determine how far back to suspend the application context changes. |
void |
suspendContext(javax.faces.context.FacesContext facesContext)
Suspend the include component that is currently in context.
|
protected void |
tearDownChildrenVisitingContext(javax.faces.context.FacesContext context)
Restores the previous values of all the EL variables maintained by this component.
|
getBeanType, getFamily, getValue, setValuebroadcast, createFacesBean, getAttribute, getRenderedFacetsAndChildren, invokeOnComponent, queueEvent, setAttributegetComponentVar, getVar, setComponentVar, setVarfinishComponentEncoding, isFlatteningChildren, processDecodes, processFlattenedChildren, processUpdates, processValidators, restoreContext, setupContext, setupVisitingContext, tearDownVisitingContextadaptMethodBinding, addAttributeChange, addAttributeChangeListener, addClientBehavior, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, clearCachedClientIds, clearInitialState, decode, decodeChildren, decodeChildrenImpl, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientBehaviors, getClientId, getComponentChangeFilters, getContainerClientId, getDefaultEventName, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setupFlattenedChildrenContext, setupFlattenedContext, setValueBinding, setValueExpression, subscribeToEvent, tearDownFlattenedChildrenContext, tearDownFlattenedContext, toString, unsubscribeFromEvent, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpladdPartialTarget, broadcastInContext, clearCachedClientIds, defaultGetRenderedFacetsAndChildren, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, getStateHelper, getStateHelper, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setupChildrenEncodingContext, setupEncodingContext, setUpEncodingContext, tearDownChildrenEncodingContext, tearDownEncodingContext, visitAllChildren, visitChildren, visitChildren, visitTree, visitTreeencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInViewpublic UIXPageTemplate()
protected UIXPageTemplate(String rendererType)
public String getViewId()
If the value attribute of the page template resolves to an instance of PageTemplateModel then the view ID will be retrieved from the the model instead of using the viewId tag attribute.
getViewId in class UIXIncludeprotected void setupChildrenVisitingContext(javax.faces.context.FacesContext context)
setupChildrenVisitingContext in class UIXIncludeprotected void tearDownChildrenVisitingContext(javax.faces.context.FacesContext context)
tearDownChildrenVisitingContext in class UIXInclude
protected void setPartialTarget(javax.faces.context.FacesContext facesContext,
org.apache.myfaces.trinidad.context.PartialPageContext partialContext)
setPartialTarget in class org.apache.myfaces.trinidad.component.UIXComponent
public void suspendContext(javax.faces.context.FacesContext facesContext)
throws IllegalStateException
UIXIncludesuspendContext in class UIXIncludefacesContext - the faces contextIllegalStateException - if the include is not currently in context
public void resumeContext(javax.faces.context.FacesContext facesContext)
throws IllegalStateException
UIXIncluderesumeContext in class UIXIncludefacesContext - the faces contextIllegalStateException - if the include is not suspendedprotected org.apache.myfaces.trinidad.context.SuspendCallback.SuspendResult suspendChange(org.apache.myfaces.trinidad.context.ComponentContextChange contextChange)
UIXIncludeUIXInclude.suspendContext(FacesContext) method to determine how far back to suspend the application context changes.suspendChange in class UIXIncludecontextChange - The change to consider