Newbie: File upload w/Direct Actions and added parameters
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