alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
  "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">

<taglib>
  <tlibversion>1.0
  <jspversion>1.1
  <shortname>pg
  <uri>http://jsptags.com/tags/navigation/pager
  <info>
    The Pager Tag Library is the easy and flexible way to implement paging of
    large data sets in JavaServer Pages (JSP). It can emulate all currently
    known paging styles with minimal effort. It also includes re-usable index
    styles that emulate the search result navigators of popular web sites
    such as Google[sm], AltaVista® and Yahoo!. The Pager Tag Library does most
    of the work for you by dynamically organizing your data set into pages and
    generating a browsable index with virtually any look desired.
  </info>

  <tag>
    <name>pager
    <tagclass>com.jsptags.navigation.pager.PagerTag
    <teiclass>com.jsptags.navigation.pager.PagerTagExtraInfo
    <bodycontent>JSP
    <attribute>
      <name>id
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>url
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>items
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>maxItems
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>maxPageItems
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>maxIndexPages
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>isOffset
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>index
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>export
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>scope
      <required>false
      <rtexprvalue>true
    </attribute>
  </tag>

  <tag>
    <name>param
    <tagclass>com.jsptags.navigation.pager.ParamTag
    <bodycontent>empty
    <attribute>
      <name>id
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>name
      <required>true
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>value
      <required>false
      <rtexprvalue>true
    </attribute>
  </tag>

  <tag>
    <name>item
    <tagclass>com.jsptags.navigation.pager.ItemTag
    <bodycontent>JSP
    <attribute>
      <name>id
      <required>false
      <rtexprvalue>true
    </attribute>
  </tag>

  <tag>
    <name>index
    <tagclass>com.jsptags.navigation.pager.IndexTag
    <teiclass>com.jsptags.navigation.pager.IndexTagExtraInfo
    <bodycontent>JSP
    <attribute>
      <name>id
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>export
      <required>false
      <rtexprvalue>false
    </attribute>
  </tag>

  <tag>
    <name>first
    <tagclass>com.jsptags.navigation.pager.FirstTag
    <teiclass>com.jsptags.navigation.pager.JumpTagExtraInfo
    <bodycontent>JSP
    <attribute>
      <name>id
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>export
      <required>false
      <rtexprvalue>false
    </attribute>
    <attribute>
      <name>unless
      <required>false
      <rtexprvalue>true
    </attribute>
  </tag>

  <tag>
    <name>prev
    <tagclass>com.jsptags.navigation.pager.PrevTag
    <teiclass>com.jsptags.navigation.pager.PageTagExtraInfo
    <bodycontent>JSP
    <attribute>
      <name>id
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>export
      <required>false
      <rtexprvalue>false
    </attribute>
    <attribute>
      <name>ifnull
      <required>false
      <rtexprvalue>true
    </attribute>
  </tag>

  <tag>
    <name>page
    <tagclass>com.jsptags.navigation.pager.PageTag
    <teiclass>com.jsptags.navigation.pager.JumpTagExtraInfo
    <bodycontent>JSP
    <attribute>
      <name>id
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>export
      <required>false
      <rtexprvalue>false
    </attribute>
  </tag>

  <tag>
    <name>pages
    <tagclass>com.jsptags.navigation.pager.PagesTag
    <teiclass>com.jsptags.navigation.pager.PageTagExtraInfo
    <bodycontent>JSP
    <attribute>
      <name>id
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>export
      <required>false
      <rtexprvalue>false
    </attribute>
  </tag>

  <tag>
    <name>next
    <tagclass>com.jsptags.navigation.pager.NextTag
    <teiclass>com.jsptags.navigation.pager.PageTagExtraInfo
    <bodycontent>JSP
    <attribute>
      <name>id
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>export
      <required>false
      <rtexprvalue>false
    </attribute>
    <attribute>
      <name>ifnull
      <required>false
      <rtexprvalue>true
    </attribute>
  </tag>

  <tag>
    <name>last
    <tagclass>com.jsptags.navigation.pager.LastTag
    <teiclass>com.jsptags.navigation.pager.JumpTagExtraInfo
    <bodycontent>JSP
    <attribute>
      <name>id
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>export
      <required>false
      <rtexprvalue>false
    </attribute>
    <attribute>
      <name>unless
      <required>false
      <rtexprvalue>true
    </attribute>
  </tag>

  <tag>
    <name>skip
    <tagclass>com.jsptags.navigation.pager.SkipTag
    <teiclass>com.jsptags.navigation.pager.PageTagExtraInfo
    <bodycontent>JSP
    <attribute>
      <name>id
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>export
      <required>false
      <rtexprvalue>false
    </attribute>
    <attribute>
      <name>ifnull
      <required>false
      <rtexprvalue>true
    </attribute>
    <attribute>
      <name>pages
      <required>true
      <rtexprvalue>true
    </attribute>
  </tag>

</taglib>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.