Files
luos/workflow/engine/xmlform/tracker/tracker_ViewAnyOutputDocument.xml
jennylee 7a23d26106 BUG 7306 Case Tracker download documents doesnt work, shows 404 Not Found page.
The file workflow/engine/methods/tracker/tracker_ShowOutputDocument.php was incomplete, there were not some validations like versioning, and there were not taking into account the extension of the file to download. I add those validations, taking like example the file /workflow/engine/methods/cases/cases_ShowOutputDocument.php
2012-09-28 14:35:39 -04:00

28 lines
635 B
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<dynaForm name="tracker_ViewAnyOutputDocument" type="xmlform" width="100%" labelWidth="">
<OUT_DOC_TITLE type="caption">
<en>Output document</en>
</OUT_DOC_TITLE>
<APP_DOC_CREATE_DATE type="caption">
<en>Create Date</en>
</APP_DOC_CREATE_DATE>
<VIEW type="phpVariable"/>
<FILE1 type="phpVariable"/>
<FILE2 type="phpVariable"/>
<APP_DOC_FILENAME1 type="link" value="@#VIEW" link="@#FILE1" target="_blank">
<en>File (.doc)</en>
</APP_DOC_FILENAME1>
<APP_DOC_FILENAME2 type="link" value="@#VIEW" link="@#FILE2" target="_blank">
<en>File (.pdf)</en>
</APP_DOC_FILENAME2>
</dynaForm>