I made 3 major configurations. 2 of them are the different forms (text-block and tabs-block). And one is a global configuration which lists the multiple formtabs:
- layout_content_blocks (global config)
- Tekstblok (text-block)
- Tabbladen module (tab-block)
- imagelistMIGX (included in Tekstblok)
- tablistMIGX (included in Tabbladen module)
layout_content_blocks (ID: 1)
{
"formtabs":"[]",
"contextmenus":"",
"actionbuttons":"",
"columnbuttons":"",
"filters":"[]",
"extended":{
"migx_add":"Voeg blok toe",
"formcaption":"Voeg blok toe",
"update_win_title":"Voeg blok toe",
"win_id":"",
"maxRecords":"",
"multiple_formtabs":"2||6",
"extrahandlers":"",
"packageName":"",
"classname":"",
"task":"",
"getlistsort":"",
"getlistsortdir":"",
"use_custom_prefix":"0",
"prefix":"",
"grid":"",
"gridload_mode":1,
"check_resid":1,
"check_resid_TV":"",
"join_alias":"",
"has_jointable":"yes",
"getlistwhere":"",
"joins":"",
"cmpmaincaption":"",
"cmptabcaption":"",
"cmptabdescription":"",
"cmptabcontroller":"",
"winbuttons":"",
"onsubmitsuccess":"",
"submitparams":""
},
"columns":[
{
"MIGX_id":4,
"header":"Tekstitem titel",
"dataIndex":"text_title",
"width":"",
"sortable":"false",
"show_in_grid":1,
"renderer":"",
"clickaction":"",
"selectorconfig":"",
"renderoptions":"[]"
},
{
"MIGX_id":2,
"header":"Type veld",
"dataIndex":"MIGX_formname",
"width":"",
"sortable":"false",
"show_in_grid":1,
"renderer":"",
"clickaction":"",
"selectorconfig":"",
"renderoptions":"[]"
},
{
"MIGX_id":5,
"header":"Alternatieve layout",
"dataIndex":"text_altlayout",
"width":"",
"sortable":"false",
"show_in_grid":1,
"renderer":"this.renderCrossTick",
"clickaction":"",
"selectorconfig":"",
"renderoptions":"[]"
}
]
}
Tekstblok (text-block) (ID: 2)
{
"formtabs":[
{
"MIGX_id":1,
"caption":"Instellingen",
"print_before_tabs":"0",
"fields":[
{
"MIGX_id":1,
"field":"text_title",
"caption":"Titel",
"description":"Titel van het tekstblok",
"description_is_code":"0",
"inputTV":"",
"inputTVtype":"",
"configs":"",
"sourceFrom":"config",
"sources":"[]",
"inputOptionValues":"",
"default":""
},
{
"MIGX_id":2,
"field":"text_content",
"caption":"Tekst",
"description":"Tekst in tekstblok",
"description_is_code":"0",
"inputTV":"richtextMIGX",
"inputTVtype":"",
"configs":"",
"sourceFrom":"tv",
"sources":"[]",
"inputOptionValues":"",
"default":""
},
{
"MIGX_id":3,
"field":"text_altlayout",
"caption":"Alternatieve layout",
"description":"(Tekst rechts \/ afbeelding links)",
"description_is_code":"0",
"inputTV":"",
"inputTVtype":"listbox",
"configs":"",
"sourceFrom":"config",
"sources":"[]",
"inputOptionValues":"Nee==0||Ja==1",
"default":"0"
}
]
},
{
"MIGX_id":2,
"caption":"Afbeeldingen",
"print_before_tabs":"0",
"fields":[
{
"MIGX_id":1,
"field":"images",
"caption":"Afbeeldingen",
"description":"Afbeeldingen per tekstblok",
"description_is_code":"0",
"inputTV":"imageListMIGX",
"inputTVtype":"migx",
"configs":"imageListMIGX",
"sourceFrom":"config",
"sources":"[]",
"inputOptionValues":"",
"default":""
}
]
}
],
"contextmenus":"",
"actionbuttons":"",
"columnbuttons":"",
"filters":"[]",
"extended":{
"migx_add":"Voeg een tekstblok toe",
"formcaption":"Tekstblok toevoegen\/wijzigen",
"update_win_title":"Tekstblok toevoegen\/wijzigen",
"win_id":"text",
"maxRecords":"",
"multiple_formtabs":"",
"extrahandlers":"",
"packageName":"",
"classname":"",
"task":"",
"getlistsort":"",
"getlistsortdir":"",
"use_custom_prefix":"0",
"prefix":"",
"grid":"",
"gridload_mode":1,
"check_resid":1,
"check_resid_TV":"",
"join_alias":"",
"has_jointable":"yes",
"getlistwhere":"",
"joins":"",
"cmpmaincaption":"",
"cmptabcaption":"",
"cmptabdescription":"",
"cmptabcontroller":"",
"winbuttons":"",
"onsubmitsuccess":"",
"submitparams":""
},
"columns":[
{
"MIGX_id":1,
"header":"Titel",
"dataIndex":"text_title",
"width":"",
"sortable":"false",
"show_in_grid":1,
"renderer":"",
"clickaction":"",
"selectorconfig":"",
"renderoptions":"[]"
},
{
"MIGX_id":2,
"header":"Tekst",
"dataIndex":"text_content",
"width":"",
"sortable":"false",
"show_in_grid":1,
"renderer":"",
"clickaction":"",
"selectorconfig":"",
"renderoptions":"[]"
},
{
"MIGX_id":3,
"header":"Alternatieve layout",
"dataIndex":"text_altlayout",
"width":"",
"sortable":"false",
"show_in_grid":1,
"renderer":"this.renderCrossTick",
"clickaction":"",
"selectorconfig":"",
"renderoptions":"[]"
}
]
}
Tabbladen module (tabs-block) (ID: 6):
{
"formtabs":[
{
"MIGX_id":1,
"caption":"Instellingen",
"print_before_tabs":"0",
"fields":[
{
"MIGX_id":1,
"field":"tabmodule_title",
"caption":"Titel van tabbladen module",
"description":"",
"description_is_code":"0",
"inputTV":"",
"inputTVtype":"text",
"configs":"",
"sourceFrom":"config",
"sources":"[]",
"inputOptionValues":"",
"default":""
},
{
"MIGX_id":2,
"field":"tabmodule_tabs",
"caption":"Tabbladen",
"description":"",
"description_is_code":"0",
"inputTV":"",
"inputTVtype":"migx",
"configs":"tabListMIGX",
"sourceFrom":"config",
"sources":"[]",
"inputOptionValues":"",
"default":""
}
]
}
],
"contextmenus":"",
"actionbuttons":"",
"columnbuttons":"",
"filters":"[]",
"extended":{
"migx_add":"Voeg een tabbladen module toe",
"formcaption":"Voeg een tabbladen module toe",
"update_win_title":"Voeg een tabbladen module toe",
"win_id":"tabmodule",
"maxRecords":"",
"multiple_formtabs":"",
"extrahandlers":"",
"packageName":"",
"classname":"",
"task":"",
"getlistsort":"",
"getlistsortdir":"",
"use_custom_prefix":"0",
"prefix":"",
"grid":"",
"gridload_mode":1,
"check_resid":1,
"check_resid_TV":"",
"join_alias":"",
"has_jointable":"yes",
"getlistwhere":"",
"joins":"",
"cmpmaincaption":"",
"cmptabcaption":"",
"cmptabdescription":"",
"cmptabcontroller":"",
"winbuttons":"",
"onsubmitsuccess":"",
"submitparams":""
},
"columns":[
{
"MIGX_id":1,
"header":"Naam van tabblad module",
"dataIndex":"tabmodule_title",
"width":"",
"sortable":"false",
"show_in_grid":1,
"renderer":"",
"clickaction":"",
"selectorconfig":"",
"renderoptions":"[]"
}
]
}