next up previous contents
Next: Example of the ShowPage function Up: The InitChange, ShowPage and PageEnd Previous: Use of the PageEnd function

Interpage dependencies

In The Dotfile Generator there are a few concepts which are very important:

visual state
This refers to the state of the things the user can see on the screen. Ie. a checkbutton is disabled or a label tells the value of a variable from another page.
variable state
This referes to the value of the different variables, from which the code are generated.
interpage dependencies
In The Dotfile Generator it is possible to enable or disable elements on a given page due to the value of elements on other pages. It's also possible to update values on a given page due to elements on other pages. This sort of dependencies are called interpage dependencies.

The visual state has to be up to date, when the page is mapped, while the variable state has to be up to date when the code is generated.

It is the ShowPage's responsibility to resolve visual interpage dependencies (i.e. interpage dependencies on visual states), while it is the Change functions responsibility that the constraints on the page are resolved throughout the time the page is mapped.



Jesper Kjær Pedersen <blackie@imada.ou.dk>
Wed Oct 2 13:29:53 MET DST 1996