Re: Upload Images in Seperate Deployment
Posted by
Phani S on
Nov 09, 2009; 4:44am
URL: https://discuss.orbeon.com/Upload-Images-in-Seperate-Deployment-tp584617p584801.html
Please can some body respond how to upload from a separate deployment...
On Sun, Nov 8, 2009 at 12:39 PM, Phani Sajja
<[hidden email]> wrote:
Hi,
I am running my Xforms Application in seperate deployment to orbeon. I want to upload an image.
My instance looks like
<xforms:instance id="image-instance">
<image xmlns="">
<file xsi:type="xs:anyURI" filename="" mediatype="" size=""/>
</image>
</xforms:instance>
I am trying to post to the example application in orbeon.
<xforms:submission id="image-submission" method="post" replace="none" resource="http://localhost/orbeon-development/xforms-upload/test:"/>
My upload control
<table class="upload-table">
<xforms:repeat nodeset="instance('image-instance')/file" id="file-repeat">
<tr>
<td>
<!-- Upload field -->
<xforms:upload ref="." xxforms:size="60">
<xforms:filename ref="@filename"/>
<xforms:mediatype ref="@mediatype"/>
<xxforms:size ref="@size"/>
</xforms:upload>
</td>
</tr>
</xforms:repeat>
</table>
It is not working. Event I don't think it will work. I also copied the text.xpl to my application's xforms-jsp folder. Still not found any clue. How can I upload the image to server. Once the image uploaded to a location on server the instance also has to be submitted to further process.
Please some one help me. If any one had working example please give me.
--
Phani. S
M.Tech(Software Engineering)
Motilal Nehru National Institute of Technology
(+91) 9010093398
--
Phani. S
M.Tech(Software Engineering)
Motilal Nehru National Institute of Technology
(+91) 9010093398
--
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