@Named(value="ErrorReportFormatter") public class ErrorReportFormatter extends Formatter
| Modifier and Type | Field and Description |
|---|---|
protected String |
errorsImg |
protected String |
messagesImg |
protected String |
warningsImg |
| Constructor and Description |
|---|
ErrorReportFormatter() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getErrorIcon(ErrorReport errorReport) |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Perform the required logic for this Formatter.
|
afterRendering, getLang, getLocale, getLocaleManager, getParameter, includePage, renderFragment, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeInterpreter, setTag, writeToOut@Inject protected String messagesImg
@Inject protected String warningsImg
@Inject protected String errorsImg
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws FormatterException
Formatterservice in class Formatterrequest - user requestresponse - response to the userFormatterException - in case of an unexpected exception.protected String getErrorIcon(ErrorReport errorReport)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.