Author: doogie
Date: Fri Nov 13 17:27:29 2009
New Revision: 835933
URL:
http://svn.apache.org/viewvc?rev=835933&view=revLog:
Implement relations in xml output.
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/DynamicViewEntity.java
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/DynamicViewEntity.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/DynamicViewEntity.java?rev=835933&r1=835932&r2=835933&view=diff==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/DynamicViewEntity.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/DynamicViewEntity.java Fri Nov 13 17:27:29 2009
@@ -139,7 +139,9 @@
// TODO: conditions
viewElement.appendChild(viewLinkElement);
}
- // TODO: relations
+ for (ModelRelation relation: relations) {
+ viewElement.appendChild(relation.toXmlElement(doc));
+ }
return viewElement;
}