Files
luos/workflow/engine/xmlform/setup/wsSendFiles.xml

43 lines
1.3 KiB
XML
Raw Normal View History

2010-12-02 23:34:41 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<dynaForm type="xmlform" name="UploadFiles" width="500" target="">
2014-04-21 10:21:01 -04:00
<SESSION_ID type="text" size="36" maxlength="32">
<en><![CDATA[Session Id]]></en>
<es><![CDATA[Id de Sesión]]></es>
</SESSION_ID>
<USER_ID type="hidden" size="36" maxlength="32">
2010-12-02 23:34:41 +00:00
</USER_ID>
2014-04-21 10:21:01 -04:00
<UPLOAD_FILE type="title" enablehtml="0">
<en><![CDATA[Send your file to the server]]></en>
</UPLOAD_FILE>
<UPLOAD_OPTION type="dropdown" sqlConnection="dbarray">
<en><![CDATA[Upload Option]]><option name=""><![CDATA[Attached File]]></option><option name="1"><![CDATA[Input Document]]></option></en>
</UPLOAD_OPTION>
<INPUT_DOCUMENT type="dropdown" sqlConnection="dbarray">
2010-12-02 23:34:41 +00:00
SELECT * from documents
2014-04-21 10:21:01 -04:00
<en><![CDATA[Input Document]]></en>
2010-12-02 23:34:41 +00:00
</INPUT_DOCUMENT>
2014-04-21 10:21:01 -04:00
<FILE_TO_UPLOAD type="file">
<en><![CDATA[File to Send]]></en>
</FILE_TO_UPLOAD>
<ACTION type="hidden">
2010-12-02 23:34:41 +00:00
</ACTION>
2014-04-21 10:21:01 -04:00
<SEND_FILE type="submit" onclick="">
<en><![CDATA[Sending]]></en>
</SEND_FILE>
<JS type="javascript"><![CDATA[
2010-12-02 23:34:41 +00:00
hideRowById('INPUT_DOCUMENT');
leimnud.event.add(getField('UPLOAD_OPTION'), 'change', function() {
switch (this.value) {
case '0':
hideRowById('INPUT_DOCUMENT');
break;
case '1':
showRowById('INPUT_DOCUMENT');
break;
}
}.extend(getField('UPLOAD_OPTION')));
]]></JS>
2014-04-21 10:21:01 -04:00
</dynaForm>