Package de.xima.fc.gui.bean.application
Class DialogBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class DialogBean extends FCContextBean
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:
- Serialized Form
-
-
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
systemUC
-
Fields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean
-
-
Constructor Summary
Constructors Constructor Description DialogBean()
-
Method Summary
-
Methods inherited from class de.xima.fc.gui.bean.FCContextBean
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubView
-
Methods inherited from class de.xima.fc.gui.bean.ABackendJSFContext
ec, findEntityContext, isDetached, isHasDB
-
Methods 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, uc
-
Methods 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, msg
-
-
-
-
Method Detail
-
closeDialog
public void closeDialog(String dialogId)
-
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
public boolean isOpened(String dialogId)
-
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
public void openDialog(String dialogId)
-
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 public boolean isOpened(EViews view)
Deprecated.
-
openDialog
@Deprecated public void openDialog(EViews view)
Deprecated.
-
closeDialog
@Deprecated public void closeDialog(EViews view)
Deprecated.
-
-