public class PreRemoveFlashValueEvent 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 removed from the flash.
source
Constructor and Description |
---|
PreRemoveFlashValueEvent(FacesContext facesContext,
String key)
Instantiate a new
|
PreRemoveFlashValueEvent(String key)
Instantiate a new
|
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
getFacesContext, isAppropriateListener, processListener
getSource, toString
public PreRemoveFlashValueEvent(String key)
Instantiate a new
PreRemoveFlashValueEvent
that indicates the argument
key
will be removed from 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 added.public PreRemoveFlashValueEvent(FacesContext facesContext, String key)
Instantiate a new
PreRemoveFlashValueEvent
that indicates the argument
key
will be removed from 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 added.public String getKey()
Copyright © 1997–2019 Eclipse Foundation. All rights reserved.