public class PopupPanelsInstanceFormatter extends Formatter
Modifier and Type | Field and Description |
---|---|
static int |
instancesInPage |
static int |
truncateSize |
Constructor and Description |
---|
PopupPanelsInstanceFormatter() |
Modifier and Type | Method and Description |
---|---|
protected Map |
calculatePanelsStatistics(WorkspaceImpl workspace) |
PopupPanelsHandler |
getHandler() |
protected void |
renderInstances(String providerId,
String groupName,
Map instances) |
void |
renderPagination(int lastShowedItem,
int currentPage,
int elements,
String providerId) |
void |
service(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Perform the required logic for this Formatter.
|
void |
setHandler(PopupPanelsHandler handler) |
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
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, shutdown, start, stop
public static int instancesInPage
public static int truncateSize
public PopupPanelsHandler getHandler()
public void setHandler(PopupPanelsHandler handler)
public void service(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws FormatterException
Formatter
service
in class Formatter
httpServletRequest
- user requesthttpServletResponse
- response to the userFormatterException
- in case of an unexpected exception.public void renderPagination(int lastShowedItem, int currentPage, int elements, String providerId)
protected Map calculatePanelsStatistics(WorkspaceImpl workspace)
Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.