Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Clientscripting does not work with RAP 2.0 M4
Clientscripting does not work with RAP 2.0 M4 [message #994857] Fri, 28 December 2012 13:26 Go to next message
Stefan Milchram is currently offline Stefan MilchramFriend
Messages: 33
Registered: September 2012
Member
Hi,

We started migrating from Rap 2.0 M3 to M4 and experienced problems with clientscripting (i pulled the newest version from the incubator repository).
You can easily test this using the demo application.
The following error occurs:
Could not process server response:

Error: Error: Operation "create" on target "cs14" of type "null" failed:
No Adapter for type rwt.clientscripting.Listener
Properties: 
code = var handleEvent = function( event ) {

  if( event.keyCode === 0 && event.text.length > 1 ) {
    event.text = "dont paste here!";
  } else {
    event.text = event.text.toUpperCase();
  }

};


Is this already known?

Thanks in advance
Re: Clientscripting does not work with RAP 2.0 M4 [message #994866 is a reply to message #994857] Fri, 28 December 2012 13:50 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi.

This is likely because there have been changes in RAP since M4, and
Clientscripting has already been updated to work with theses changes.
Try checking out a previous commit, i.e. commit
1a4d548fd77b3a347c9f136a849dc41dc14e16a8 from 12.12.12.

Greetings,
Tim

Am 28.12.2012 14:26, schrieb Stefan M:
> Hi,
>
> We started migrating from Rap 2.0 M3 to M4 and experienced problems with
> clientscripting (i pulled the newest version from the incubator
> repository).
> You can easily test this using the demo application.
> The following error occurs:
> Could not process server response:
>
> Error: Error: Operation "create" on target "cs14" of type "null" failed:
> No Adapter for type rwt.clientscripting.Listener
> Properties: code = var handleEvent = function( event ) {
>
> if( event.keyCode === 0 && event.text.length > 1 ) {
> event.text = "dont paste here!";
> } else {
> event.text = event.text.toUpperCase();
> }
>
> };
>
> Is this already known?
>
> Thanks in advance

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Clientscripting does not work with RAP 2.0 M4 [message #996531 is a reply to message #994866] Wed, 02 January 2013 10:02 Go to previous messageGo to next message
Stefan Milchram is currently offline Stefan MilchramFriend
Messages: 33
Registered: September 2012
Member
I get the same error with commit 1a4d548fd77b3a347c9f136a849dc41dc14e16a8
It would be really helpful if the incubator plugins would be available for download in a version which is compatible to a milestone.
Especially clientscripting and grid are 2 killer-features for RAP in my view and should get more public attention. A official, milestone-compatible build available at the main download page could do that.
Re: Clientscripting does not work with RAP 2.0 M4 [message #996990 is a reply to message #996531] Thu, 03 January 2013 10:52 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi.

> I get the same error with commit 1a4d548fd77b3a347c9f136a849dc41dc14e16a8

That's strange, it works for me. Is there anything printed at the
browsers console? How exactly do you start the demo?

> It would be really helpful if the incubator plugins would be available
> for download in a version which is compatible to a milestone.
> Especially clientscripting and grid are 2 killer-features for RAP in my
> view and should get more public attention. A official,
> milestone-compatible build available at the main download page could do
> that.
>

Yes, that is something on our minds as well. The file upload dialog
would also fit there.

Greetings,
Tim

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Clientscripting does not work with RAP 2.0 M4 [message #997421 is a reply to message #996990] Mon, 07 January 2013 12:32 Go to previous messageGo to next message
Stefan Milchram is currently offline Stefan MilchramFriend
Messages: 33
Registered: September 2012
Member
It works with 1a4d548fd77b3a347c9f136a849dc41dc14e16a8, it seems that i got something wrong with my lokal git-repository.
Yes, FileUpload is a really good component too, we use it also in our project.
When do you plan to implement the download of incubator projects on the main page?

Thanks for the help
Re: Clientscripting does not work with RAP 2.0 M4 [message #997627 is a reply to message #996990] Mon, 07 January 2013 10:46 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

I've opened this bug:

397547: Provide Incubator builds for releases / milestones
https://bugs.eclipse.org/bugs/show_bug.cgi?id=397547

Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Clientscripting does not work with RAP 2.0 M4 [message #997634 is a reply to message #997421] Tue, 08 January 2013 10:26 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

On 01/07/2013 01:32 PM, Stefan M wrote:
> When do you plan to implement ...

always a bad question to ask an open source project ;-)

I hope we'll have it for RAP 2.0.

Regards, Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:[ANN] RAP 2.0 M4 published
Next Topic:RAP Hello World not working
Goto Forum:
  


Current Time: Fri Apr 19 06:53:37 GMT 2024

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

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

Back to the top