|
4.10 How to Create Data Maintenance Pages A group of data maintenance pages is created by default for all entities. It is possible to suppress this default behaviour by setting generateMaintenancePages to false. Two types of maintenance page groupings are available. The first is a blank intro/menu-header page from which you can get to a create page and a find page. The find page will take you either to a select page if there are multiple results from the query, or direct to an edit page if there is only one. (If there are no result you get taken to a common "No Records Found" page). The intro page fits itself under the default Data Maintenance menu page, unless you set the container property to move it elsewhere. The second group are called tab pages. The pages here start with create pages from which you can call a pick page, which in turn will let you move to an edit page or a read-only page for viewing. In addition pages are created for all to-many relationships, which can be edited individually. These may be listadd pages or assoc pages. You can change the type of maintenance pages generated by setting the style of the entity to "tab". If you have a modeled dataview that is connected to an initial entity, you can create maintenance pages from that too. It is worth remembering that fields mapped to attributes on related entities are read-only, nevertheless you can sometimes create better maintenance pages that way to the entity generated default. The default value for generateMaintenancePages on a dataview is false, so you'll need to set it to true. Style "tab" is also available on dataviews. Links:
Copyright © 2001-2006 New Technology / enterprise Ltd. | |||||||||||||||||||||