Copy file on harddisk in a newly created directory

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Copy file on harddisk in a newly created directory

abutnaru
Hi,
I need some help in copying the uploaded files. I can identify the files
in the temp directory but I do not know how to make the processor
copying the files in a newly created directory  when  the document is
saved.
Thanks in advance for the help!
Here is the processor I used.

<p:processor name="oxf:url-generator">
                <p:input name="config" value="pdffile">
                <config>
                    <url ref="pdffile"/>
                </config>
                </p:input>
                <p:output name="data" id="pdf-file"/>
            </p:processor>
            <!-- Write to another file -->
            <p:processor name="oxf:file-serializer">
                <p:input name="config">
                <config>
                    <directory>testdoc/reference</directory>
                    <file ref="pdffile/@filename"/>
                    <make-directories>true</make-directories>
                </config>
                </p:input>
                <p:input name="data" href="#pdf-file"/>
            </p:processor>


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Copy file on harddisk in a newly created directory

abutnaru
I have to add that I want to use this in Form Runner...

Adrian Butnaru schreef:

> Hi,
> I need some help in copying the uploaded files. I can identify the
> files in the temp directory but I do not know how to make the
> processor copying the files in a newly created directory  when  the
> document is saved.
> Thanks in advance for the help!
> Here is the processor I used.
>
> <p:processor name="oxf:url-generator">
>                <p:input name="config" value="pdffile">
>                <config>
>                    <url ref="pdffile"/>
>                </config>
>                </p:input>
>                <p:output name="data" id="pdf-file"/>
>            </p:processor>
>            <!-- Write to another file -->
>            <p:processor name="oxf:file-serializer">
>                <p:input name="config">
>                <config>
>                    <directory>testdoc/reference</directory>
>                    <file ref="pdffile/@filename"/>
>                    <make-directories>true</make-directories>
>                </config>
>                </p:input>
>                <p:input name="data" href="#pdf-file"/>
>            </p:processor>


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Copy file on harddisk in a newly created directory

Erik Bruchez
Administrator
Can you provide more details then? What's the goal? At what time do  
you need the files?

-Erik

On Aug 14, 2008, at 11:45 AM, Adrian Butnaru wrote:

> I have to add that I want to use this in Form Runner...
>
> Adrian Butnaru schreef:
>> Hi,
>> I need some help in copying the uploaded files. I can identify the  
>> files in the temp directory but I do not know how to make the  
>> processor copying the files in a newly created directory  when  the  
>> document is saved.
>> Thanks in advance for the help!
>> Here is the processor I used.
>>
>> <p:processor name="oxf:url-generator">
>>               <p:input name="config" value="pdffile">
>>               <config>
>>                   <url ref="pdffile"/>
>>               </config>
>>               </p:input>
>>               <p:output name="data" id="pdf-file"/>
>>           </p:processor>
>>           <!-- Write to another file -->
>>           <p:processor name="oxf:file-serializer">
>>               <p:input name="config">
>>               <config>
>>                   <directory>testdoc/reference</directory>
>>                   <file ref="pdffile/@filename"/>
>>                   <make-directories>true</make-directories>
>>               </config>
>>               </p:input>
>>               <p:input name="data" href="#pdf-file"/>
>>           </p:processor>
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Copy file on harddisk in a newly created directory

abutnaru
The goal is to store files introduced by users via XForms in such way
that a possible stop of the Tomcat instance will not affect the
existance of the uploads.
Users will insert one-by-one data about projects in this XForms.
Each project have zero or few pdf documents (reports) that should be
uploaded. Once uploaded I intend to create a directory with the name of
the project and copy there the uploaded pdf's.
I think this is the best idea. I could use binary storage of uploads but
if The users will insert 100 projects with 10 pdf's each I think it will
become too much for my XForms application.

Adrian

Erik Bruchez schreef:

