The personalization of the interface works as follows: When translating an application, you can choose between having the user interface automatically generated or personalizing single screens according to the preferences of the customer.
In the first case, the way the screens will look is based on certain transformation rules that Caravel provides and that allow to generate the equivalent HTML code for each field of the screen. The result will be an HTML code that generates the same fields, sizes and positions as the original. The color attributes, sources, background color, etc. that doesn’t affect the functionality can be personalized, being applied automatically to all the generated screens.
In the second case, the customer can create a JSP template for each screen that he wishes to personalize. This template can have any aspect and does not have to be similar to the original. With the purpose of making the preparation of the screens easier, Caravel provides the standard JSP mechanisms and uses the “JSP TagLibs”, which easily help with the use of the information from the application: records, subfiles, fields, attributes.
These two solutions are not incompatible; it is possible to personalize only some screens of the application. This process can be progressive or according to the customer’s needs. The application will search for the personalized screen first and then, if it cannot find it, dynamically will create a screen in accordance with the parameters of the selected user interface.
The personalization process can be carried out completely by the customer or could be part of the project. In this last case, the customer can define the rules, standards and styles that he would desire. Since the aspect of the application is defined by a group of JSP templates, the customer can change any graphical element at any time.