Class AbstractCompositeViewModalDialog
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIPanel
com.webmethods.caf.faces.component.panel.BaseHideablePanel
com.webmethods.caf.faces.component.AbstractCompositeViewControl
com.webmethods.caf.faces.component.AbstractCompositeViewModalDialog
- All Implemented Interfaces:
IDynamicComponent
,IHideablePanel
,ILazyHideablePanel
,IPostPageComponentPhaseListener
,IScopedVariableComponent
,ITableRowStateHolder
,Serializable
,EventListener
,NamingContainer
,PartialStateHolder
,StateHolder
,TransientStateHolder
,ComponentSystemEventListener
,FacesListener
,PhaseListener
,SystemEventListenerHolder
- Direct Known Subclasses:
PeoplePickerDialog
,PersonCalendarDialog
,PersonProfileDialog
,PrincipalPickerModalDialog
,ResourcePickerModalDialog
AbstractCompositeView implementation for a .view that contains only a modal dialog. The modal dialog is dug out
of the view and the data is copied into this component.
NOTE: much of this is a duplication of code from the
ModalDialog
class- Since:
- 7.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.webmethods.caf.faces.component.AbstractCompositeViewControl
AbstractCompositeViewControl.BindingExpressionReWriter
Nested classes/interfaces inherited from class com.webmethods.caf.faces.component.panel.BaseHideablePanel
BaseHideablePanel.PropertyKeys
-
Field Summary
FieldsFields inherited from class com.webmethods.caf.faces.component.AbstractCompositeViewControl
_deferredPropertiesMap, ATTR__VIEW_LOADED, fInstanceNumber, fPrototypedPageBeanName, fViewResourcePath, PORTLET_VIEW_ID
Fields inherited from class com.webmethods.caf.faces.component.panel.BaseHideablePanel
ATTR_CENTER, ATTR_DEFAULT_COMMAND, ATTR_DEFAULT_FOCUS, ATTR_DISABLE_WHEN_HIDDEN, ATTR_HIDE_EFFECT, ATTR_HIDE_EFFECT_OPTIONS, ATTR_OPACITY, ATTR_PROGRESS_DELAY, ATTR_PROGRESS_FLASH_ON_COMPLETE, ATTR_PROGRESS_MSG, ATTR_PROGRESS_USE_HIDE_SHOW_EFFECT, ATTR_SHOW_EFFECT, ATTR_SHOW_EFFECT_OPTIONS, m_savedSuppressed, m_savedVisible
Fields inherited from class javax.faces.component.UIPanel
COMPONENT_FAMILY, COMPONENT_TYPE
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
ConstructorsConstructorDescriptionAbstractCompositeViewModalDialog
(String viewResourcePath, String prototypedPageBeanName) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Override to process the deferred action (if any)void
encodeChildren
(FacesContext context) Deprecated.getValueExpression
(String name) protected void
Override the super class so that the children of the modal dialog are dug out and injected as children of this control, instead of just adding the modal dialog control itself as a child.boolean
Overriden to change the default value to false.void
setApplyButtonAction
(MethodBinding methodBinding) Deprecated.usesetApplyButtonActionExpression(MethodExpression)
insteadvoid
setApplyButtonActionExpression
(MethodExpression methodBinding) void
setValueExpression
(String name, ValueExpression expression) Methods inherited from class com.webmethods.caf.faces.component.AbstractCompositeViewControl
afterPhase, associateControlWithBean, associateControlWithBean, beforePhase, clearPageBean, createPageBean, encodeBegin, encodeEnd, ensureEmbeddedViewIsLoaded, getDeferredPropertiesMap, getInternalPageBean, getInternalPageBean, getInternalPageBeanName, getPageNamesToReplaceInBindingExpressions, getPhaseId, getPostPagePhaseId, getScopedVariable, getScopedVariableName, loadView, populateInitialComponents, postPageAfterPhase, postPageBeforePhase, processDecodes, processEvent, processLoadView, processRestoreState, processSaveState, processUpdates, processValidators, restoreState, saveState, visitTree
Methods inherited from class com.webmethods.caf.faces.component.panel.BaseHideablePanel
decode, findSuppressed, getRendersChildren, getSuppressInputs, getTableRowState, isAncestorOrSelf, isDisableWhenHidden, isLazy, isRefreshOnShow, isTwoPass, setDisableWhenHidden, setLazy, setRefreshOnShow, setSuppressInputs, setTableRowState, setTwoPass, setVisible
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, findComponent, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, 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, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
AbstractCompositeViewModalDialog
-
-
Method Details
-
importChildrenFromView
Override the super class so that the children of the modal dialog are dug out and injected as children of this control, instead of just adding the modal dialog control itself as a child.- Overrides:
importChildrenFromView
in classAbstractCompositeViewControl
- Parameters:
view
- the imported view- See Also:
-
encodeChildren
- Overrides:
encodeChildren
in classAbstractCompositeViewControl
- Throws:
IOException
-
isVisible
public boolean isVisible()Overriden to change the default value to false.- Specified by:
isVisible
in interfaceIHideablePanel
- Overrides:
isVisible
in classBaseHideablePanel
-
setApplyButtonAction
Deprecated.usesetApplyButtonActionExpression(MethodExpression)
instead -
getApplyButtonAction
Deprecated.usegetApplyButtonActionExpression()
instead -
setApplyButtonActionExpression
-
getApplyButtonActionExpression
-
applyDeferredProperties
protected void applyDeferredProperties()Override to process the deferred action (if any)- Overrides:
applyDeferredProperties
in classAbstractCompositeViewControl
-
getAttributes
- Overrides:
getAttributes
in classUIComponentBase
-
getValueExpression
- Overrides:
getValueExpression
in classUIComponent
-
setValueExpression
- Overrides:
setValueExpression
in classUIComponent
-
getApplyButtonActionExpression()
instead