return monDico
def getDicoForFancy(self):
- print ('OBJECT getDicoForFancy ',self, self.nature)
+ #print ('OBJECT getDicoForFancy ',self, self.nature)
monDico={}
leNom = self.nom
if self.nature == 'MCFACT' :
leNom=self.getLabelText()
- monDico['statut'] =self.definition.statut
+ monDico['statut'] = self.definition.statut
+ monDico['nomCommande'] =self.nom
if self.nature == 'OPERATEUR' and self.sdnom != "sansnom" : leNom = self.nom+'__'+self.sdnom
monDico['title']=leNom
monDico['key']=self.idUnique
monDico['classeAccas']=self.nature
- if self.nature == 'MCLIST': monDico['validite']=None
+
+ if self.nature == 'MCLIST': monDico['validite']=None
elif self.nature == 'MCBLOC': monDico['validite']=None
else : monDico['validite']=self.getValid()
listeNodes=[]
else :
for leNode in lesNodes : listeNodes.append(leNode)
monDico['children']=listeNodes
+ #if self.nature != 'MCSIMP' and self.nature != 'MCLIST': monDico['infoOptionnels']=self.calculOptionnelInclutBlocs()
return monDico
def getNomClassWeb(self):