• 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
Re: 2 form each with one WOFileUpload seems doesn't work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2 form each with one WOFileUpload seems doesn't work


  • Subject: Re: 2 form each with one WOFileUpload seems doesn't work
  • From: Paolo Sommaruga <email@hidden>
  • Date: Fri, 29 Sep 2006 17:28:17 +0200

Xavier,

thanks for your answer. In my test have 2 forms, each with its instance variables, one submit button and one file upload and any of both form work. (No form data left for WOFileUpload! error)

Regards


Paolo


Il giorno 29/set/06, alle ore 10:38, Dev WO ha scritto:


Hello Paolo,
You cannot submit two different form with only one submit button.
So if you need to handle 2 or more file upload, you've got to make sure:
-all WOFileUpload belong to the same WOForm
-either have a WORepetition for the number of file to upload or different instance variables (NSData etc) for each WOFileUpload



Xavier




Sorry for another file upload post.

I need to put several file upload in a page in response to some user actions and I have made one form for one WOFileUpload (NSData binding). With one form all work, but with already two form I have a problem which doesn't understand:

<com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
java.lang.IllegalStateException: <com.webobjects.appserver._private.WOFileUpload> No form data left for WOFileUpload!
...


There is something that prevents to use more than one form with WOFileUpload in the same page ? I'm confusing

Regards

Paolo Sommaruga
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40anazys.com


This email sent to email@hidden




--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



_______________________________________________ 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
  • Prev by Date: Re: 2 form each with one WOFileUpload seems doesn't work
  • Next by Date: Invalidating EOSharedEditingContext through DirectAction
  • Previous by thread: Re: 2 form each with one WOFileUpload seems doesn't work
  • Next by thread: Invalidating EOSharedEditingContext through DirectAction
  • Index(es):
    • Date
    • Thread