org.jbpm.formModeler.service.error
Class ErrorReportFormatter
java.lang.Object
org.jbpm.formModeler.service.bb.mvc.taglib.formatter.Formatter
org.jbpm.formModeler.service.error.ErrorReportFormatter
@Named(value="ErrorReportFormatter")
public class ErrorReportFormatter
- extends Formatter
|
Method Summary |
protected String |
getErrorIcon(ErrorReport errorReport)
|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Perform the required logic for this Formatter. |
| Methods inherited from class org.jbpm.formModeler.service.bb.mvc.taglib.formatter.Formatter |
afterRendering, getLang, getLocale, getLocaleManager, getParameter, includePage, renderFragment, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeInterpreter, setTag, writeToOut |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messagesImg
@Inject
protected String messagesImg
warningsImg
@Inject
protected String warningsImg
errorsImg
@Inject
protected String errorsImg
ErrorReportFormatter
public ErrorReportFormatter()
service
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws FormatterException
- Description copied from class:
Formatter
- Perform the required logic for this Formatter. Inside, the methods
setAttribute and renderFragment are intended to be used to generate the
output and set parameters for this output.
Method getParameter is intended to retrieve input parameters by name.
Exceptions are to be catched inside the method, and not to be thrown, normally,
formatters could use a error fragment to be displayed when an error happens
in displaying. But if the error is unexpected, it can be wrapped inside a
FormatterException.
- Specified by:
service in class Formatter
- Parameters:
request - user requestresponse - response to the user
- Throws:
FormatterException - in case of an unexpected exception.
getErrorIcon
protected String getErrorIcon(ErrorReport errorReport)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.