Hi Tom, Are you using Wonder? There is a multi-file upload component in package er.attachment.components.
http://webobjects.mdimension.com/hudson/job/Wonder54/javadoc/er/attachment/components/ERAttachmentFlexibleUpload.html If not, it still may give you some ideas about how to create one. David On 2010-09-21, at 12:55 PM, 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 (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com > > This email sent to programming...@mac.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com