• 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
Newbie: File upload w/Direct Actions and added parameters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie: File upload w/Direct Actions and added parameters


  • Subject: Newbie: File upload w/Direct Actions and added parameters
  • From: Lindsey Hotchkies <email@hidden>
  • Date: Tue, 23 May 2006 23:53:21 -0700 (PDT)

Newbie file upload question:

I am trying to upload a file using a direct action and
a WOFileUpload component. I can get the file to upload
correctly, but my issue is with sending a parameter to
the direct action so that it can properly set up the
next page and save the file into the database with the
right info.
The values I need for the file in the database are
determined by the page from which the user triggers
the upload. So, to use direct actions I think I need
to send those values as parameters (bindings to the
WOFileUpload or Form) with the upload. I tried binding
them to the WOFileUpload and/or the Form with no
success (the values don't appear in
request().formValues() in the DA).

Is there any way to send parameters (custom bindings)
with a Direct Action file upload?

Thanks!!
-Lindsey
 _______________________________________________
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: Newbie: File upload w/Direct Actions and added parameters
      • From: Amedeo Mantica <email@hidden>
    • Re: Newbie: File upload w/Direct Actions and added parameters
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: xCode 2.3
  • Next by Date: Re: Newbie: File upload w/Direct Actions and added parameters
  • Previous by thread: Re: horizontal inheritance oddity
  • Next by thread: Re: Newbie: File upload w/Direct Actions and added parameters
  • Index(es):
    • Date
    • Thread