static
Class jsbeans.Navbar
A navigation bar starting from a pseudo-xml descriptor of the site.
Properties
parameter: String, // the name of the request parameter indicating the actual page
separator: String, // separator of each element of navigation bar, default " > "
target: String, // the id of the container of the navigation bar, default "navbar"
descriptor: String, // the id of the container of the descriptor, usually an hidden div
linkable: boolean, // if any voice of the navigation bar must have a link to the corresponding page, default true
home: String, // the context path, default "/"
replace: Array // replacer for rendered links
Methods
static
String
getParameterValue
(
)
Returns the value of the request parameter as that of jsbeans.Navbar.options.parameter
- Returns:
String
- the request parameter value
static
void
render
(
[options]
)
Renders the UI
- Parameters:
-
[options]
<JSON>
override of defaults
- Returns:
void