> Can you provide more details then? What's the goal? At what time do
> you need the files?
>
> -Erik
>
> On Aug 14, 2008, at 11:45 AM, Adrian Butnaru wrote:
>
>> I have to add that I want to use this in Form Runner...
>>
>> Adrian Butnaru schreef:
>>> Hi,
>>> I need some help in copying the uploaded files. I can identify the
>>> files in the temp directory but I do not know how to make the
>>> processor copying the files in a newly created directory  when  the
>>> document is saved.
>>> Thanks in advance for the help!
>>> Here is the processor I used.
>>>
>>> <p:processor name="oxf:url-generator">
>>>               <p:input name="config" value="pdffile">
>>>               <config>
>>>                   <url ref="pdffile"/>
>>>               </config>
>>>               </p:input>
>>>               <p:output name="data" id="pdf-file"/>
>>>           </p:processor>
>>>           <!-- Write to another file -->
>>>           <p:processor name="oxf:file-serializer">
>>>               <p:input name="config">
>>>               <config>
>>>                   <directory>testdoc/reference</directory>
>>>                   <file ref="pdffile/@filename"/>
>>>                   <make-directories>true</make-directories>
>>>               </config>
>>>               </p:input>
>>>               <p:input name="data" href="#pdf-file"/>
>>>           </p:processor>
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Copy file on harddisk in a newly created directory

Erik Bruchez
Administrator
So you are saying that the Save button would not be enough?

Maybe want you want instead is some sort of auto-save feature?

-Erik

On Aug 14, 2008, at 1:45 PM, Adrian Butnaru wrote:

> The goal is to store files introduced by users via XForms in such  
> way that a possible stop of the Tomcat instance will not affect the  
> existance of the uploads.
> Users will insert one-by-one data about projects in this XForms.
> Each project have zero or few pdf documents (reports) that should be  
> uploaded. Once uploaded I intend to create a directory with the name  
> of the project and copy there the uploaded pdf's.
> I think this is the best idea. I could use binary storage of uploads  
> but if The users will insert 100 projects with 10 pdf's each I think  
> it will become too much for my XForms application.
>
> Adrian
>
> Erik Bruchez schreef:
>> Can you provide more details then? What's the goal? At what time do  
>> you need the files?
>>
>> -Erik
>>
>> On Aug 14, 2008, at 11:45 AM, Adrian Butnaru wrote:
>>
>>> I have to add that I want to use this in Form Runner...
>>>
>>> Adrian Butnaru schreef:
>>>> Hi,
>>>> I need some help in copying the uploaded files. I can identify  
>>>> the files in the temp directory but I do not know how to make the  
>>>> processor copying the files in a newly created directory  when  
>>>> the document is saved.
>>>> Thanks in advance for the help!
>>>> Here is the processor I used.
>>>>
>>>> <p:processor name="oxf:url-generator">
>>>>              <p:input name="config" value="pdffile">
>>>>              <config>
>>>>                  <url ref="pdffile"/>
>>>>              </config>
>>>>              </p:input>
>>>>              <p:output name="data" id="pdf-file"/>
>>>>          </p:processor>
>>>>          <!-- Write to another file -->
>>>>          <p:processor name="oxf:file-serializer">
>>>>              <p:input name="config">
>>>>              <config>
>>>>                  <directory>testdoc/reference</directory>
>>>>                  <file ref="pdffile/@filename"/>
>>>>                  <make-directories>true</make-directories>
>>>>              </config>
>>>>              </p:input>
>>>>              <p:input name="data" href="#pdf-file"/>
>>>>          </p:processor>
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>
>
> --
> 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
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Copy file on harddisk in a newly created directory

abutnaru
I understand that uploading of files via de upload control is saving
only temporarily the files in the Tomcat temp directory.
I want to avoid thtat stopping of Tomcat instance will make all the
uploaded files lose by copying these files in a separate directory.

A.

Erik Bruchez schreef:

