org.richfaces.photoalbum.ui
Class ErrorHandlerBean
java.lang.Object
org.richfaces.photoalbum.ui.ErrorHandlerBean
@Named
@RequestScoped
public class ErrorHandlerBean
- extends Object
Convenience UI class for global eeror-checking mechanism
- Author:
- Andrey Markhel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorHandlerBean
public ErrorHandlerBean()
getErrors
public List<String> getErrors()
isErrorExist
public boolean isErrorExist()
addToErrors
public void addToErrors(@Observes
SimpleEvent se)
- Convenience method that observes
Constants.ADD_ERROR_EVENT. After error occured add error to the list of
erors andon rerendering modal panel with all errors will be showed.
- Parameters:
e - - string representation of error.
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.