Package de.xima.fc.gui.bean.application
Class DialogBean
- All Implemented Interfaces:
Serializable
Emulates the dynamic functionality of a primefaces dialog. Using the attribute dynamic on a primefaces dialog may
result in an additional, unwanted AJAX request.
For example: The user clicks a button to open a dialog. A bean for that dialog needs to be updated, we use a
p:ajax handler to update the bean. In the same AJAX request, we also call the appropriate method on this
bean. We also update the dialog in the same AJAX request. Had we used the dynamic attribute of a primefaces dialog,
we would have to show the dialog after updating the bean, which would result in an additional AJAX request (and an
additional loading screen).
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder -
Field Summary
Fields inherited from class de.xima.fc.gui.bean.FCContextBean
systemUCFields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcloseDialog(EViews view) Deprecated.voidcloseDialog(String dialogId) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanDeprecated.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidvoidvoidvoidvoidvoidvoidopenDialog(EViews view) Deprecated.voidopenDialog(String dialogId) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class de.xima.fc.gui.bean.FCContextBean
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubViewMethods inherited from class de.xima.fc.gui.bean.ABackendJSFContext
ec, findEntityContext, isDetached, isHasDBMethods inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, findUserContext, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, ucMethods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, errorMsg, errorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg, msgMethods inherited from class de.xima.fc.gui.common.utils.msg.I18nUtils
getFacesContext, getLocale, rbValue, rbValue, rbValue, rbValueOrDefault, rbValueOrDefault
-
Constructor Details
-
DialogBean
public DialogBean()
-
-
Method Details
-
closeDialog
-
isAccessOpened
public boolean isAccessOpened() -
isAppointmentsOpened
public boolean isAppointmentsOpened() -
isDatatableOpened
public boolean isDatatableOpened() -
isDbConnOpened
public boolean isDbConnOpened() -
isDbQueryOpened
public boolean isDbQueryOpened() -
isFilesOpened
public boolean isFilesOpened() -
isClientFilesOpened
public boolean isClientFilesOpened() -
isInboxTableOpened
public boolean isInboxTableOpened() -
isLdapConnOpened
public boolean isLdapConnOpened() -
isLdapQueryOpened
public boolean isLdapQueryOpened() -
isOpened
-
isProjectGroupEditOpened
public boolean isProjectGroupEditOpened() -
isProjectDetailsOpened
public boolean isProjectDetailsOpened() -
isProjectDOIOpened
public boolean isProjectDOIOpened() -
isProjectUpdateWorkflowOpened
public boolean isProjectUpdateWorkflowOpened() -
isPublishOpened
public boolean isPublishOpened() -
isSourcesOpened
public boolean isSourcesOpened() -
isResourcesOpened
public boolean isResourcesOpened() -
isVersionsOpened
public boolean isVersionsOpened() -
isWorkflowOpened
public boolean isWorkflowOpened() -
isPrintExportOpened
public boolean isPrintExportOpened() -
isPortraitExportOpened
public boolean isPortraitExportOpened() -
isExportOpened
public boolean isExportOpened() -
openAccess
public void openAccess() -
openAppointments
public void openAppointments() -
openDatatable
public void openDatatable() -
openDbConn
public void openDbConn() -
openDbQuery
public void openDbQuery() -
openProjectUpdateWorkflow
public void openProjectUpdateWorkflow() -
openDialog
-
openClientFiles
public void openClientFiles() -
openFiles
public void openFiles() -
openInboxTable
public void openInboxTable() -
openLdapConn
public void openLdapConn() -
openLdapQuery
public void openLdapQuery() -
openProjectGroupEdit
public void openProjectGroupEdit() -
openProjectDetails
public void openProjectDetails() -
openProjectDOIDetails
public void openProjectDOIDetails() -
openPublish
public void openPublish() -
openSources
public void openSources() -
openResources
public void openResources() -
openVersions
public void openVersions() -
openWorkflow
public void openWorkflow() -
openInvite
public void openInvite() -
openPrintExport
public void openPrintExport() -
openPortraitExport
public void openPortraitExport() -
openExport
public void openExport() -
isOpened
Deprecated. -
openDialog
Deprecated. -
closeDialog
Deprecated.
-