WEBDEV Concepts

44 Part 2: Developing a site Pages in practice The purpose of a page is to display, consult and enter information. This information can come from the data files found in an analysis, external files, queries, etc. WEBDEV offers several options for creating the project pages: • Create a blank page with the wizard. • Build all the site pages from the analysis description. • Create a page from the analysis description (with or without its code). • Create pages based on a template, etc. Regardless of the method used, the page can be modified once it has been created: you can add, modify or delete controls and modify the page characteristics. For more details on how to manipulate the controls on a page, see Controls in practice. This chapter presents the following topics: • "Creating a page", page 44. • "Simple operations on a page", page 45. • "Main characteristics of a page", page 45. • "Internal page", page 46. • "Page templates", page 46. • "Popup page", page 46. • "Refreshing a Session page", page 46. • "Opening a page in a WEBDEV website", page 47. • "Events associated with pages", page 48. • "Menu options", page 49. 1 Creating a page WEBDEV offers several methods for creating a page: • Creating blank pages. • Creating preset pages. • Creating pages via the project RAD. Remark : The main characteristics of pages are presented in the online help. 1.1 Creating blank pages To create a blank page: 1. Click in the quick access buttons of WEBDEV. The new element window appears: click "Page" then "Page". The page creation wizard starts. 2. Choose the "blank" type. 3. Validate the creation of the page. A blank page is created. 4. The save window is automatically displayed. 5. Specify the page title and name. The page corresponds to a ".WWH" file. By default, this file will be created in the main project directory. This name will be used to handle the page. 6. Validate the save window. 7. Create the controls in the page. Remarks: • By default, the new page is of the same type as the current site (static, Session, AWP or PHP). The type of page can be changed in the page description window. For more details, see "Main characteristics of a page", page 45. • By default, the new page uses the "Responsive (zoning and layouts)" edit mode. This edit mode allows you to use layouts to obtain a mobile- friendly site. The edit mode of the page can be changed in the page description window. • The different types of controls are presented in Types of standard controls. 1.2 Creating preset pages To create a preset page: 1. Click in the quick access buttons of WEBDEV. The new element window appears: click "Page" then "Page". The page creation wizard starts. 2.  In the tabs, choose the type of page to create: • the "Standard" tab allows you to create: • a blank page without any controls. • a blank page based on a page template, if the project contains a page template. • a page based on a predefined template. • the "Internal pages" tab allows you to create internal pages.

RkJQdWJsaXNoZXIy NDQ0OA==