Tuto WEBDEV 25

Part 5: Let’s continue the development 227 Configuring the user groupware The configuration of user groupware is performed when running the site. This configuration consists in defining the different users as well as their rights on the site pages and controls. Remark The configuration of users can be performed: • when developing the application. The necessary data files (regarding the users and their rights) can be installed with the site. • when the site is installed, by the administrator. Including the customer section in the site In this example, we are going to include the connection link in the "PAGE_List_of_products" page. The connection link is supplied in the format of a control template. Remark A control template is a specific page containing several controls. All types of controls can be found in this page. A control template is a file whose extension is "WDT". The first benefit of a control template is the reusability. A control template found in a project can be re-used in any project page. The modifications are performed once only in the control template and the modifications are automatically applied by WEBDEV. The control templates can be overloaded: code can be added, the controls can be moved in the page that is using the control template. The controls can be modified. ▶ To include the connection link: 1. Open the "PAGE_List_of_Products" page in the editor. 2. Go to the "Project explorer" pane, "Internal components", and expand "WDGPU_WB_CNT". This internal component was included in the project when implementing the integrated groupware. It contains all elements required to its management, especially the control template used to connect.

RkJQdWJsaXNoZXIy NDQ0OA==