Index: ofbiz-neogia-generators/src/java/org/nereide/ofbiz/neogia/generators/GeneratorEditAssocBsh.java diff -u ofbiz-neogia-generators/src/java/org/nereide/ofbiz/neogia/generators/GeneratorEditAssocBsh.java:1.6 ofbiz-neogia-generators/src/java/org/nereide/ofbiz/neogia/generators/GeneratorEditAssocBsh.java:1.7 --- ofbiz-neogia-generators/src/java/org/nereide/ofbiz/neogia/generators/GeneratorEditAssocBsh.java:1.6 Tue Jun 29 11:36:02 2004 +++ ofbiz-neogia-generators/src/java/org/nereide/ofbiz/neogia/generators/GeneratorEditAssocBsh.java Thu Jul 1 07:39:41 2004 @@ -62,7 +62,7 @@ /*{ -// $Id: GeneratorEditAssocBsh.java,v 1.6 2004/06/29 11:36:02 holivier Exp $ +// $Id: GeneratorEditAssocBsh.java,v 1.7 2004/07/01 07:39:41 holivier Exp $ // Copyright (c) 2004 Olivier Heintz - olivier.heintz@nereide.biz // Copyright (c) 2004 Nereide - www.nereide.biz // Copyright (c) 2004 Neogia - www.neogia.org @@ -82,7 +82,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // // @author Olivier.Heintz@nereide.biz -// @version $Revision: 1.6 $ +// @version $Revision: 1.7 $ // @since 3.1 // // Calls Find on a dynamiqueView to return an EntityListIterator of the @@ -244,6 +244,9 @@ for (Iterator iterAssoc=associationList.iterator(); iterAssoc.hasNext(); ){ ObjectModelAttribute association = (ObjectModelAttribute) iterAssoc.next(); ObjectModelClass classAssociated = Util.getClassAssociated( association ); + // initialisation of the primaryList + ListPkAttribute listPrimaryKeyB = new ListPkAttribute(model, classAssociated, false); + // initialisation Names String subPackageAssoc = (String) Util.initPackageName(classAssociated).get("subpackageName"); String fromEntityName = (association.getName().equals(Util.toLowerCaseFirstLetter(association.getClassifier().getName() ) ) ) ? entityName : @@ -280,9 +283,9 @@ dynamicView.addMemberEntity("EE", "<%=classAssociated.getName()%>"); }*/ - for(int j=0; j<%=Util.toUpperCaseFirstLetter(attributeKeyName)%>"); + for(int j=0; j"); }*/ } List listAssoc = new ArrayList(); @@ -436,8 +439,6 @@ } // end of same code - // initialisation of the primaryList - ListPkAttribute listPrimaryKeyB = new ListPkAttribute(model, classAssociated, false); String primaryKeysEmptyB = "! UtilValidate.isEmpty("; String primaryKeysMapB = "\""; for(int j=0; j