com.wewebu.ow.server.dmsdialogs.views
Class OwVicinityPageSelectorComponent

java.lang.Object
  extended by com.wewebu.ow.server.dmsdialogs.views.OwPageSelectorComponent
      extended by com.wewebu.ow.server.dmsdialogs.views.OwVicinityPageSelectorComponent

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

Since:
2.5.2.0

Field Summary
 
Fields inherited from class com.wewebu.ow.server.dmsdialogs.views.OwPageSelectorComponent
isStickyFooterInUse, LOG, m_configNode, m_view
 
Constructor Summary
OwVicinityPageSelectorComponent(OwPageableView view_p)
          Constructor
 
Method Summary
 void init()
          Initialize the number of pages from configuration.
 void render(Writer w_p)
          Render the component.
 
Methods inherited from class com.wewebu.ow.server.dmsdialogs.views.OwPageSelectorComponent
getDisplayCurrentPageNumber, getHumanReadablePageNumber, getLastPage, getPageAbsolutURL, getPageNextURL, getPagePrevURL, hasPaging, renderAccessibilityMark, setConfigNode, shouldRenderComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwVicinityPageSelectorComponent

public OwVicinityPageSelectorComponent(OwPageableView view_p)
Constructor

Parameters:
view_p - - the view on this component applies.
Method Detail

render

public void render(Writer w_p)
            throws Exception
Description copied from class: OwPageSelectorComponent
Render the component.

Specified by:
render in class OwPageSelectorComponent
Parameters:
w_p - - the writer
Throws:
Exception
See Also:
OwPageSelectorComponent.render(java.io.Writer)

init

public void init()
          throws Exception
Initialize the number of pages from configuration.

Overrides:
init in class OwPageSelectorComponent
Throws:
Exception - - when the initialization fails.
See Also:
OwPageSelectorComponent.init()


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.