Example output to PDF
PDF output offers many of the same features as HTML, including all of the nice to have formatting options and linking within the document.
Complete table of contents listing
In the image above you can see the main table of contents for the all of the TLD files that will be referenced within this document.
For quick navigation each of the files are also linked to the appropriate page.
Individual table of contents listing
The above image shows the table of contents for an individual TLD file along with the details in the heading section of the tag library including the:
- version information,
- display name,
- file name, and
- validator class
It is not until we get down to the actual listed tags that changes have been made.
The tag libraries are now ordered and broken into appropriate sections; utility, conditional, URL and iteration with a description of the section.
Within each section, a list of the referenced tags are also defined, and linked of course to the correct page.
c:forEach tag page
As an example of a specific tag, the c:forEach tag is shown below.
This shows the following information for the tag, including the:
- what type of body content is expected,
- attribute summaries (with name, required, expressions allowed and type), and
- a list of the attributes with descriptions
Of course, we also provide links back to the main table of contents and current table of contents for easy navigation.
The above page is an extension that we added as we just need the information some of the time.
In this example for the varStatus attribute, the attribute store in the pageContext is of type LoopTagStatus.
Whilst our memories are good, they cannot list every method and field of the LoopTagStatus object, so we have kindly included the output for you.
If you need quick navigation back to the table of contents for all of the tld files, or just for this individual tag file, then links are provided at the bottom of the page.