Tuto WEBDEV 25

106 Part 3: Intranet site with data 8.  The window for saving the page is displayed. Type the page title: "List of products". The page name "PAGE_List_of_products" is automatically proposed. 9. Validate. ▶ By default, this page contains the different controls used to display the possible overviews. In our case, we are going to delete these controls: 1. Select the controls found in the page (press Ctrl + A). Remark In the editor, by default, only the page controls are accessible. The controls and events of the template cannot be edited. All the controls in the page (including the controls from the template) are selected by pressing Ctrl + A. However, the controls from the page template are not modified. 2. Delete the controls (Del key). 3. Only the controls corresponding to the page template remain in the page. 4. Save the modifications performed in the page: click among the quick access buttons (or press Ctrl + S). Creating controls To create the list of products, we will be using a Looper control. This control will be linked to the "Product" data file. Remark What is a Looper control? The best way for displaying elements in list format in a Web page is to use a Looper control. A Looper control includes an area (containing several controls) that is repeated a given number of times. Each area can, of course, contain different data. ▶ To create the Looper control: 1. On the "Creation" pane, in the "Data" group, expand "Looper" and select "Looper" 2. Click in the top left corner of the page, just below the menu: the wizard for creating the Looper control starts.

RkJQdWJsaXNoZXIy NDQ0OA==