Package org.eclnt.workplace
Class WorkpageByPageBean
java.lang.Object
org.eclnt.workplace.Workpage
org.eclnt.workplace.WorkpageByPageBean
- All Implemented Interfaces:
Serializable
,IWorkpage
Workpage that contains a page bean that is shown as workpage content.
- See Also:
-
Constructor Summary
ConstructorDescriptionWorkpageByPageBean
(IWorkpageDispatcher dispatcher, String title, WorkpageStartInfo wpsi) Constructor in which you pass the name of the page bean, that is used within the workpage's dispatcher for creating an instance of the page bean.WorkpageByPageBean
(IWorkpageDispatcher dispatcher, String title, WorkpageStartInfo wpsi, ICreatePageBeanInstance beanCreator) Constructor in which you can explicitly control the creation of the page bean instance.WorkpageByPageBean
(IWorkpageDispatcher dispatcher, IPageBean pageBean, String id, String title, String iconURL, boolean isDecorated) Constructor in which you pass a page bean that you already created on your own. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Default behaviour: the dispatcher gets destroyed.boolean
Managed at runtime by workplace management: if a page opens up semi modal popup dialogs then the page need to be blocked.void
This method is called whenever the workpage container is pushing this page to be displayed.void
This method is called whenever a workpage that is currently shown within in the content area is replaced by another one.void
The page is (re)shown in the content area of the workplace.void
The page is (re)shown in a modeless popup.protected void
Registration of the page bean that was passed within the constructor inside the dispatcher that was created for this workpage.Methods inherited from class org.eclnt.workplace.Workpage
addLifecycleListener, addWorkpageProcessingEventListener, assignIdToModelessPopup, checkIfWorkpageProcessingEventIsRelevant, close, closeAndContinue, closeSemiModalPopup, createModalPopupInWorkpageContext, createModelessPopupInWorkpageContext, getClientName, getComment, getDispatcher, getDragsend, getExcludeFromSavePerspective, getIconURL, getId, getJspPage, getLifecycleListeners, getModelesspopup, getModelessPopupOfWorkpage, getParam, getParamMap, getSelectorBgpaint, getSelectorTitle, getSelectorTitleOriginal, getStartSubWorkpageContainerId, getTitle, getUniqueTechnicalId, getWorkpageContainer, getWorkpageStartInfo, isCloseSupported, isDecorated, isPopupDecorated, isPopupSupported, isShown, openSemiModalPopup, processWorkpageProcessingEvent, reactOnBeforeHide, reactOnReselectedInContentArea, reactOnSwitchToPage, removeLifecycleListener, removeWorkpageProcessingEventListener, setCloseSupported, setComment, setDecorated, setExcludeFromSavePerspective, setIconURL, setId, setJspPage, setModelessPopupOfWorkpage, setParam, setPopupDecorated, setPopupSupported, setSelectorBgpaint, setSelectorTitle, setStartSubWorkpageContainerId, setTitle, setWorkpageStartInfo, throwWorkpageProcessingEvent, toString
-
Constructor Details
-
WorkpageByPageBean
public WorkpageByPageBean(IWorkpageDispatcher dispatcher, IPageBean pageBean, String id, String title, String iconURL, boolean isDecorated) Constructor in which you pass a page bean that you already created on your own. If the page bean is of typeWorkpageDispatchedPageBean
then the workpage's dispatcher is set into the dispatcher of the page bean. -
WorkpageByPageBean
Constructor in which you pass the name of the page bean, that is used within the workpage's dispatcher for creating an instance of the page bean. The name is the one that is used in expressions, e.g. when using "#{d.AbcUI}", the name is "AbcUI". -
WorkpageByPageBean
public WorkpageByPageBean(IWorkpageDispatcher dispatcher, String title, WorkpageStartInfo wpsi, ICreatePageBeanInstance beanCreator) Constructor in which you can explicitly control the creation of the page bean instance.
-
-
Method Details
-
getPageBean
-
isBlocked
public boolean isBlocked()Description copied from interface:IWorkpage
Managed at runtime by workplace management: if a page opens up semi modal popup dialogs then the page need to be blocked. -
reactOnDisplay
public void reactOnDisplay()Description copied from interface:IWorkpage
This method is called whenever the workpage container is pushing this page to be displayed.- Specified by:
reactOnDisplay
in interfaceIWorkpage
- Overrides:
reactOnDisplay
in classWorkpage
- Parameters:
pageBean
-title
-width
-height
-popupListener
-
-
reactOnShownInContentArea
public void reactOnShownInContentArea()Description copied from interface:IWorkpage
The page is (re)shown in the content area of the workplace.- Specified by:
reactOnShownInContentArea
in interfaceIWorkpage
- Overrides:
reactOnShownInContentArea
in classWorkpage
-
reactOnHide
public void reactOnHide()Description copied from interface:IWorkpage
This method is called whenever a workpage that is currently shown within in the content area is replaced by another one.- Specified by:
reactOnHide
in interfaceIWorkpage
- Overrides:
reactOnHide
in classWorkpage
-
reactOnShownInPopup
public void reactOnShownInPopup()Description copied from interface:IWorkpage
The page is (re)shown in a modeless popup.- Specified by:
reactOnShownInPopup
in interfaceIWorkpage
- Overrides:
reactOnShownInPopup
in classWorkpage
-
closeForced
public void closeForced()Description copied from class:Workpage
Default behaviour: the dispatcher gets destroyed.- Specified by:
closeForced
in interfaceIWorkpage
- Overrides:
closeForced
in classWorkpage
-
registerPageBeanInDispatcher
protected void registerPageBeanInDispatcher()Registration of the page bean that was passed within the constructor inside the dispatcher that was created for this workpage.
-