Configuration Properties

Wanghy-TableTag relies on the Internationalization Tag Library (fmt) from the JSTL to load its configuration properties.

Here is a detailed example of a properties file:

# What the various objects in the list being displayed should be referred to as 
# (singular)
tabletag.paging.banner.item_name=item

# What the various objects in the list being displayed should be referred to as 
# (plural)
tabletag.paging.banner.items_name=items

# What is shown in the pagination header when one object is available in the 
# list to be displayed. The single placeholder is replaced with the name of the 
# items in the list (singular)
tabletag.paging.banner.one_item_found=<span class="pagebanner">One {0} found.</span>

# What is shown in the pagination header when all the objects in the list are 
# being shown. {0} and {2} are replaced with the number of objects in the list, 
# {1} is replaced with the name of the items {plural}
tabletag.paging.banner.all_items_found=<span class="pagebanner">{0} {1} found, displaying all {2}.</span>

# What is shown in the pagination header when a partial list of the objects in 
# the list are being shown. Parameters:
#    * {0}: total number of objects in the list
#    * {1}: name of the items (plural)
#    * {2}: start index of the objects being shown
#    * {3}: end index of the objects being shown
#    * {4}: current page
#    * {5}: total number of pages
tabletag.paging.banner.some_items_found=<span class="pagebanner">{0} {1} found, displaying {2} to {3}.</span>

# What is shown in the pagination bar when there are more pages and the selected 
# page is not the first or the last one. Parameters:
#    * {0}: numbered pages list
#    * {1}: link to the first page
#    * {2}: link to the previous page
#    * {3}: link to the next page
#    * {4}: link to the last page
#    * {5}: current page
#    * {6}: total number of pages
tabletag.paging.banner.full=<span class="pagelinks">[<a href="{1}">First</a>/<a href="{2}">Prev</a>] {0} [<a href="{3}">Next</a>/<a href="{4}">Last</a>]</span>

# What is shown in the pagination bar when the first page is being shown. 
# Placeholders are the same as for paging.banner.full.
tabletag.paging.banner.first=<span class="pagelinks">[First/Prev] {0} [<a href="{3}">Next</a>/<a href="{4}">Last</a>]</span>

# What is shown in the pagination bar when the last page is being shown. 
# Placeholders are the same as for paging.banner.full.
tabletag.paging.banner.last=<span class="pagelinks">[<a href="{1}">First</a>/<a href="{2}">Prev</a>] {0} [Next/Last]</span>

# What is shown in the pagination bar when only one page is returned. 
# Placeholders are the same as for paging.banner.full.
tabletag.paging.banner.onepage=<span class="pagelinks">{0}</span>	 

# Separator between pages.
tabletag.paging.banner.page.separator=,

# Selected page. {0} is replaced with the page number.
tabletag.paging.banner.page.selected=<strong>{0}</strong>