• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Solved] FileUpload with D2W
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: [Solved] FileUpload with D2W
      • From: Guido Neitzer <email@hidden>
References: 
 >FileUpload with D2W (From: Guido Neitzer <email@hidden>)
 >[Solved] FileUpload with D2W (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: Strange WebObjects Localization, need help
  • Next by Date: Re: Web Services example projects
  • Previous by thread: [Solved] FileUpload with D2W
  • Next by thread: Re: [Solved] FileUpload with D2W
  • Index(es):
    • Date
    • Thread