[OFBiz] SVN: r7077 - trunk/applications/content/widget/compdoc
jonesde@svn.ofbiz.org
jonesde at svn.ofbiz.org
Mon Mar 27 00:56:24 CST 2006
Author: jonesde
Date: 2006-03-27 00:56:20 -0600 (Mon, 27 Mar 2006)
New Revision: 7077
Modified:
trunk/applications/content/widget/compdoc/CompDocForms.xml
Log:
Small fix for the preliminary SurveyResponse link
Modified: trunk/applications/content/widget/compdoc/CompDocForms.xml
===================================================================
--- trunk/applications/content/widget/compdoc/CompDocForms.xml 2006-03-26 08:00:02 UTC (rev 7076)
+++ trunk/applications/content/widget/compdoc/CompDocForms.xml 2006-03-27 06:56:20 UTC (rev 7077)
@@ -386,6 +386,9 @@
use-when=""DOCUMENT".equals(contentTypeId) && mimeTypeId!=null && "application/vnd.ofbiz.survey".equals(mimeTypeId)">
<display description="Survey Response"/>
</field>
+ <!-- <field name="mimeTypeId" map-name="dataResource" title="Document Type" widget-style="tabletext"><display/></field> -->
+ <!-- <field name="contentTypeId" map-name="content" title="Content Type" widget-style="tabletext"><display/></field> -->
+
<field name="relatedDetailId" map-name="dataResource" title="Survey ID"
use-when="dataResource!=null && "SURVEY".equals(dataResource.getString("dataResourceTypeId"))">
<lookup target-form-name="LookupSurvey">
@@ -401,7 +404,7 @@
</lookup>
</field>
<field name="surveyResponseLink" map-name="dummy" widget-style="buttontext"
- use-when="dataResource!=null && dataResource.get("relatedDetailId")==null && templateDataResource!=null && templateDataResource.get("relatedDetailId")!=null">
+ use-when=""DOCUMENT".equals(contentTypeId) && dataResource!=null && dataResource.get("relatedDetailId")==null && templateDataResource!=null && templateDataResource.get("relatedDetailId")!=null">
<hyperlink description="Create Response (for Survey ${templateDataResource.relatedDetailId})" target="EditSurveyResponse?surveyId=${templateDataResource.relatedDetailId}" also-hidden="false" target-window="_blank"/>
</field>
More information about the Svn
mailing list