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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/david.teran% 40cluster9.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to