Code example
The following code creates a notebook showing the account details of a customer on one page and the credit details on another:
UlcNotebook new add: self createAccountPage; add: self createCreditPage; yourself
The two create-methods each answer an instance of UlcNotebookPage.
Setting up page polling
The Notebook part enables you to poll the application for permission to change to a specific page before the notebook actually changes the page. An example of this might be to restrict access for the Administration page of a configuration notebook to authenticated administrators only. Implementing this function involves the following steps:
Usage of a Form Model part and notificationPolicy settings for the various parts also influence the behavior of the UI.