Salut,
J'ai créer un contentPane coté js.
En fait, je veux supprimer l'utilisation de "cont" et utiliser plutot firstChild.
En fait, "cont-" c'est l'id du tabContainer de mon contentPane.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 onDownloadEnd:function(){ document.getElementById("fichGe-").setAttribute ("id","fichGe-"+idGe); var cont= dijit.byId("cont-"); var cp2 = new dijit.layout.ContentPane({ id :"livraison"+idGe, title: "Livraison", preload:true, href:"livrer-action/id/" + idGe }); cont.addChild(cp2); onKeyPress(dijit.byId('cp2')); },
Merci d'avance,
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 <form dojoType="dijit.layout.ContentPane" id='fichGe-<?php echo $this->ent->getId()?>' name='fich'> <div dojoType="dijit.layout.TabContainer" id='cont-<?php echo $this->ent->getId()?>'>
Partager