1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
| function setHTML(response) {
OpenLayers.Util.getElement('nodeList').innerHTML = response.responseText;
win_InfoDgd.show();
}
/**
* Methode permettant d'initialiser la recherche sur un DGD
*/
function initFormInfoDgdContent() {
var btn_InfoDgdClose = new Ext.Button({
text:'Fermer',
handler: function(){win_InfoDgd.hide();}
});
var tabpan_InfoDgd = new Ext.TabPanel({
autoTabs:true,
activeTab:0,
deferredRender:false,
border:false,
items:[{
id: 'tabProp',
title: 'Propriétaire',
html: '<p>Sélectionner un DGD pour voir les informations sur ce document.</p><div id="nodeList"></div>'
},{
title:'Forêt',
html: '<div divid="tabForetD"></div>'
},{
title:'Document de gestion',
html: '<div divid="tabDGD"></div>'
}]
}
);
win_InfoDgd = new Ext.Window({
title: 'Information DGD',
closable: true,
width: '50%',
buttonAlign:'center',
height: 375,
border: false,
plain: true,
items: [tabpan_InfoDgd],
buttons: [btn_InfoDgdClose]
});
win_InfoDgd.show();
} |
Partager