Zen Pages
Zen pages are Caché classes that extend %ZEN.Component.pageOpens in a new tab. A typical Zen page contains the following elements:
Element | Description |
---|---|
Parameters |
The class parameters include
|
Page Properties |
Properties defined within the class whose names do not begin with “%” become part of the page object and can be accessed by methods on the page. Properties can be any data type, however Zen provides a set of data types tailored for use within a Zen page. See the note below for more information. |
XData Style |
An XML block that contains page-specific style information in the form of Cascading Style Sheet (CSS) style definitions. |
XData Contents |
An XML block that specifies the components and the layout for the page. XML elements represent the components as well as define the layout. |
Methods |
Three different types of methods:
|
To learn more about the structure of Zen pages, read Zen Pages in the Zen Application Concepts section of Using Zen.
To learn more about Zen data types, read Zen Datatype Classes in the Custom Components section of Developing Zen Applications.