Orbeon Forms community mailing list
Login
Register
How can you set the uploaded file name and not take the default?
Posted by
mar
on
Jan 25, 2010; 6:25pm
URL:
https://discuss.orbeon.com/How-can-you-set-the-uploaded-file-name-and-not-take-the-default-tp1289646.html
In the Xforms Upload file example test.xpl file how can you set the
output file name that is saved to the server instead of taking the
default?
<p:config xmlns:p="
http://www.orbeon.com/oxf/pipeline
"
xmlns:xsl="
http://www.w3.org/1999/XSL/Transform
"
xmlns:fo="
http://www.w3.org/1999/XSL/Format
"
xmlns:svg="
http://www.w3.org/2000/svg
"
xmlns:xhtml="
http://www.w3.org/1999/xhtml
"
xmlns:oxf="
http://www.orbeon.com/oxf/processors
"
xmlns:xforms="
http://www.w3.org/2002/xforms
"
xmlns:xxforms="
http://orbeon.org/oxf/xml/xforms
"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance
"
xmlns:atom="
http://www.w3.org/2005/Atom
">
<!--<p:param type="input" name="instance"/>-->
<!-- Get request information -->
<p:processor name="oxf:request">
<p:input name="config">
<config>
<include>/request/content-type</include>
<include>/request/content-length</include>
<include>/request/headers</include>
<include>/request/parameters</include>
</config>
</p:input>
<p:output name="data" id="request"/>
</p:processor>
<p:processor name="oxf:xml-converter">
<p:input name="config">
<config>
<method>xml</method>
<indent>true</indent>
<indent-amount>4</indent-amount>
</config>
</p:input>
<p:input name="data" href="#request"/>
<p:output name="data" id="converted"/>
</p:processor>
<!-- Serialize to HTTP -->
<p:processor name="oxf:http-serializer">
<p:input name="config">
<config>
<!-- NOTE: converter specifies text/html content-type -->
</config>
</p:input>
<p:input name="data" href="#converted"/>
</p:processor>
</p:config>
Thanks.
Martin
--
You receive this message as a subscriber of the
[hidden email]
mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]
?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws
Free forum by Nabble
Edit this page