Page Groups

Top  Previous  Next

 

About Page Groups

A page group is a collection of pages that normally operate on a table or query.  The pages of the group by nature of being in the same group, interact with each other.  They form a functional unit.  For example the Search Page affects what appears on the Data Page, and the Delete Page deleted records listed on the data page.

 

Page groups are power design elements allowing you to create multiple sets of pages that operate on a dataset and with each other.  The page design for each page group is independent, this can greatly help if you have pages operating against the same datasets, but are secured differently or display different fields.  For example, you may want to have a product list page for the public that shows you products, pictures and descriptions and you want a second page that only your staff can access that shows more fields such as cost, supplier name and other private information.  By creating two page groups based on your Products table, you can create this type of web site, with "admin" versus "public" areas.

 

Page groups can also be exported and imported between projects.  This means that you can share design between you own projects, or between developers.  In a multi developer environment, you can independently design groups and merge them into a single project.  Of course the groups being shared must access a common database structure.  You cannot design a group that works on your Recipe  database and use this group on your company accounting database. there would be no correlation of database tables and fields.

 

Page Groups in the Designer

 

Page Groups appear that the highest level of the tree view in the explorer.  They are shown as a page icon  with a little "G" (for "group") in it.Each Group has a check box beside it.  The check box indicates if this group is currently selected for you code generation.  You can speed code generation on larger projects, by unchecking the groups that have already been generated or that you are not testing now.

 

 

expl_page_groups_001

 

Page groups can be managed using the page group toolbar as well as by right clicking a page group.

 

Toolbar_Group_001

 

From left to Right

 

Properties:   Display the properties dialog of the page group or the sub-item, whichever is currently selected in the explorer.

 

Insert:        Insert an object from the drop down menu.  You can create new groups, add new pages or new page items to a page.

btn_page_item_insert_menu_001

 

Delete:  Delete or hide object from drop down menu.

btn_item_delete_menu_001

 

Uncheck Groups: Uncheck all groups (useful when testing projects with many groups, code generate only the test groups which speeds code generation)

 

Check Groups:  Checks all groups(useful for publishing to ensure all groups are generated).