|
RichFaces Photoalbum 4.3.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.richfaces.photoalbum.ui.ErrorHandlerBean
@Named @RequestScoped public class ErrorHandlerBean
Convenience UI class for global eeror-checking mechanism
| Constructor Summary | |
|---|---|
ErrorHandlerBean()
|
|
| Method Summary | |
|---|---|
void |
addToErrors(ErrorEvent ee)
Convenience method that observes Event of type Events.ADD_ERROR_EVENT. |
void |
setJSError(String message)
Pseudo-setter that shows error that originated in JS code, using as a middle-man. |
void |
showError(String summary,
String detail)
Creates a on the site. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorHandlerBean()
| Method Detail |
|---|
public void showError(String summary,
String detail)
on the site.
summary - - summary of the errordetail - - detailed description of the error
public void addToErrors(@Observes
ErrorEvent ee)
Events.ADD_ERROR_EVENT.
ee - - event fired upon error.public void setJSError(String message)
as a middle-man.
message - - summary and detail separated by '$#$'
|
RichFaces Photoalbum 4.3.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||