Element page.ctx.Definition

Substitution Groups:
page.ctx.IPageContextDef

Page context definition.
Defines the execution context associated to one or several pages.
Such a context is defined by:

Within this context, the url consistency is maintained (required input parameters are checked when entering this context, and are always reentered while staying in this context), ensuring that any url may be bookmarked, exchanged and restored.


Attributes
optional   String Extends The page this context extends.
The path is relative to the WEB-INF directory and has to start with a '/' (ex: /pages/MyPage).

Named Children Elements
optional   binding.Expression Authorization Evaluates whether the user is authorized to access this context. Default: true.
0 - unbounded   param.UrlParameterDef[] InputParameters Url parameters required in this context. Any page invoked without all its input parameters is rejected.
0 - unbounded   binding.IDataSource[] LocalBeans Defines local beans used in this page context.Beans declared here are accessible only from pages withing this context.
0 - unbounded   binding.Do[] OnLoad An optional callback triggered when this context is loaded (i.e. when the user enters it).
0 - unbounded   binding.Do[] OnQuit An optional callback triggered when this context is closed (i.e. when the user leaves it).