public class PostKeepFlashValueEvent extends SystemEvent
This event must be published by a call to Application.publishEvent(jakarta.faces.context.FacesContext, java.lang.Class<? extends jakarta.faces.event.SystemEvent>, java.lang.Object)
when a value is
kept in the flash.
source
Constructor and Description |
---|
PostKeepFlashValueEvent(FacesContext facesContext,
String key)
Instantiate a new |
PostKeepFlashValueEvent(String key)
Instantiate a new |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
getFacesContext, isAppropriateListener, processListener
getSource, toString
public PostKeepFlashValueEvent(String key)
Instantiate a new PostKeepFlashValueEvent
that indicates the argument key
was just kept in
the flash. If the argument is null
, the literal Flash.NULL_VALUE
must be passed to the
superclass constructor.
key
- the key in the flash that was just kept.public PostKeepFlashValueEvent(FacesContext facesContext, String key)
Instantiate a new PostKeepFlashValueEvent
that indicates the argument key
was just kept in
the flash. If the argument is null
, the literal Flash.NULL_VALUE
must be passed to the
superclass constructor.
facesContext
- the Faces context.key
- the key in the flash that was just kept.public String getKey()
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.