CARL Source
Details on controls
Customization > Customization mode > Details on controls

You can add your own controls to the CARL Source forms, including new tabs.
The operation of the various controls is described under this heading: Name, Field, Checkbox, Group, Button, Image, Column, Link, and Tab.

 

Procedure

  1. Enter the customization mode to display the dedicated tool boxes.

  2. On the "Control" palette, click on the one to be added and drag it to the location where you wish to position it. A new tab must be positioned next to the tabs already present.

  3. Once the check is set, select it, change its format, and assign properties to it, see Properties of controls.

 

Specificities and operation of controls

The common properties of the controls are described in Properties of controls.

 

Name

A simple explanatory label generally to be positioned to the left of a field.

Specific properties:

If the name that you add to the form needs to be translated or broken down into several business domains, indicate the reference to the name created for this purpose in the value.

The format is #{file name.name code}, where "file name" is for the name file of the screen you are customizing.
For example: #{material.la_CustField} corresponds to the name you have created with the code "la_CustField" for the file of asset management screens.

 

Field

A text area, possibly an infozone, for entering or displaying an attribute value of the object on the form.

Specific properties:

The visual mode ("visual") only applies if the number of lines (see "No. lines" ) is entered and its value is not less than 4.

To test the null value for comment type fields, you have to indicate: #{formAnimator.bean.longDescValue == ""}

 

Checkbox

In order to create a checkbox, add a simple entry field. If the attribute assigned to a control is a "Boolean" attribute, the displayed control will be a checkbox.
In order for the checkbox to have two states (checked/unchecked), the attribute must be checked "required" in the dictionary.

 

Group

Panel for grouping several controls having the same topic.
For the group, indicate a layer value less than that of the controls, which will be located above, so that it will be in the background.

 

Button

Element triggering an action.

Specific properties:

 

Image

Element triggering an action.

Specific properties:

 

Column

For adding information to a list.

Specific properties:

 

Link

A hypertext link to a linked document or any other URL, or to an action (operation similar to the button in this case).

See Creating an alerter: Example.

Specific properties:

 

Tab

New tab for placing customized controls. If there are a lot of controls, use groups to organize them.

Specific properties: