The parameterization of attributes and includes is done in new tables.
This document explains where the new parameterization of each attribute is found.
The dictionary contains in the 'Deprecated issues' section programs for the automatic conversion of some of the attributes.
The codes that deal with this section are:
- 20006 - Convert includes to new schemma table
- 20007 - Convert attributes type (Color, Password, Multiple) to new schemma table
- 20009 - Convert attributes type (Display transformation, icon) to new attribute table
1 Diagrama

Overview
Item | Component | Master | VNext | Automatic conversion | Conversion code |
---|---|---|---|---|---|
Default value | wic_jdic_colattr.col_defval | wic_obj_table_column_input.col_default_value | |||
Selection control | Check box | wic_jdic_colattr.inc_type | wic_jdic_column_render.render_type (B_CB) Check box | 20006 | |
Switch | wic_jdic_colattr.inc_type | wic_jdic_column_render.render_type (B_SW) Switch | 20006 | ||
Radio buttons | wic_jdic_colattr.inc_type | wic_jdic_column_render.render_type (M_RD) Radio button | 20006 | ||
Dropdown list | wic_jdic_colattr.inc_type | wic_jdic_column_render.render_type (M_SE) Select | 20006 | ||
Dropdown list (Multiple) | wic_jdic_colattr.inc_type | wic_jdic_column_render.render_type (M_SM) Select multiple | 20006 | ||
Letter case | wic_jdic_colattr.col_case | wic_obj_table_column_input.col_case | |||
Mask | wic_jdic_colattr.col_picture | wic_obj_table_column_input.col_mask | |||
Display information | Time | wic_jdic_colattr.col_render | wic_jdic_column_attribute.col_readable (Time) | 20009 | |
Miliseconds | wic_jdic_colattr.col_render | wic_jdic_column_attribute.col_readable (Miliseconds) | 20009 | ||
Nanoseconds | wic_jdic_colattr.col_render | wic_jdic_column_attribute.col_readable (Nanoseconds) | 20009 | ||
Bytes | wic_jdic_colattr.col_render | wic_jdic_column_attribute.col_readable (Bytes) | 20009 | ||
Percentage | wic_jdic_colattr.col_render | wic_jdic_column_attribute.col_suffix (%) | 20009 | ||
Percentage bar | wic_jdic_colattr.col_render | wic_jdic_column_render.render_type (N_PCT) Percentage bar | 20009 | ||
Units | wic_jdic_colattr.col_render | wic_jdic_column_attribute.col_readable (Units) | 20009 | ||
Currency (Euro) | wic_jdic_colattr.col_render | wic_jdic_column_attribute.col_readable (Units) + wic_jdic_column_attribute.col_suffix (€) |
20009 | ||
Input type | Color | wic_jdic_colattr.col_input | wic_jdic_column_render.render_type (S_COL) Color | 20007 | |
Password | wic_jdic_colattr.col_input | wic_jdic_column_render.render_type (S_PWD) Password | 20007 | ||
Multiple | wic_jdic_colattr.col_input | wic_jdic_column_render.render_type (S_TAG) Tags | 20007 | ||
Icon | wic_jdic_colattr.col_icon | wic_jdic_column_attribute.col_icon | 20009 | ||
Syntax label | wic_jdic_colattr.col_syntax_mnemo | wic_jdic_column_attribute.col_syntax_mnemo | |||
format functions | wic_jdic_colattr.col_format | wic_obj_table_column_input.wic_obj_table_column_input |
Master | Column | info |
---|---|---|
Translate | wic_jdic_colattr.col_translate |
This indicator is interpreted by the loading and unloading process Manage dictionary contents. For more information access the submenu Idiomatic translations of data contents of the logical dictionary menu, where you will find access to the table record of idiomatic contents of columns of client database and the aforementioned process. The contents registered in the table Idiomatic column contents are the support for the translations (or substitutions) that WebStudio application servers will perform during the Page generation HTML, PDF, etc. |
Smart search | wic_jdic_colattr.col_smartqry |
You can search with or without accents and with or without capital letters. Solution: Database must set on mode no-casesensitive to allow (nchar,nvarchar columns). |
The dictionary contains the sections (Deprecated status dashboard and list of deprecated oprtion ) which help in the transformation of the attributes to the new model.
Paying attention to the codes ( 20006, 20007 and 20009 )

