public class UrlNavBarTemplate extends Template
/main/next/last/foo.html
generate the request properties for the directories:
main
, next
, and last
.
The properties will be:
NAV.main=/main/ NAV.next=/main/next/ .... NAV.=main/next/....These properties may be incorporated into web pages using the BSLTemplate's <foreach> tag, using a delimeter of "/" to iterate over the listings.
The follow request properties are consulted:
Constructor and Description |
---|
UrlNavBarTemplate() |
Modifier and Type | Method and Description |
---|---|
boolean |
init(RewriteContext hr)
Compute a set of properties based on the URL
|
public boolean init(RewriteContext hr)
init
in interface TemplateInterface
init
in class Template