@Name(value="nuxeoFacesTransactionEvents") @Scope(value=APPLICATION) @Install(precedence=0, classDependencies="javax.faces.context.FacesContext") @BypassInterceptors @Startup public class NuxeoFacesTransactionEvents extends Object
The default FacesTransactionEvents
observer is disabled in components.xml.
FacesTransactionEvents
Modifier and Type | Field and Description |
---|---|
protected boolean |
transactionFailedMessageEnabled |
Constructor and Description |
---|
NuxeoFacesTransactionEvents() |
Modifier and Type | Method and Description |
---|---|
void |
addTransactionFailedMessage(int status) |
String |
getTransactionFailedMessage() |
String |
getTransactionFailedMessageKey() |
org.jboss.seam.international.StatusMessage.Severity |
getTransactionFailedMessageSeverity() |
boolean |
isTransactionFailedMessageEnabled() |
void |
setTransactionFailedMessageEnabled(boolean enabled) |
protected boolean transactionFailedMessageEnabled
public NuxeoFacesTransactionEvents()
@Observer(value="org.jboss.seam.transaction.transactionFailed") public void addTransactionFailedMessage(int status)
public String getTransactionFailedMessage()
public org.jboss.seam.international.StatusMessage.Severity getTransactionFailedMessageSeverity()
public String getTransactionFailedMessageKey()
public boolean isTransactionFailedMessageEnabled()
public void setTransactionFailedMessageEnabled(boolean enabled)
Copyright © 2019 Nuxeo. All rights reserved.