Pages are one of the basic building blocks of a XUI application. Roughly speaking, a page corresponds to what you see on the screen, something similar to a web page. Of course some applications may be composed of multiple pages in a frameset or some other application style. At its simplest the flow and structure of many application correspond to the navigation of pages, with the results of one page being displayed on another or leading to another.
Pages can be declared in Java or in XML, and are composed of a number of elements, including user interface components, data and usually some logic that gives the page a behavior. When declared as XML, the components can be bound to data using declarative data bindings and in turn user interaction can trigger events that are handled by event handlers declared as part of the page.
Pages can be delivered as part of the initial download or they can be downloaded on demand from a remote URL, just as a browser would download web pages.
Framesets
Multiple pages can be displayed at once using a frameset. A framset is defined with the frames.xml file, the file defines the (target) areas into which the application client are is divided.
Includes
Multiple page files can be used in the composition of a single page by using the include element.
There are no comments on this page. [Add comment]