Package javax.faces.event
Class PostKeepFlashValueEvent
- java.lang.Object
-
- java.util.EventObject
-
- javax.faces.event.SystemEvent
-
- javax.faces.event.PostKeepFlashValueEvent
-
public class PostKeepFlashValueEvent extends SystemEvent
This event must be published by a call to
Application.publishEvent(javax.faces.context.FacesContext, java.lang.Class<? extends javax.faces.event.SystemEvent>, java.lang.Object)
when a value is kept in the flash.- Since:
- 2.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PostKeepFlashValueEvent(java.lang.String key)
Instantiate a newPostKeepFlashValueEvent
that indicates the argumentkey
was just kept in the flash.PostKeepFlashValueEvent(FacesContext facesContext, java.lang.String key)
Instantiate a newPostKeepFlashValueEvent
that indicates the argumentkey
was just kept in the flash.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKey()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class javax.faces.event.SystemEvent
getFacesContext, isAppropriateListener, processListener
-
-
-
-
Constructor Detail
-
PostKeepFlashValueEvent
public PostKeepFlashValueEvent(java.lang.String key)
Instantiate a new
PostKeepFlashValueEvent
that indicates the argumentkey
was just kept in the flash. If the argument isnull
, the literalFlash.NULL_VALUE
must be passed to the superclass constructor.- Parameters:
key
- the key in the flash that was just kept.
-
PostKeepFlashValueEvent
public PostKeepFlashValueEvent(FacesContext facesContext, java.lang.String key)
Instantiate a new
PostKeepFlashValueEvent
that indicates the argumentkey
was just kept in the flash. If the argument isnull
, the literalFlash.NULL_VALUE
must be passed to the superclass constructor.- Parameters:
facesContext
- the Faces context.key
- the key in the flash that was just kept.
-
-