> So you are saying that the Save button would not be enough?
>
> Maybe want you want instead is some sort of auto-save feature?
>
> -Erik
>
> On Aug 14, 2008, at 1:45 PM, Adrian Butnaru wrote:
>
>> The goal is to store files introduced by users via XForms in such way
>> that a possible stop of the Tomcat instance will not affect the
>> existance of the uploads.
>> Users will insert one-by-one data about projects in this XForms.
>> Each project have zero or few pdf documents (reports) that should be
>> uploaded. Once uploaded I intend to create a directory with the name
>> of the project and copy there the uploaded pdf's.
>> I think this is the best idea. I could use binary storage of uploads
>> but if The users will insert 100 projects with 10 pdf's each I think
>> it will become too much for my XForms application.
>>
>> Adrian
>>
>> Erik Bruchez schreef:
>>> Can you provide more details then? What's the goal? At what time do
>>> you need the files?
>>>
>>> -Erik
>>>
>>> On Aug 14, 2008, at 11:45 AM, Adrian Butnaru wrote:
>>>
>>>> I have to add that I want to use this in Form Runner...
>>>>
>>>> Adrian Butnaru schreef:
>>>>> Hi,
>>>>> I need some help in copying the uploaded files. I can identify the
>>>>> files in the temp directory but I do not know how to make the
>>>>> processor copying the files in a newly created directory  when  
>>>>> the document is saved.
>>>>> Thanks in advance for the help!
>>>>> Here is the processor I used.
>>>>>
>>>>> <p:processor name="oxf:url-generator">
>>>>>              <p:input name="config" value="pdffile">
>>>>>              <config>
>>>>>                  <url ref="pdffile"/>
>>>>>              </config>
>>>>>              </p:input>
>>>>>              <p:output name="data" id="pdf-file"/>
>>>>>          </p:processor>
>>>>>          <!-- Write to another file -->
>>>>>          <p:processor name="oxf:file-serializer">
>>>>>              <p:input name="config">
>>>>>              <config>
>>>>>                  <directory>testdoc/reference</directory>
>>>>>                  <file ref="pdffile/@filename"/>
>>>>>                  <make-directories>true</make-directories>
>>>>>              </config>
>>>>>              </p:input>
>>>>>              <p:input name="data" href="#pdf-file"/>
>>>>>          </p:processor>
>>>
>>> --
>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>> http://www.orbeon.com/
>>>
>>
>>
>> --
>> 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
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Copy file on harddisk in a newly created directory

Erik Bruchez
Administrator
Yes ok but you are talking about Form Runner, so I am asking a  
slightly higher-level question.

The idea or the Form Runner UI at the moment is that you enter data,  
add attachments, etc. If you kill Tomcat before the user presses  
"Save", then your data and attachments are both lost. Now the question  
is:

* Is this a problem, i.e. why wouldn't the user not save soon? Or is  
this likely to happen anyway? The answer to this depends on the use  
case you have in mind. If you intend the user to spend 3 hours  
uploading files, I can see how it is important. If the use uploads  
files, enters data, and then 2 minutes later saves anyway, this  
becomes less of an issue IMO.

* Now if this really is a problem, then what is the solution? This is  
why I was talking about a "draft" auto-save mechanism which could be  
introduced in Form Runner.

Note also that the issue of copying over all uploaded files is that  
you raise an issue of garbage collection: the user may upload a file,  
and then remove that file from the UI by clearing the upload control.  
When the user does that, maybe you will need to remove the file on  
disk as well.

-Erik

On Aug 15, 2008, at 1:51 AM, Adrian Butnaru wrote:

