Forms with RAP/RWT 2.0 [message #1009617] |
Fri, 15 February 2013 06:43  |
Eclipse User |
|
|
|
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!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04816 seconds