|
Philip Chauvet
does Java, J2EE, Web and Application Development. |
|
<nav:alphanavbar:*> tag library |
The alphabetical navigation tag library, <nav:alphanavbar:*>, creates an alphabetic navigation bar by slicing and dicing string data stored in a java.util.List object into 36 alphabetically sub list.
Like the display tag library,<display:*>, the <nav:alphanavbar:*> tag is an open source suite of custom tags that provide high level web presentation patterns which will work in an MVC model. The library provides a significant amount of functionality while still being simple and straight-forward to use.
Key Features:
o The <nav:alphanavbar:*> works with but is independent of the <display:*> tag.
o The string contents of a java.util.List object are broken up by the letter of the alphabet
and place
in a map object keyed by the alphabetic letters to be navigated.
For example to get the 'A' list use the A character as a key.
36 sub list to capture the java.util.List string entries: [A][B] [C] ...... [X] [Y] [Z].
There is the ability to revert to the [Full] list, instead of the broken list.
Here are sample tables generated from the <nav:alphanavbar:*> and <display:*> tag: