Re: FileUpload Problem? [Solved]
Re: FileUpload Problem? [Solved]
- Subject: Re: FileUpload Problem? [Solved]
- From: Kevin Xiaowen Ren <email@hidden>
- Date: Fri, 23 Jul 2004 13:08:04 +1200
HI, all,
Thanks you all and John,
Currently I add Select button to every item from WORepetition, and only one
WOFileUpload and Save button for selected item.
When I click Select button pass the item to Fileupload part, like
selectedItem = repetitionItem;
And from Save button I just deal with one selectedItem.
It's done. I don't need open another window(editor) to upload file.
BTW, Alexandra, I gwent to your page and upload file, it's no problem. From
code something is different from mine.
UploadBtn:WOSubmitButton{
action = bindPDFFileLink;
value = "Upload File";
}
UploadPDF:WOFileUpload {
filePath = pdfFilePath;
data = pdfFileData;
}
I don't bind item.data to data in WOFileUpload
thanks,
kevin
At 17:38 22/07/2004 +1200, you wrote:
HI, All,
I have WORepetition with list and item, for every item I want to link one
pdf file or not.
Item has relationship to link data object.
The problem is only the last item could use WOFileUpload to link some
data(pdf file), The item above the last one could not upload file.
I try to print out selected item in my uploadFile action(method), the item
is right, but couldn't print out filePath and fileData.length is 0.
What can I do? Is it bug for OWFileUpload?
OR I have to open another page to upload single file to selected item?
thanks
kevin
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
Kevin Xiaowen Ren
Programmer
Black Albatross
64-3- 479 5468
www.blackalbatross.com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.