On 2010-09-22, at 8:22 AM, Pelaia II, Tom wrote:

> Hi Johnny,
> 
> Thanks for the feedback; however, I think my solution will have to be 
> different since I am not using Wonder.

Well there's your problem right there. ;-)

> The problems may be related, though.
> 
> thanks,
> tom
> 
> 
> On Sep 21, 2010, at 4:04 PM, Johnny Miller wrote:
> 
> I'm not sure if you are having the same problem but yesterday I was dealing 
> with something similar that was driving me crazy - adding WOFileUpload was 
> stripping the values of all elements.
> 
> Adding this property to the properties file fixed it.
> 
> er.extensions.ERXApplication.DefaultEncoding=UTF-8
> 
> HTH,
> 
> Johnny
> 
> 
> On Sep 21, 2010, at 9:55 AM, Pelaia II, Tom wrote:
> 
> Hi,
> 
> I am trying to support multiple file upload by using a custom input element. 
> It works, but for some reason it strips the form values for all form elements 
> that follow it. So in the following example, the form values for the 
> "testField" are stripped. If I move the test field before the file upload 
> element, it will behave as expected and all form data gets passed correctly.
> 
> Below is the code I am trying to get working:
> <wo:WOForm enctype="multipart/form-data" method="post" 
> multipleSubmit="[true]">
> <input name="mediaupload" type="file" multiple="true" />
> <wo:WOTextField name="testField" value="[testField]" />
> <input type="submit" name="uploadData" action="[uploadData]" />
> </wo:WOForm>
> 
> What is the correct way to introduce an multi-file upload element?
> 
> thanks,
> tom
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      
> ([email protected]<mailto:[email protected]>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/jlmiller%40kahalawai.com
> 
> This email sent to [email protected]<mailto:[email protected]>
> 
> Johnny Miller
> Kahalawai Media Corp
> http://www.kahalawai.com<http://www.kahalawai.com/>

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog:   http://davidleber.net
profile:        http://www.linkedin.com/in/davidleber
twitter:        http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




 _______________________________________________
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