org.jbpm.formModeler.service.bb.mvc.components.handling
Class MessagesComponentFormatter
java.lang.Object
org.jbpm.formModeler.service.bb.mvc.taglib.formatter.Formatter
org.jbpm.formModeler.service.bb.mvc.components.handling.MessagesComponentFormatter
@Named(value="MessagesComponentFormatter")
public class MessagesComponentFormatter
- extends 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 |
MessagesComponentFormatter
public MessagesComponentFormatter()
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.
renderMessages
protected void renderMessages(List messages,
List params,
String img,
String className)
localizeMessage
protected String localizeMessage(String message)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.