The JavaDoc of GWT's FormPanel contains a small example how to use forms in 
GWT.

http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/FormPanel.html

For files you use FileUpload in your FormPanel and for data that the use 
should not see in your UI but that you want to send along with your file 
you use the Hidden widget in your FormPanel. Hidden widgets obviously have 
to be filled by you programmatically as they are hidden in the UI. 

Apache FileUpload (to parse the request on server) also contains a small 
example on its site:

http://commons.apache.org/fileupload/using.html
http://commons.apache.org/fileupload/streaming.html

-- J.

Am Dienstag, 20. November 2012 11:25:08 UTC+1 schrieb sreenivas:
>
> Thanks for your reply. But I am not getting exactly what to do as I am new 
> to GWT. Can you please provide some sample code?
>
> Thanks,
> Sreenivas
>
> On Tuesday, 20 November 2012 15:45:15 UTC+5:30, Jens wrote:
>>
>> Copy them to hidden form fields (GWT has a class called "Hidden" for 
>> hidden form fields). On server side you could use Apache FileUpload to 
>> extract all the data from the request.
>>
>> -- J.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/3i18JLJd6GsJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to