org.apache.myfaces.trinidadinternal.context
Class DialogServiceImpl
java.lang.Object
org.apache.myfaces.trinidad.context.DialogService
org.apache.myfaces.trinidadinternal.context.DialogServiceImpl
public class DialogServiceImpl
- extends org.apache.myfaces.trinidad.context.DialogService
| Fields inherited from class org.apache.myfaces.trinidad.context.DialogService |
DIALOG_NAVIGATION_PREFIX_PARAM_NAME, DISABLE_DIALOG_OUTCOMES_PARAM_NAME |
|
Method Summary |
org.apache.myfaces.trinidad.event.ReturnEvent |
getReturnEvent(javax.faces.component.UIComponent source)
|
void |
launchDialog(javax.faces.component.UIViewRoot dialogRoot,
java.util.Map<java.lang.String,java.lang.Object> dialogParameters,
javax.faces.component.UIComponent source,
boolean useWindow,
java.util.Map<java.lang.String,java.lang.Object> windowProperties)
Launch a dialog. |
javax.faces.component.UIViewRoot |
peekView()
|
static void |
pinPriorState(javax.faces.context.FacesContext context)
Store the current state token (if a dialog has been launched). |
void |
popView(boolean navigateToPoppedView)
|
void |
pushView(javax.faces.component.UIViewRoot viewRoot)
|
void |
queueLaunchEvent(javax.faces.component.UIViewRoot viewRoot)
|
void |
queueReturnEvent(java.lang.Object returnValue,
java.util.Map<java.lang.Object,java.lang.Object> returnParams)
|
boolean |
returnFromDialog(java.lang.Object returnValue,
java.util.Map<java.lang.Object,java.lang.Object> returnParameters)
|
static void |
writeCurrentStateToken(javax.faces.context.FacesContext context,
java.lang.String token)
Store the current state token (if a dialog has been launched). |
| Methods inherited from class org.apache.myfaces.trinidad.context.DialogService |
getCurrentLaunchSource, getDialogNavigationPrefix, setCurrentLaunchSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIALOG_RETURN
public static final java.lang.String DIALOG_RETURN
- See Also:
- Constant Field Values
DialogServiceImpl
public DialogServiceImpl(RequestContextImpl context)
pushView
public void pushView(javax.faces.component.UIViewRoot viewRoot)
- Specified by:
pushView in class org.apache.myfaces.trinidad.context.DialogService
popView
public void popView(boolean navigateToPoppedView)
- Specified by:
popView in class org.apache.myfaces.trinidad.context.DialogService
peekView
public javax.faces.component.UIViewRoot peekView()
- Specified by:
peekView in class org.apache.myfaces.trinidad.context.DialogService
returnFromDialog
public boolean returnFromDialog(java.lang.Object returnValue,
java.util.Map<java.lang.Object,java.lang.Object> returnParameters)
- Specified by:
returnFromDialog in class org.apache.myfaces.trinidad.context.DialogService
getReturnEvent
public org.apache.myfaces.trinidad.event.ReturnEvent getReturnEvent(javax.faces.component.UIComponent source)
- Specified by:
getReturnEvent in class org.apache.myfaces.trinidad.context.DialogService
queueLaunchEvent
public void queueLaunchEvent(javax.faces.component.UIViewRoot viewRoot)
- Specified by:
queueLaunchEvent in class org.apache.myfaces.trinidad.context.DialogService
queueReturnEvent
public void queueReturnEvent(java.lang.Object returnValue,
java.util.Map<java.lang.Object,java.lang.Object> returnParams)
- Specified by:
queueReturnEvent in class org.apache.myfaces.trinidad.context.DialogService
writeCurrentStateToken
public static void writeCurrentStateToken(javax.faces.context.FacesContext context,
java.lang.String token)
- Store the current state token (if a dialog has been launched).
pinPriorState
public static void pinPriorState(javax.faces.context.FacesContext context)
- Store the current state token (if a dialog has been launched).
launchDialog
public void launchDialog(javax.faces.component.UIViewRoot dialogRoot,
java.util.Map<java.lang.String,java.lang.Object> dialogParameters,
javax.faces.component.UIComponent source,
boolean useWindow,
java.util.Map<java.lang.String,java.lang.Object> windowProperties)
- Launch a dialog.
- Specified by:
launchDialog in class org.apache.myfaces.trinidad.context.DialogService
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.