2 Default values
Default values are programmed in the table wic_obj_table_column_input
Event when reset at form:
- Default of bbdd
- Default by column input, look up at wic_obj_table_column_input
- Events (Programing an JS code at wic_obj_table_event type Reset)
Default | Info | Update | Insert |
---|---|---|---|
DBMS | Name of the database | ||
UUID | Universally Unique IDentifier | ||
TODAY | Date today | ||
TIME | Time now | ||
CURRENT | Timestamp now, Date + time | ||
USER | Logical user_code | ||
DATE.CREATED | Timestamp now | ||
DATE.UPDATED | Timestamp now | ||
USER.CREATED | Logical user_code | ||
USER.UPDATED | Logical user_code | ||
dcrc-32(column_name) | CRC-32 checksum | ||
name(col_blob) | Name of blob file | ||
size(col_blob) | size of blob file (Bytes) | ||
type(col_blob) | Content type of blob file | ||
height(col_blob) | height of blob file (Images) | ||
width(col_blob) | width of blob file (Images) | ||
rows(col_clob) | Number of rows of field type clob. |
3 Selection control
Selection control are programed as Renders at wic_jdic_column_render
Deprecated issues stored at dictionary allow to automatically generate all renders from includes. Using function list code: 20006
However we detail how to treat each type:
3.1 Check box
Create a render type check box, using a Json.
Example code for a numeric 'Check box', when data at database can be (1/0)
{"true" : 1 , "false" : 0 }
Example code for a character 'Check box', when data at database can be (T/F)
{"true" : "T" , "false" : "F" }
3.2 Switch
Create a render type switch, using a Json. works as checkbox but UI represents an switch.
Example code for a numeric 'Switch', when data at database can be (1/0)
{"true" : 1 , "false" : 0 }
Example code for a character 'Switch', when data at database can be (T/F)
{"true" : "T" , "false" : "F" }
3.3 Radio buttons
Create a render type Radio buttons, using a Json.
Example Json char column
[ { "value": "L", "label": "Low" }, { "value": "M", "label": "Medium" }, { "value": "H", "label": "High" } ]
Example Json integer column
[ { "value": 0, "label": "Low" }, { "value": 1, "label": "Medium" }, { "value": 2, "label": "High" } ]
Example Json char column and icon
Icon must exist at wic_image_object
[ { "value": "V", "label": "Valid", "icon": "green_ball" }, { "value": "A", "label": "Alert", "icon": "red_ball" } ]
3.4 Dropdown list
Create a render type Select, using a Json.
Equals as radio buttons (same program but UI display as combo)
Example Json char column
[ { "value": "L", "label": "Low" }, { "value": "M", "label": "Medium" }, { "value": "H", "label": "High" } ]
Example Json integer column
[ { "value": 0, "label": "Low" }, { "value": 1, "label": "Medium" }, { "value": 2, "label": "High" } ]
Example Json char column and icon
Icon must exist at wic_image_object
[ { "value": "V", "label": "Valid", "icon": "green_ball" }, { "value": "A", "label": "Alert", "icon": "red_ball" } ]
3.5 Dropdown list (Multiple)
Create a render type Select multiple, using a Json.
Equals as Dropdown list but (combo with multiple selector)
Program store diferent values using character '|'
Example Json char column
[ { "value": "L", "label": "Low" }, { "value": "M", "label": "Medium" }, { "value": "H", "label": "High" } ]
Example Json integer column
[ { "value": 0, "label": "Low" }, { "value": 1, "label": "Medium" }, { "value": 2, "label": "High" } ]
Example Json char column and icon
Icon must exist at wic_image_object
[ { "value": "V", "label": "Valid", "icon": "green_ball" }, { "value": "A", "label": "Alert", "icon": "red_ball" } ]
4 Letter case
Letter case (Mixedcase/Lowercase/Uppercase) are programmed in the table wic_obj_table_column_input
5 Mask
Mask are programmed in the table wic_obj_table_column_input
Character | info |
---|---|
# | Any valid number, uses Character.isDigit. |
' | Escape character, used to escape any of the special formatting characters. |
U | Any character (Character.isLetter). All lowercase letters are mapped to upper case. |
L | Any character (Character.isLetter). All upper case letters are mapped to lower case. |
A | Any character or number (Character.isLetter or Character.isDigit) |
? | Any character (Character.isLetter). |
* | Anything. |
H | Any hex character (0-9, a-f or A-F). |
Exemple mask: all numbers with format.
(###) ###-###
Exemple mask: all numbers with format and ending with a character.
ISBN #-#########-?
6 Display transformation
Selection 'Display transformation' are programed as attibutes at wic_jdic_column_attribute
Deprecated issues stored at dictionary allow to automatically generate all attributes v2 from attributes v1. Using function list code: 20009
All types of display transformation (time, milliseconds,units...) are now converted to wic_jdic_column_attribute, but there is one exception, the type 'Percentage bar' is programed as render at wic_jdic_column_render.
7 Input type
Input types: Color, Multiple, Password are programed as renders at wic_jdic_column_render
Deprecated issues stored at dictionary allow to automatically generate all renders from input types. Using function list code: 20007
8 Icon
Icon are programmed in the table wic_jdic_column_attribute.col_icon
Deprecated issues stored at dictionary allow to automatically generate icons. Using function list code: 20009
9 Syntax label
Syntax label are programmed in the table wic_jdic_column_attribute
10 Format function
Format function are programmed in the table wic_obj_table_column_input.function_code
The master of fuctions now are wic_jdic_column_function
Example code:
function validateEmail(field_data) { return /.+@.+\..+/.test(field_data) || 'E-mail must be valid'; }