Re: Newbie: File upload w/Direct Actions and added parameters
Re: Newbie: File upload w/Direct Actions and added parameters
- Subject: Re: Newbie: File upload w/Direct Actions and added parameters
- From: Mike Schrag <email@hidden>
- Date: Wed, 24 May 2006 06:36:43 -0400
You can put a WOHiddenField in your form with the value you want to
pass ...
On May 24, 2006, at 2:53 AM, Lindsey Hotchkies wrote:
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:
40mdimension.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