Chinook : Framework de Gestion de données Cartographique
chinook.memoris.fr
adullact.net/projects/chinookgs
"name": "departement.default",
"description": "Fiche test de description des départements...",
"window": {
"title": "Fiche Département",
"width": 600,
"height": 500
},
"form": {
"items": [{
"xtype": "ck_textfield",
"fieldLabel": "Code",
"name": "CODE_DEPT"
},{
"xtype": "ck_textfield",
"fieldLabel": "Nom",
"name": "NOM_DEPT"
}]
}
{
"name": "equipement.default",
"window" :{
"title": "Fiche Equipement",
"width": 600,
"height": 400
},
"form" :{
"labelWidth": 200,
"items": [{
"name": "nom"
},{
"xtype": "ck_combobox",
"editable": false,
"name": "type",
"children": ["form_equip_sous_type"]
},{
"xtype": "ck_combobox",
"id" : "form_equip_sous_type",
"name": "ss_type"
},{
"name": "gest"
},{
"name": "numvoirie"
},{
"name": "ind_rep"
},{
"name": "libellevoi"
},{
"xtype": "ck_combobox",
"name": "libelleco",
"layer": "bd_communes",
"displayField": "nom_com"
},{
"xtype": "ck_textfield",
"name": "bd_parcelle.comidpar",
"fieldLabel" : "identifiant parcelle",
"join" : "ST_Within(equipements.the_geom, bd_parcelle.the_geom)"
}]
}
}
{
"name": "equipements.default",
"title": "EQUIPEMENTS",
"items": [{
"xtype": "ck_combobox",
"name": "libelleco",
"fieldLabel": "Commune"
},{
"xtype": "ck_combobox",
"name": "type",
"children": ["equipements_ss_type"],
"fieldLabel": "Type"
},{
"id": "equipements_ss_type",
"xtype": "ck_combobox",
"name": "ss_type",
"fieldLabel": "Sous Type"
}]
}