org.hdpagination.web.jsf.renderkit.jsf2
Class PaginateLinkRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.hdpagination.web.jsf.renderkit.jsf2.BaseRenderer
          extended by org.hdpagination.web.jsf.renderkit.jsf2.PaginateLinkRenderer

public class PaginateLinkRenderer
extends BaseRenderer

This Renderer is to render pagination navigation links (e.g. Previous Next 1 2 3 4 5 6 7 8 First Last). The layout of the links is configurable via injecting different implementation instance of PageLinksPattern interface into GlobalConfig. There are some pattern implementation classes available to choose in package org.hdpagination.config.pattern

Since:
1.3
Author:
Liangfeng Ren

Field Summary
 
Fields inherited from class org.hdpagination.web.jsf.renderkit.jsf2.BaseRenderer
logger
 
Constructor Summary
PaginateLinkRenderer()
           
 
Method Summary
 void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 
Methods inherited from class org.hdpagination.web.jsf.renderkit.jsf2.BaseRenderer
decode
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeChildren, encodeEnd, getConvertedValue, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaginateLinkRenderer

public PaginateLinkRenderer()
Method Detail

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context,
                        javax.faces.component.UIComponent component)
                 throws java.io.IOException
Overrides:
encodeBegin in class javax.faces.render.Renderer
Throws:
java.io.IOException


Copyright © 2008 HDPagination All Rights Reserved.