> I understand that uploading of files via de upload control is saving  
> only temporarily the files in the Tomcat temp directory.
> I want to avoid thtat stopping of Tomcat instance will make all the  
> uploaded files lose by copying these files in a separate directory.
>
> A.
>
> Erik Bruchez schreef:
>> So you are saying that the Save button would not be enough?
>>
>> Maybe want you want instead is some sort of auto-save feature?
>>
>> -Erik
>>
>> On Aug 14, 2008, at 1:45 PM, Adrian Butnaru wrote:
>>
>>> The goal is to store files introduced by users via XForms in such  
>>> way that a possible stop of the Tomcat instance will not affect  
>>> the existance of the uploads.
>>> Users will insert one-by-one data about projects in this XForms.
>>> Each project have zero or few pdf documents (reports) that should  
>>> be uploaded. Once uploaded I intend to create a directory with the  
>>> name of the project and copy there the uploaded pdf's.
>>> I think this is the best idea. I could use binary storage of  
>>> uploads but if The users will insert 100 projects with 10 pdf's  
>>> each I think it will become too much for my XForms application.
>>>
>>> Adrian
>>>
>>> Erik Bruchez schreef:
>>>> Can you provide more details then? What's the goal? At what time  
>>>> do you need the files?
>>>>
>>>> -Erik
>>>>
>>>> On Aug 14, 2008, at 11:45 AM, Adrian Butnaru wrote:
>>>>
>>>>> I have to add that I want to use this in Form Runner...
>>>>>
>>>>> Adrian Butnaru schreef:
>>>>>> Hi,
>>>>>> I need some help in copying the uploaded files. I can identify  
>>>>>> the files in the temp directory but I do not know how to make  
>>>>>> the processor copying the files in a newly created directory  
>>>>>> when  the document is saved.
>>>>>> Thanks in advance for the help!
>>>>>> Here is the processor I used.
>>>>>>
>>>>>> <p:processor name="oxf:url-generator">
>>>>>>             <p:input name="config" value="pdffile">
>>>>>>             <config>
>>>>>>                 <url ref="pdffile"/>
>>>>>>             </config>
>>>>>>             </p:input>
>>>>>>             <p:output name="data" id="pdf-file"/>
>>>>>>         </p:processor>
>>>>>>         <!-- Write to another file -->
>>>>>>         <p:processor name="oxf:file-serializer">
>>>>>>             <p:input name="config">
>>>>>>             <config>
>>>>>>                 <directory>testdoc/reference</directory>
>>>>>>                 <file ref="pdffile/@filename"/>
>>>>>>                 <make-directories>true</make-directories>
>>>>>>             </config>
>>>>>>             </p:input>
>>>>>>             <p:input name="data" href="#pdf-file"/>
>>>>>>         </p:processor>
>>>>
>>>> --
>>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>>> http://www.orbeon.com/
>>>>
>>>
>>>
>>> --
>>> 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
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>
>
> --
> 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
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: Copy file on harddisk in a newly created directory

abutnaru
Sorry, It was my confusion. I thought that Form Runner is not keeping
the "link" between the upload-control and the temporary uploaded file
after Tomcat is restarted.
Now is OK, but I have a new challenge... how could the user download a
previously uploaded file?
How can be a kind of "control download" component be built?

Erik Bruchez schreef:

