In addition to above issue, I am also trying to understand on how to
pass over the selected file(s) as multipart request to a servlet? I
tried the RequestBuilder, but so far no luck.

We are trying to use the Desktop class for multiple(image) file upload
feature in our application.
Any help is appreciated!


On Oct 29, 10:40 am, rakesh wagh <[EMAIL PROTECTED]> wrote:
> Mark, I tried the patch(gears.jar from issue 201) for multiple file
> upload. I am able to select multiple files both in hosted and non
> hosted mode. However when I press open, I get a exception in hosted
> mode(as a stacktrace in eclipse console). Works in browser(compile/
> browse). Here is the error:
>
> java.lang.ClassCastException
>         at java.lang.Class.cast(Class.java:2951)
>         at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:128)
>         at
> com.google.gwt.dev.shell.ie.SwtOleGlue.convertVariantsToObjects(SwtOleGlue.java:
> 57)
>         at
> com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:
> 119)
>         at
> com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:
> 155)
>         at
> com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:
> 294)
>         at
> com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:
> 194)
>         at
> org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:
> 117)
>         at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
>         at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
>         at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
>         at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
>         at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)
>
> Thanks for the efforts!
>
> On Oct 28, 5:11 pm, "Eric Ayers" <[EMAIL PROTECTED]> wrote:
>
> > I loaded up the patch into a branch so we could perform a public code
> > review:
>
> >  http://code.google.com/p/gwt-google-apis/issues/detail?id=202
>
> > On Tue, Oct 28, 2008 at 6:58 AM, Eric Ayers <[EMAIL PROTECTED]> wrote:
> > > Hi Mark,
> > > Thanks for posting this.  I haven't forgotten about your patch, but I'm
> > > busy with a release and may not get a chance to send you feedback until
> > > later this week.  I want to put your changes into 'trunk' and need to 
> > > merge
> > > the release branch back.  Also, I want to try out a new code review
> > > technique with you.
>
> > > On Mon, Oct 27, 2008 at 10:23 PM, Mark Renouf <[EMAIL PROTECTED]>wrote:
>
> > >> If anyone wants to try this out, I just created issue #201. Attached
> > >> is a pre-built gwt-gears.jar:
>
> > >>http://code.google.com/p/gwt-google-apis/issues/detail?id=201
>
> > >> I tested Geolocation throughGearson my G1 today and it worked just
> > >> fine. The address lookup function may not be working right though,
> > >> either a mistake I made somewhere or some other issue (always returns
> > >> null?).
>
> > > --
> > > Eric Z. Ayers - GWT Team - Atlanta, GA USA
> > >http://code.google.com/webtoolkit/
>
> > --
> > Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://code.google.com/webtoolkit/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
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