September 2006
Intermediate to advanced
562 pages
18h 33m
English
Parameters are another set of elements that can appear in the PageDef file. They provide public API for a page. A common-use case for parameters is when a value needs to be passed to a method in the PageDef file as an argument. For example, a page that displays information for a given stock ticker symbol could define the stock symbol as a PageDef file parameter. The method binding would then refer to the page parameter directly using the syntax #{bindings.parameterName}. Unlike variables, parameters can be accessed directly in EL without having to go through an attribute binding. However, as a trade-off, parameters are read-only at runtime.
Parameters can be defined from the parameters node in the Structure ...
Read now
Unlock full access