> Yes ok but you are talking about Form Runner, so I am asking a
> slightly higher-level question.
>
> The idea or the Form Runner UI at the moment is that you enter data,
> add attachments, etc. If you kill Tomcat before the user presses
> "Save", then your data and attachments are both lost. Now the question
> is:
>
> * Is this a problem, i.e. why wouldn't the user not save soon? Or is
> this likely to happen anyway? The answer to this depends on the use
> case you have in mind. If you intend the user to spend 3 hours
> uploading files, I can see how it is important. If the use uploads
> files, enters data, and then 2 minutes later saves anyway, this
> becomes less of an issue IMO.
>
> * Now if this really is a problem, then what is the solution? This is
> why I was talking about a "draft" auto-save mechanism which could be
> introduced in Form Runner.
>
> Note also that the issue of copying over all uploaded files is that
> you raise an issue of garbage collection: the user may upload a file,
> and then remove that file from the UI by clearing the upload control.
> When the user does that, maybe you will need to remove the file on
> disk as well.
>
> -Erik
>
> On Aug 15, 2008, at 1:51 AM, Adrian Butnaru wrote:
>
>> I understand that uploading of files via de upload control is saving
>> only temporarily the files in the Tomcat temp directory.
>> I want to avoid thtat stopping of Tomcat instance will make all the
>> uploaded files lose by copying these files in a separate directory.
>>
>> A.
>>
>> Erik Bruchez schreef:
>>> So you are saying that the Save button would not be enough?
>>>
>>> Maybe want you want instead is some sort of auto-save feature?
>>>
>>> -Erik
>>>
>>> On Aug 14, 2008, at 1:45 PM, Adrian Butnaru wrote:
>>>
>>>> The goal is to store files introduced by users via XForms in such
>>>> way that a possible stop of the Tomcat instance will not affect the
>>>> existance of the uploads.
>>>> Users will insert one-by-one data about projects in this XForms.
>>>> Each project have zero or few pdf documents (reports) that should
>>>> be uploaded. Once uploaded I intend to create a directory with the
>>>> name of the project and copy there the uploaded pdf's.
>>>> I think this is the best idea. I could use binary storage of
>>>> uploads but if The users will insert 100 projects with 10 pdf's
>>>> each I think it will become too much for my XForms application.
>>>>
>>>> Adrian
>>>>
>>>> Erik Bruchez schreef:
>>>>> Can you provide more details then? What's the goal? At what time
>>>>> do you need the files?
>>>>>
>>>>> -Erik
>>>>>
>>>>> On Aug 14, 2008, at 11:45 AM, Adrian Butnaru wrote:
>>>>>
>>>>>> I have to add that I want to use this in Form Runner...
>>>>>>
>>>>>> Adrian Butnaru schreef:
>>>>>>> Hi,
>>>>>>> I need some help in copying the uploaded files. I can identify
>>>>>>> the files in the temp directory but I do not know how to make
>>>>>>> the processor copying the files in a newly created directory  
>>>>>>> when  the document is saved.
>>>>>>> Thanks in advance for the help!
>>>>>>> Here is the processor I used.
>>>>>>>
>>>>>>> <p:processor name="oxf:url-generator">
>>>>>>>             <p:input name="config" value="pdffile">
>>>>>>>             <config>
>>>>>>>                 <url ref="pdffile"/>
>>>>>>>             </config>
>>>>>>>             </p:input>
>>>>>>>             <p:output name="data" id="pdf-file"/>
>>>>>>>         </p:processor>
>>>>>>>         <!-- Write to another file -->
>>>>>>>         <p:processor name="oxf:file-serializer">
>>>>>>>             <p:input name="config">
>>>>>>>             <config>
>>>>>>>                 <directory>testdoc/reference</directory>
>>>>>>>                 <file ref="pdffile/@filename"/>
>>>>>>>                 <make-directories>true</make-directories>
>>>>>>>             </config>
>>>>>>>             </p:input>
>>>>>>>             <p:input name="data" href="#pdf-file"/>
>>>>>>>         </p:processor>
>>>>>
>>>>> --
>>>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>>>> http://www.orbeon.com/
>>>>>
>>>>
>>>>
>>>> --
>>>> 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
>>>
>>> --
>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>> http://www.orbeon.com/
>>>
>>
>>
>> --
>> 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
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>


--
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
Reply | Threaded
Open this post in threaded view
|

ResourceNotFoundException

Surendran M-2
I am encountering this error

org.orbeon.oxf.resources.ResourceNotFoundException: Cannot load
"/config/xforms-widgets.xsl" with webapp loader


pls help any solution



--
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
Reply | Threaded
Open this post in threaded view
|

Re: ResourceNotFoundException

Erik Bruchez
Administrator
Again, more info: when does this happen, what version of OF are you  
using, what servlet container, etc.

-Erik

On Aug 16, 2008, at 7:21 AM, Surendran M wrote:

> I am encountering this error
>
> org.orbeon.oxf.resources.ResourceNotFoundException: Cannot load
> "/config/xforms-widgets.xsl" with webapp loader
>
>
> pls help any solution
>
>
> --
> 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
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: Re: Copy file on harddisk in a newly created directory

Alessandro Vernet
Administrator
In reply to this post by abutnaru
Adrian,

On Sat, Aug 16, 2008 at 6:56 AM, Adrian Butnaru <[hidden email]> wrote:
> Sorry, It was my confusion. I thought that Form Runner is not keeping the
> "link" between the upload-control and the temporary uploaded file after
> Tomcat is restarted.
> Now is OK, but I have a new challenge... how could the user download a
> previously uploaded file?
> How can be a kind of "control download" component be built?

Well, right now you can't download the file you attached. You change
the attachment (deleting the existing attachment, and uploading a new
one), but you can't download an attachment stored in the database.
This is a capability we will definitely want to add at some point.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
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