Class Import
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UINamingContainer
com.webmethods.caf.faces.component.logic.Import
- All Implemented Interfaces:
IDynamicComponent
,Serializable
,EventListener
,NamingContainer
,PartialStateHolder
,StateHolder
,TransientStateHolder
,UniqueIdVendor
,ComponentSystemEventListener
,FacesListener
,PhaseListener
,SystemEventListenerHolder
Deprecated.
The Import control has been supplanted by the Template control
Imports view tree from some other .view file in the current webapp
into the current view tree.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Deprecated.protected static final String
Deprecated.protected static final String
Deprecated.Fields inherited from class javax.faces.component.UINamingContainer
COMPONENT_FAMILY, COMPONENT_TYPE, SEPARATOR_CHAR_PARAM_NAME
Fields inherited from class javax.faces.component.UIComponent
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
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.Deprecated.boolean
Deprecated.getValue()
Deprecated.protected void
Deprecated.protected void
importView
(String viewId) Deprecated.Imports the contents of the specified view as children of this control.void
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
Deprecated.void
restoreState
(FacesContext context, Object state) Deprecated.void
Deprecated.Methods inherited from class javax.faces.component.UINamingContainer
createUniqueId, getFamily, getSeparatorChar, visitTree
Methods inherited from class javax.faces.component.UIComponentBase
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
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.faces.component.StateHolder
isTransient, saveState, setTransient
-
Field Details
-
VIEW_LOADED
Deprecated.- See Also:
-
VIEW_CHECKED_FORM_NESTING
Deprecated.- See Also:
-
PARAM_ID_PREFIX
Deprecated.- See Also:
-
-
Constructor Details
-
Import
public Import()Deprecated.
-
-
Method Details
-
restoreState
Deprecated.- Specified by:
restoreState
in interfaceStateHolder
- Overrides:
restoreState
in classUIComponentBase
-
beforePhase
Deprecated.- Specified by:
beforePhase
in interfacePhaseListener
-
afterPhase
Deprecated.- Specified by:
afterPhase
in interfacePhaseListener
-
getPhaseId
Deprecated.- Specified by:
getPhaseId
in interfacePhaseListener
-
getPageBean
Deprecated.Find the page bean associated with the imported view. Returns null if bean not found. -
getImportContainer
Deprecated.Finds the import control containing the specified component.- Parameters:
context
- Current context.component
- Component whose import control to find.- Returns:
- Import control or null.
-
importView
Deprecated.Imports the contents of the specified view as children of this control. -
propagateParametersToPageBean
Deprecated.Propagates non-content param values from this control to the appropriate properties of the specified page bean. -
getValue
Deprecated. -
setValue
Deprecated. -
processEvent
Deprecated.- Specified by:
processEvent
in interfaceComponentSystemEventListener
- Overrides:
processEvent
in classUIComponent
- Throws:
AbortProcessingException
-
handleNestedForms
protected void handleNestedForms()Deprecated. -
reloadViewIfChanged
protected void reloadViewIfChanged()Deprecated. -
populateInitialComponents
public void populateInitialComponents()Deprecated.Description copied from interface:IDynamicComponent
Perform the initial programmatic manipulation of the component tree.- Specified by:
populateInitialComponents
in interfaceIDynamicComponent
-
getRendersChildren
public boolean getRendersChildren()Deprecated.- Overrides:
getRendersChildren
in classUIComponentBase
-
encodeChildren
Deprecated.- Overrides:
encodeChildren
in classUIComponentBase
- Throws:
IOException
-