Files
ofbiz-framework/applications/party/webapp/partymgr/communication/addAttachFile.ftl
T
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00

17 lines
1.2 KiB
Plaintext

<form id="uploadPartyContent" method="post" enctype="multipart/form-data" action="<@ofbizUrl>uploadAttachFiletoEmail</@ofbizUrl>">
<input type="hidden" name="dataCategoryId" value="PERSONAL"/>
<input type="hidden" name="contentTypeId" value="DOCUMENT"/>
<input type="hidden" name="statusId" value="CTNT_PUBLISHED"/>
<input type="hidden" name="partyId" value="${partyId}" id="contentPartyId"/>
<input type="hidden" name="partyContentTypeId" value="USERDEF"/>
<input type="hidden" name="roleTypeId" value="CONTENT"/>
<input type="hidden" name="communicationEventId" value="${communicationEventId}"/>
<input type="hidden" name="communicationEventTypeId" value="${communicationEventTypeId}"/>
<input type="hidden" name="parentCommEventId" value="${parameters.parentCommEventId?if_exists}"/>
<input type="hidden" name="originalCommEventId" value="${parameters.originalCommEventId?if_exists}"/>
<input type="file" name="uploadedFile" size="25" id="uploadedFile"/><br/>
<input type="submit" value="${uiLabelMap.CommonUpload}"/><br><br>
</form>
<div id='progress_bar'><div></div></div>