No form data left for WOFileUpload!
No form data left for WOFileUpload!
- Subject: No form data left for WOFileUpload!
- From: "Web.de Mail" <email@hidden>
- Date: Mon, 7 Feb 2005 21:12:41 +0100
Good day.
As u see in header of this message i got this excpetion when
using WOFileUpload element in my page. I really dont know what to do
now, coz it s ruining my whole concept of the page. Let me write
situation i have now, so maybe someone can help my by advice what to
do.
I have a page with 1 repetition. The repetition List is an Array with
some quantity of Objects like "Foto". Foto have some attributes like "name", "created"
etc. Running variable in repetition is fotoItem instance of Foto
ofcourse.
Repetition on page makes repetition of this:
<WOForm>
Enter Name: <name input feld(bound on the fotoItem.name)>
<WOFileUpload>
<Submit button>
</WOForm>
SO i have like some forms on this page with some input fields. I tryed
to put my forms in true or false in multiplySubmit checkbox. Form have
"multipart/form-data" as enc type. WOFileUpload have two bindings
"fotoData" and "fotoPath". My onSave procedure makes nothing except:
create Foto object; fill fields, save it in DB.
than see (if fotoData != null && fotoData.length > 0) than save foto
in 2 different sizes on the harddisk, loooking for Foto NSData in the
variable fotoData.
And i get this error and cant do nothing to reapair it. As Solo
variant of this page, i mean where only one <WOForm> block lives on
the page it works ok, but with many block it becomes this error.
I tryed to move form above my repetition so all objects in repetition
have one form, then i have no exception but all the way empty fotoData
variable so i cant save no fotos either.
Please help me to solve this problem.
Dimasosan
_______________________________________________
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