Class ArrayPaneWithDataSource
- java.lang.Object
-
- org.silverpeas.core.web.util.viewgenerator.html.arraypanes.AbstractArrayPane
-
- org.silverpeas.core.web.util.viewgenerator.html.arraypanes.ArrayPaneWithDataSource
-
- All Implemented Interfaces:
ArrayPane
,SimpleGraphicElement
public class ArrayPaneWithDataSource extends AbstractArrayPane
The default implementation of ArrayPane interface.- Version:
- 1.0
- Author:
- squere
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.web.util.viewgenerator.html.arraypanes.AbstractArrayPane
EXPORT_URL_SERVLET_MAPPING
-
Fields inherited from interface org.silverpeas.core.web.util.viewgenerator.html.arraypanes.ArrayPane
ACTION_PARAMETER_NAME, CACHE_COLUMNS_KEY_SUFFIX, CACHE_LINES_KEY_SUFFIX, COLUMN_PARAMETER_NAME, TARGET_PARAMETER_NAME
-
-
Constructor Summary
Constructors Constructor Description ArrayPaneWithDataSource(String name, String url, javax.servlet.ServletRequest request, javax.servlet.http.HttpSession session)
Constructor declarationArrayPaneWithDataSource(String name, javax.servlet.jsp.PageContext pageContext)
Generic class to display a typical WA array table pane.ArrayPaneWithDataSource(String name, javax.servlet.ServletRequest request, javax.servlet.http.HttpSession session)
Constructor declaration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
print()
Method declarationvoid
setDataSource(WADataPaginator p)
Method declaration-
Methods inherited from class org.silverpeas.core.web.util.viewgenerator.html.arraypanes.AbstractArrayPane
addArrayColumn, addArrayLine, getCellPadding, getCellSpacing, getColumns, getColumnToSort, getExportDataURL, getExportUrl, getIconsPath, getLines, getName, getNbItems, getRequest, getSession, getSortable, getState, getSummary, getTitle, getUrl, init, init, init, isExportData, isMovableLines, isPaginationOptimized, printSortJavascriptFunction, setColumnToSort, setExportData, setExportDataURL, setLineMoveCallback, setMovableLines, setRoutingAddress, setSortable, setSummary, setTitle, setVisibleLineNumber
-
-
-
-
Constructor Detail
-
ArrayPaneWithDataSource
public ArrayPaneWithDataSource(String name, javax.servlet.jsp.PageContext pageContext)
Generic class to display a typical WA array table pane. A unique name identifier is to be used in html pages for this array specific actions (exemple : sort on a specific column)- Parameters:
name
- A unique name in the page to display
-
ArrayPaneWithDataSource
public ArrayPaneWithDataSource(String name, javax.servlet.ServletRequest request, javax.servlet.http.HttpSession session)
Constructor declaration- Parameters:
name
-request
-session
-
-
-
Method Detail
-
setDataSource
public void setDataSource(WADataPaginator p)
Method declaration- Parameters:
p
-
-
print
public String print()
Method declaration- Specified by:
print
in interfaceArrayPane
- Specified by:
print
in interfaceSimpleGraphicElement
- Overrides:
print
in classAbstractArrayPane
- Returns:
-
-