Author: jacopoc
Date: Thu Aug 14 07:02:45 2008
New Revision: 685899
URL:
http://svn.apache.org/viewvc?rev=685899&view=revLog:
If the screen is used to create a new data resource, the list of content records associated to it is not rendered.
Modified:
ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml
Modified: ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml?rev=685899&r1=685898&r2=685899&view=diff==============================================================================
--- ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml (original)
+++ ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml Thu Aug 14 07:02:45 2008
@@ -186,8 +186,15 @@
</section>
</container>
</container>
- <label text="${uiLabelMap.ContentContentsAssociatedToDataResource}" style="h3"/>
- <include-form name="ListContentsAssociatedToDataResource" location="component://content/widget/content/DataResourceForms.xml"/>
+ <section>
+ <condition>
+ <not><if-empty field-name="currentValue"/></not>
+ </condition>
+ <widgets>
+ <label text="${uiLabelMap.ContentContentsAssociatedToDataResource}" style="h3"/>
+ <include-form name="ListContentsAssociatedToDataResource" location="component://content/widget/content/DataResourceForms.xml"/>
+ </widgets>
+ </section>
</decorator-section>
</decorator-screen>
</widgets>