@Named @RequestScoped public class ErrorHandlerBean extends Object
| Constructor and Description |
|---|
ErrorHandlerBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToErrors(SimpleEvent se)
Convenience method that observes
Constants.ADD_ERROR_EVENT. |
List<String> |
getErrors() |
boolean |
isErrorExist() |
public boolean isErrorExist()
public void addToErrors(@Observes
SimpleEvent se)
Constants.ADD_ERROR_EVENT. After error occured add error to the list of
erors andon rerendering modal panel with all errors will be showed.e - - string representation of error.Copyright © 2013 JBoss by Red Hat. All Rights Reserved.