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.
|
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
public static int instancesInPage
public static int truncateSize
public PopupPanelsHandler getHandler()
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-2015 JBoss by Red Hat. All Rights Reserved.