WEBDEV Concepts
72 Part 2: Developing a site Displaying and linking pages In most cases, a site includes a set of pages. These pages are linked together via buttons (or links). Clicking a button displays a new page. Two points must be considered before displaying a page: • which page should be displayed? • where should the page be displayed (new browser, frame, etc.)? Which page should be displayed? The page to display can be defined: • in the page editor (no programming is required). • in the code editor, in an event of the Button control (or Link or Image (with clickable areas), etc.). Selecting the page to display in the page editor (most common method) To define the page to display: • Open the control description window (right click, "Description"). • In the type of action, select "Display a site page". • Select the page to display. Selecting the page to display through programming The page to display must be selected through programming when: • several pages can be displayed (e.g., an error page if the password is not entered or the next page of the site). • a specific action must be performed on the server (calculation, read a record, etc.).
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==