Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Upload widget relies on internal RWT code that has changed after M6
Upload widget relies on internal RWT code that has changed after M6 [message #677805] Thu, 09 June 2011 12:08 Go to next message
Aleksandar Pavlov is currently offline Aleksandar PavlovFriend
Messages: 79
Registered: July 2009
Member
Hi all,

We noticed that upload widget does not work anymore since update to RC3.
We tested that it works with M6.

The debug showed problem with

org.eclipse.rwt.widgets.UploadEvent.addListener(Adaptable, UploadListener)

which calls

org.eclipse.rwt.internal.events.Event.addListener(Adaptable, Class,
EventListener)


Similar problems will arise with

org.eclipse.rwt.widgets.UploadEvent.removeListener(Adaptable,
UploadListener)

which calls

org.eclipse.rwt.internal.events.Event.removeListener(Adaptable, Class,
EventListener)

Should I file a bug?

Thank you in advance,
Aleks
Re: Upload widget relies on internal RWT code that has changed after M6 [message #677811 is a reply to message #677805] Thu, 09 June 2011 12:54 Go to previous messageGo to next message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 243
Registered: March 2010
Location: France
Senior Member
Hello,

you should update the org.eclipse.rwt.widgets.upload from eclipse CVS, and the issue should gone.
It even compiles with v20110601_R14-RC3 tagged version of org.eclipse.rwt.widgets.upload projet, if you do not want to take HEAD.

Just for information, there is a new fileupload widget in RAP incubator, I think this one should be prefered to old upload
Best regards
[invalid] Upload widget relies on internal RWT code that has changed after M6 [message #677817 is a reply to message #677805] Thu, 09 June 2011 12:49 Go to previous messageGo to next message
Aleksandar Pavlov is currently offline Aleksandar PavlovFriend
Messages: 79
Registered: July 2009
Member
Forget that, I just found out that there is FileUpload integrated in RAP.

Is there simple example how to use it?

Thank you in advance,
Aleks


On 9.6.2011 г. 15:08 ч., Aleksandar Pavlov wrote:
> Hi all,
>
> We noticed that upload widget does not work anymore since update to RC3.
> We tested that it works with M6.
>
> The debug showed problem with
>
> org.eclipse.rwt.widgets.UploadEvent.addListener(Adaptable, UploadListener)
>
> which calls
>
> org.eclipse.rwt.internal.events.Event.addListener(Adaptable, Class,
> EventListener)
>
>
> Similar problems will arise with
>
> org.eclipse.rwt.widgets.UploadEvent.removeListener(Adaptable,
> UploadListener)
>
> which calls
>
> org.eclipse.rwt.internal.events.Event.removeListener(Adaptable, Class,
> EventListener)
>
> Should I file a bug?
>
> Thank you in advance,
> Aleks
Re: Upload widget relies on internal RWT code that has changed after M6 [message #677828 is a reply to message #677811] Thu, 09 June 2011 14:08 Go to previous messageGo to next message
Aleksandar Pavlov is currently offline Aleksandar PavlovFriend
Messages: 79
Registered: July 2009
Member
Hi Arnaud,

So it works for you? I can't make it work for me although I updated to
latest CVS HEAD.
The most annoying thing is that I dont even get compile-time error, but
on runtime it throws MethodNotFoundException.

Best regards


On 9.6.2011 г. 15:54 ч., Arnaud MERGEY wrote:
> Hello,
>
> you should update the org.eclipse.rwt.widgets.upload from eclipse CVS,
> and the issue should gone.
> It even compiles with v20110601_R14-RC3 tagged version of
> org.eclipse.rwt.widgets.upload projet, if you do not want to take HEAD.
>
> Just for information, there is a new fileupload widget in RAP incubator,
> I think this one should be prefered to old upload Best regards
Re: Upload widget relies on internal RWT code that has changed after M6 [message #678475 is a reply to message #677828] Thu, 09 June 2011 14:31 Go to previous messageGo to next message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 243
Registered: March 2010
Location: France
Senior Member
I do not use old upload anymore, I had switched to new fileupload available in incubator, but before answering you I had tested my old code, not from head but with 1.4 RC3 tagged version, and it still works.

The provided demo upload project works as well in my case
Re: Upload widget relies on internal RWT code that has changed after M6 [message #682052 is a reply to message #678475] Fri, 10 June 2011 09:59 Go to previous messageGo to next message
Swap  is currently offline Swap Friend
Messages: 30
Registered: March 2011
Member
I am trying to use file upload project from CVS which is in the incubator,
I am facing some problems in that:

1. The import org.eclipse.rwt.Fixture cannot be resolved
2. The import org.eclipse.rwt.TestResponse cannot be resolved
3. The method createFakeUploadRequest(String, String, String) from the type FileUploadTestUtil refers to the missing type TestRequest.
4. The import org.eclipse.rwt.TestRequest cannot be resolved

Did u face such compile-time errors?
What are the problems? Which jars are to be added?
Please help
Thanks in advance..
[RESOLVED] Re: Upload widget relies on internal RWT code that has changed after M6 [message #683228 is a reply to message #678475] Mon, 13 June 2011 08:58 Go to previous message
Aleksandar Pavlov is currently offline Aleksandar PavlovFriend
Messages: 79
Registered: July 2009
Member
Thank you Arnaud,

Indeed we fixed it when the upload widget was updated to version
v20110606_14-RC4 (not TRUNK version).

Best regards,
Aleks


On 9.6.2011 г. 17:31 ч., Arnaud MERGEY wrote:
> I do not use old upload anymore, I had switched to new fileupload
> available in incubator, but before answering you I had tested my old
> code, not from head but with 1.4 RC3 tagged version, and it still works.
>
> The provided demo upload project works as well in my case
Previous Topic:Unexpected java.lang.IllegalStateException: No context available outside of the request service life
Next Topic:Fixtures, TestResponse & TestRequest cannot be resolved from org.eclipse.rwt
Goto Forum:
  


Current Time: Fri Apr 26 19:41:37 GMT 2024

Powered by FUDForum. Page generated in 0.03309 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top