public class OwVicinityPageSelectorComponent extends OwPageSelectorComponent
Class that render the each page number as a link. No matter how many pages are to display, the first and the last page is always shown. Between the first and the last page, are displayed 5 pages. This number of pages can be configured from owplugins.xml
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
isStickyFooterInUse, LOG, m_configNode, m_view| Constructor and Description |
|---|
OwVicinityPageSelectorComponent(OwPageableView view_p)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Initialize the number of pages from configuration.
|
void |
render(Writer w_p)
Render the component.
|
getDisplayCurrentPageNumber, getHumanReadablePageNumber, getLastPage, getPageAbsolutURL, getPageNextURL, getPagePrevURL, hasPaging, renderAccessibilityMark, setConfigNode, shouldRenderComponentpublic OwVicinityPageSelectorComponent(OwPageableView view_p)
view_p - - the view on this component applies.public void render(Writer w_p) throws Exception
OwPageSelectorComponentrender in class OwPageSelectorComponentw_p - - the writerExceptionOwPageSelectorComponent.render(java.io.Writer)public void init()
throws Exception
init in class OwPageSelectorComponentException - - when the initialization fails.OwPageSelectorComponent.init()Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.