Open the menu

    Tutorial 5

    Description: Modification of the Hotels Admin service, including categorization of hotels into specific categories, thus achieving an overall classification of the same.

    Involved concepts:

    • Implementation of a control responsible for calculating the average between values of N fields, dynamically creating sub-controls for the fields involved in the calculation, executing it client-side;
    • Creation of XSL for adding and editing hotels;
    • Customization of an existing control by overlaying the XSL template.

    Steps:

    • Creation of Table;
    • Creation of a data provider, update class, and process action;
    • Definition of the service through servicedefinition.xml and douidefinition.xml;
    • Registration of the service;
    • Interaction with the service.