Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Forms with RAP/RWT 2.0
Forms with RAP/RWT 2.0 [message #1009617] Fri, 15 February 2013 06:43 Go to previous message
Sebastian Bauer is currently offline Sebastian Bauer
Messages: 25
Registered: July 2009
Junior Member
I'm trying to develop an WebApp with RWT standalone. With RAP/RWT 1.5, I was able to add FormText support to an RWT application like this:
 application.addResource(new ToggleHyperlinkResource());

With RAP/RWT 2.0, addResource() seems to have changed. Unfortunately, there is no Javadoc for addResource() so I can only guess the semantic.

I've tried now:
 application.addResource("org/eclipse/ui/forms/widgets/FormText.js",ThemeManager.STAN
DARD_RESOURCE_LOADER);


This successfully copies the .js file somewhere to the web-app/rwt-resources directory. But any uses of FormText class still result in
 Error: Error: Operation "create" on target "w6" of type "null" failed:
 No Handler for type forms.widgets.FormText


I guess that the content of the .js was not read by the client. What is the best way to make this working again with RAP/RWT 2.0?

Thanks in advance!
 
Read Message
Read Message
Read Message
Previous Topic:Adding composite above menubar when using PlatformUI.createAndRunWorkbench(display, advisor)
Next Topic:RAP Table: Row sometimes empty
Goto Forum:
  


Current Time: Thu May 23 11:53:24 EDT 2013

Powered by FUDForum. Page generated in 0.08801 seconds