Developing Dynamic Pages

Top  Previous  Next

When we want to create a new page in Application Studio we don't make a page type selection such as "a new static page" or "a new dynamic page". We just create a new page and start adding content into it. What determines whether a page is going to be compiled as HTML or XSL is the dynamic content we add into it.

With one single change, a static page can become a dynamic page or the vice versa.

A page is accepted as a dynamic page if

The "Display If" property of an element contains a value
A Condition Panel element is used in the page, and its "Generate Conditions As" property is set to "xsl:when"
A panel or form element's "Repeat | For Each" property is given a value,
"Bind Options To" property of a Listbox or a Combobox elements is defined,
"Xsl" property of an element is given a value,
$vof() or $xsl() macros are used within element properties.
The "Access Control" property of page is given a value

 
When one or more of these cases are true, the page is accepted as dynamic and the compilation process produces an XSL file instead of HTML.

Lets say we have a page with name "Page1". If "Page1" is marked as dynamic the Application Studio will create the file "Page1.xsl" as the result of the compilation. Otherwise it will create the file "Page1.html".