Dashboard Builder UI Panels 6.0.0.Beta3

org.jboss.dashboard.ui.panel.export
Class RenderExportResultFormatter

java.lang.Object
  extended by org.jboss.dashboard.factory.BasicFactoryElement
      extended by org.jboss.dashboard.ui.taglib.formatter.Formatter
          extended by org.jboss.dashboard.ui.panel.export.RenderExportResultFormatter
All Implemented Interfaces:
Serializable, org.jboss.dashboard.factory.FactoryLifecycle

public class RenderExportResultFormatter
extends org.jboss.dashboard.ui.taglib.formatter.Formatter

See Also:
Serialized Form

Constructor Summary
RenderExportResultFormatter()
           
 
Method Summary
 void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Perform the required logic for this Formatter.
 
Methods inherited from class org.jboss.dashboard.ui.taglib.formatter.Formatter
afterRendering, formatObject, getDefaultLang, getDriver, getEncoding, getLang, getLocale, getLocaleManager, getLocalizedValue, getPanel, getParameter, getProvider, getSection, getWorkspace, includePage, renderFragment, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeInterpreter, setTag, writeToOut
 
Methods inherited from class org.jboss.dashboard.factory.BasicFactoryElement
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, shutdown, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderExportResultFormatter

public RenderExportResultFormatter()
Method Detail

service

public void service(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws org.jboss.dashboard.ui.taglib.formatter.FormatterException
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 org.jboss.dashboard.ui.taglib.formatter.Formatter
Parameters:
request - user request
response - response to the user
Throws:
org.jboss.dashboard.ui.taglib.formatter.FormatterException - in case of an unexpected exception.

Dashboard Builder UI Panels 6.0.0.Beta3

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.