public class PostPutFlashValueEvent 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 stored in the flash.
source
Constructor and Description |
---|
PostPutFlashValueEvent(FacesContext facesContext,
String key)
Instantiate a new
|
PostPutFlashValueEvent(String key)
Instantiate a new
|
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
getFacesContext, isAppropriateListener, processListener
getSource, toString
public PostPutFlashValueEvent(String key)
Instantiate a new
PostPutFlashValueEvent
that indicates the argument
key
was just put to 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 PostPutFlashValueEvent(FacesContext facesContext, String key)
Instantiate a new
PostPutFlashValueEvent
that indicates the argument
key
was just put to 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 © 2019 JBoss by Red Hat. All rights reserved.