From: Bastien J. <bas...@gm...> - 2008-07-24 16:35:39
|
Bonjour, J'ai continué l'héritage des tables dans les entitymodel.xml, cependant j'ai quelques soucis sur comment masquer certains champs. Par exemple, si une classe B héritant de A possède le tag extendParent, ses champs seront ajoutés dans A, ainsi que tous les champs des specialisations de B (récursivement). Cependant, les classes ne devraient pas "voir" les attributs des spécialisations, donc j'ai pensé à un <view-entity> avec des <exclude>, mais cela semble assez embêtant à gérer. Si vous avez d'autres idées, je suis preneur. J'ai également committé des remplacements de comparaisons variable == null par UtilValidate.isEmpty(variable) etc. Je travaille actuellement sur un script en ruby qui permettra de migrer les fichiers properties contenant les messages vers les nouveaux fichiers XML d'Ofbiz (depuis février). Un exemple de fichier XML est dispo sur http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/config/PosUiLabels.xml?view=markup Heureusement, le code pour accéder à ces messages ne change pas (vive l'abstraction). Par contre, il n'y aura plus qu'un seule fichier, contenant toutes les langues supportées. Concernant Kévin, au niveau de la migration des diagrammes de poseidon vers nb, tout semble se dérouler correctement. Il a commencé les récupérations des diag humanres et accounting, mais s'est rendu compte de l'oubli de certains éléments tels que les interfaces et les stéréotypes d'attributs.Il améliore au fur et à mesure de ses découvertes la feuille XSLT. Bastien |