svn commit: r835933 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/DynamicViewEntity.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r835933 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/DynamicViewEntity.java

doogie-3
Author: doogie
Date: Fri Nov 13 17:27:29 2009
New Revision: 835933

URL: http://svn.apache.org/viewvc?rev=835933&view=rev
Log:
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;
     }