|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.shale.dialog.DialogHelper
public final class DialogHelper
Helper class that provides static accessor methods for key objects provided by the Dialog Manager module.
Method Summary | |
---|---|
static DialogContext |
getDialogContext()
Return the active DialogContext instance for the current
request, if any; otherwise, return null . |
static DialogContext |
getDialogContext(javax.faces.context.FacesContext context)
Return the active DialogContext instance for the current
request, if any; otherwise, return null . |
static DialogContextManager |
getDialogContextManager()
Return the DialogContextManager instance for the current
user, creating it first if necessary. |
static DialogContextManager |
getDialogContextManager(javax.faces.context.FacesContext context)
Return the DialogContextManager instance for the current
user, creating it first if necessary. |
static Object |
getDialogData()
Return the data property of the active
DialogContext instance for the current request, if any;
otherwise, return null . |
static Object |
getDialogData(javax.faces.context.FacesContext context)
Return the data property of the active
DialogContext instance for the current request, if any;
otherwise, return null . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Object getDialogData()
Return the data
property of the active
DialogContext
instance for the current request, if any;
otherwise, return null
.
public static Object getDialogData(javax.faces.context.FacesContext context)
Return the data
property of the active
DialogContext
instance for the current request, if any;
otherwise, return null
.
context
- FacesContext
for the current requestpublic static DialogContext getDialogContext()
Return the active DialogContext
instance for the current
request, if any; otherwise, return null
.
public static DialogContext getDialogContext(javax.faces.context.FacesContext context)
Return the active DialogContext
instance for the current
request, if any; otherwise, return null
.
context
- FacesContext
for the current requestpublic static DialogContextManager getDialogContextManager()
Return the DialogContextManager
instance for the current
user, creating it first if necessary.
public static DialogContextManager getDialogContextManager(javax.faces.context.FacesContext context)
Return the DialogContextManager
instance for the current
user, creating it first if necessary.
context
- FacesContext
for the current request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |