Tuto WEBDEV 25
130 Part 3: Intranet site with data 7. Validate. A specific page is displayed: This page informs the user that a duplicate was found: indeed, the reference (that is a unique key) is identical for two products. This page is used to modify the reference value (displayed in a red area): type "REF-338" for example. This page is one of the pages for automatic management of HFSQL errors. Remark Several errors may occur when adding or modifying a record: duplicate error, integrity error, password error, ... WEBDEV proposes several modes for managing these errors: • the automatic mode : for each error that occurred when managing database records, a specific page is displayed to the user. This page allows the user to modify his data directly. • the advanced programmed mode : a procedure or a custom page for error management is called whenever an error occurs when managing the database records. The "WW_Auto_Management_Errors" example, supplied with WEBDEV, is used to check these different error management modes. This example can be opened via the WEBDEV home page ("Open an example" option). Viewing the records The new created records can be immediately viewed in the Looper control of "PAGE_List_of_ Products" page. They can also be viewed with WDMAP that was already presented in the My first pages lesson.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==