MultiStep form with FileUpload

16 views
Skip to first unread message

Manvel Saroyan

unread,
Apr 25, 2011, 4:30:57 AM4/25/11
to Google Web Toolkit
Hi Dear GWT Developers.
Please help me with my question.
Let's me explain my problem: Before I was using one step registration
form with 4 FileUpload fields and around 10 TextFields. I used RPC
CALL to make server side validation for my TextFields and for creating
an absolute URL for BlobStore. After submitting my form I was getting
TextFields data using post method and uploading my pic to blobstore
(Creating Entity on one step).
So now I changed my form to 4 step form. Now when I'm submitting my
form on step 4 I'm losing my TextFields that was in the first 3 steps
and my SetName() method for that TextFields don't work I can't send
their data using HTTP, I only collect them into HashMap send via RPC
but I don't want to store the data in DataStore VIA RPC and then VIA
HTTP send my file into blobstore and then find my Entity and add the
key .. I want to make it at once for example I think It'll not be good
design in that way because if during the file upload my the connection
interupts I'll have useless Entity without BlobStoreKey. So please
suggest me a sollution to my problem.

Best Regards,
Manvel Saroyan
Reply all
Reply to author
Forward
0 new messages