Salut,
Voilà mon problème:
J'ai déjà créer un contentPane dans js et dedans je veux faire appel à une action, mais ça ne marche pas.
Merci,
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 function fiche() { var tc = dijit.byId("tc"); var cp1 = new dijit.layout.ContentPane({ id : "zone1", title:'mes article', closable :true, preload:true, href :"../monAction/id/"+idArticle, onClose:function(){ return confirm("fermer onglet?"); } }); tc.addChild(cp1); tc.selectChild(cp1); tc.startup(); cp1.startup(); }
Partager