public class Import extends UINamingContainer implements PhaseListener, IDynamicComponent
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_ID_PREFIX
Deprecated.
|
protected static String |
VIEW_CHECKED_FORM_NESTING
Deprecated.
|
protected static String |
VIEW_LOADED
Deprecated.
|
COMPONENT_FAMILY, COMPONENT_TYPE, SEPARATOR_CHAR_PARAM_NAME
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
SEPARATOR_CHAR
Constructor and Description |
---|
Import()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPhase(PhaseEvent event)
Deprecated.
|
void |
beforePhase(PhaseEvent event)
Deprecated.
|
void |
encodeChildren(FacesContext context)
Deprecated.
|
protected static Import |
getImportContainer(FacesContext context,
UIComponent component)
Deprecated.
Finds the import control containing the specified component.
|
protected BaseViewBean |
getPageBean(FacesContext facesContext)
Deprecated.
Find the page bean associated with the imported view.
|
PhaseId |
getPhaseId()
Deprecated.
|
boolean |
getRendersChildren()
Deprecated.
|
Object |
getValue()
Deprecated.
|
protected void |
handleNestedForms()
Deprecated.
|
protected void |
importView(String viewId)
Deprecated.
Imports the contents of the specified view as children of this control.
|
void |
populateInitialComponents()
Deprecated.
Perform the initial programmatic manipulation of the component
tree.
|
void |
processEvent(ComponentSystemEvent event)
Deprecated.
|
protected void |
propagateParametersToPageBean(BaseViewBean pageBean)
Deprecated.
Propagates non-content param values from this control
to the appropriate properties of the specified page bean.
|
protected void |
reloadViewIfChanged()
Deprecated.
|
void |
restoreState(FacesContext context,
Object state)
Deprecated.
|
void |
setValue(Object value)
Deprecated.
|
createUniqueId, getFamily, getSeparatorChar, visitTree
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isTransient, saveState, setTransient
protected static final String VIEW_LOADED
protected static final String VIEW_CHECKED_FORM_NESTING
public static final String PARAM_ID_PREFIX
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
restoreState
in class UIComponentBase
public void beforePhase(PhaseEvent event)
beforePhase
in interface PhaseListener
public void afterPhase(PhaseEvent event)
afterPhase
in interface PhaseListener
public PhaseId getPhaseId()
getPhaseId
in interface PhaseListener
protected BaseViewBean getPageBean(FacesContext facesContext)
protected static Import getImportContainer(FacesContext context, UIComponent component)
context
- Current context.component
- Component whose import control to find.protected void importView(String viewId)
protected void propagateParametersToPageBean(BaseViewBean pageBean)
public Object getValue()
public void setValue(Object value)
public void processEvent(ComponentSystemEvent event) throws AbortProcessingException
processEvent
in interface ComponentSystemEventListener
processEvent
in class UIComponent
AbortProcessingException
protected void handleNestedForms()
protected void reloadViewIfChanged()
public void populateInitialComponents()
IDynamicComponent
populateInitialComponents
in interface IDynamicComponent
public boolean getRendersChildren()
getRendersChildren
in class UIComponentBase
public void encodeChildren(FacesContext context) throws IOException
encodeChildren
in class UIComponentBase
IOException