Class PageBeanComponentAsControlWithAction
java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
org.eclnt.jsfserver.pagebean.componentascontrol.PageBeanComponentAsControl
org.eclnt.jsfserver.pagebean.componentascontrol.PageBeanComponentAsControlWithAction
- All Implemented Interfaces:
IConfiguredByLayout
,IActionEventDelegationProvider
,IPageBeanComponentAsControl
,IPageBean
,IDynamicContentBindingObject
- Direct Known Subclasses:
UNIFIEDPOLLINGBinding
public abstract class PageBeanComponentAsControlWithAction
extends PageBeanComponentAsControl
implements IActionEventDelegationProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Nested classes/interfaces inherited from class org.eclnt.jsfserver.pagebean.componentascontrol.PageBeanComponentAsControl
PageBeanComponentAsControl.ILiteralResolver, PageBeanComponentAsControl.LitMap
-
Field Summary
Fields inherited from class org.eclnt.jsfserver.pagebean.PageBean
m_pageModifier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
delegateActionEvent
(String eventInfo) Calls the actionListener that is registered for the component.Direct registration for action events that are sent by this component.void
void
setDirectActionListener
(PageBeanComponentAsControlWithAction.IDirectActionListener directActionListener) Methods inherited from class org.eclnt.jsfserver.pagebean.componentascontrol.PageBeanComponentAsControl
getLit, initializePageBean, initializePageBeanConfigItems, transferAttributeReferencesIntoPageBeanInstance
Methods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
addConfiguredByLayoutListener, findLiteralResourceName, getClassDefiningPageBean, getLayoutPath, getLiteralResolver, getPageName, initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized, readLiteral, readLiteralByOwnResourceBundle, removeConfiguredByLayoutListener, setLiteralResolver
Methods inherited from class org.eclnt.jsfserver.pagebean.PageBean
buildContentReplaceString, closePopup, getActualRootExpression, getModalModelessPopupForPopupPageBean, getPageModifier, getPopups, getRootExpressionUsedInPage, getStamp, initializePageModifier, onBeforeRendering, openModalPopup, openModelessPopup, pbx, readPageLayoutXML, setActualRootExpression
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclnt.jsfserver.elements.IConfiguredByLayout
addConfiguredByLayoutListener, removeConfiguredByLayoutListener
Methods inherited from interface org.eclnt.jsfserver.pagebean.IPageBean
closePopup, getActualRootExpression, getPageModifier, getPageName, getRootExpressionUsedInPage, getStamp, onBeforeRendering, openModalPopup, openModelessPopup, setActualRootExpression
Methods inherited from interface org.eclnt.jsfserver.pagebean.componentascontrol.IPageBeanComponentAsControl
initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized
-
Constructor Details
-
PageBeanComponentAsControlWithAction
public PageBeanComponentAsControlWithAction()
-
-
Method Details
-
setActionDelegationListener
- Specified by:
setActionDelegationListener
in interfaceIActionEventDelegationProvider
-
getDirectActionListener
Direct registration for action events that are sent by this component. You may use this action listeners if embedding the page bean component directly (i.e. without "going through the layout". -
setDirectActionListener
public void setDirectActionListener(PageBeanComponentAsControlWithAction.IDirectActionListener directActionListener) -
delegateActionEvent
Calls the actionListener that is registered for the component.- Parameters:
eventInfo
- This is the string that is converted into an event of typeBaseActionEvent
. E.g. "flush()" is converted into an event of typeBaseActionEventFlush
. The event string may have parameters which are listed as arguments ("eventname(param1,param2,...)") and that are transferred into the event instance as "params", they can be then accessed byBaseActionEvent.getParam(int)
.
The transfer of the event string into the event instance is part of classBaseActionComponent
.
-