Re: [Solved] FileUpload with D2W
Re: [Solved] FileUpload with D2W
- Subject: Re: [Solved] FileUpload with D2W
- From: David Teran <email@hidden>
- Date: Wed, 23 Nov 2005 16:34:51 +0100
I am doing it like this:
myUploadComponent extends ERDCustomEditComponent
just adding a description string, a WOFileUpload and a submit button
(for the fileupload). Then i modify a rule:
task='edit' and entity.name='Whatever' -> displayPropertyKeys =
'(key1, key2, fileUpload, key3, key4)'
task='edit' and entity.name='Whatever' and propertyKey = 'fileUpload'
-> componentName = myUploadComponent
This works fine. Adding a little bit more magic and you can reuse the
component for -all- fileuploads.
regards, David
Am 23.11.2005 um 16:12 schrieb Guido Neitzer:
On 23.11.2005, at 13:29 Uhr, Guido Neitzer wrote:
What is the way to go to edit and display these files with D2W?
Okay - Solved.
I have created my own edit component for the entity and it just
works. I'm sure I have lost a lot of the D2W magic in my own
component, but I can add this later. Great.
Thanks for reading. ;-)
cug
--
PharmaLine, Essen, GERMANY
Software and Database Development
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40cluster9.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden