Author: hansbak
Date: Mon Jul 6 02:48:29 2009
New Revision: 791367
URL:
http://svn.apache.org/viewvc?rev=791367&view=revLog:
do not include subject and content as hidden fields, commevent file upload did not work
Modified:
ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventEvents.xml
ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml
Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventEvents.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventEvents.xml?rev=791367&r1=791366&r2=791367&view=diff==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventEvents.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventEvents.xml Mon Jul 6 02:48:29 2009
@@ -83,7 +83,6 @@
<call-service service-name="createDataResource" in-map-name="data">
<result-to-field result-name="dataResourceId" field="parameters.dataResourceId"/>
</call-service>
- <log level="always" message=" DataResource : ${parameters.dataResourceId}"/>
<!-- Create attach upload to data resource -->
<set-service-fields service-name="attachUploadToDataResource" map="formInput.formInput"
Modified: ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml?rev=791367&r1=791366&r2=791367&view=diff==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml Mon Jul 6 02:48:29 2009
@@ -238,8 +238,8 @@
<field name="lastUpdatedStamp" title="${uiLabelMap.FormFieldTitle_lastModifiedDate}"><display/></field>
<field name="datetimeStarted" title="${uiLabelMap.CommonSendDate}"><display type="date"/></field>
<field name="datetimeEnded" title="${uiLabelMap.CommonEndDate}"><display type="date"/></field>
- <field name="subject"><display/></field>
- <field name="content" title="${uiLabelMap.CommonContent}"><display/></field>
+ <field name="subject"><display also-hidden="false"/></field>
+ <field name="content" title="${uiLabelMap.CommonContent}"><display also-hidden="false"/></field>
<field name="parentCommEventId">
<hyperlink description="${communicationEvent.parentCommEventId}" target="ViewCommunicationEvent">
<parameter param-name="communicationEventId" from-field="communicationEvent.parentCommEventId"/>
@@ -775,7 +775,7 @@
<field name="dataCategoryId"><hidden value="PERSONAL"/></field>
<field name="contentTypeId"><hidden value="DOCUMENT"/></field>
<field name="statusId"><hidden value="CTNT_PUBLISHED"/></field>
- <field name="partyId"><hidden value="${parameters.partyId}"/></field>
+ <field name="partyId"><hidden value="${partyIdFrom}"/></field>
<field name="partyContentTypeId" ><hidden value="USERDEF"/></field>
<field name="roleTypeId"><hidden value="CONTENT"/></field>
<field name="communicationEventId"><hidden value="${parameters.communicationEventId}"/></field>