Home » Eclipse Projects » Remote Application Platform (RAP) » RAP 1.5m7 + FORMS
RAP 1.5m7 + FORMS [message #877457] |
Sat, 26 May 2012 15:35  |
Eclipse User |
|
|
|
I'm using Rap 1.5M7 and when I try to use Rap with org.eclipse.ui.forms
I'm getting "No Adapter for type forms.widgets.ToggleHyperlink". but if I remove ExpandableComposite.TWISTIE style it work fine.
Section section = toolkit.createSection(form.getBody(),
ExpandableComposite.TITLE_BAR | ExpandableComposite.TWISTIE
| Section.EXPANDED);
Error: Error: Operation "create" on target "w84" of type "null" failed:
No Adapter for type forms.widgets.ToggleHyperlink
Properties:
parent = w81
images = rwt-resources/generated/7b687d84,10,10,,rwt-resources/generated/39c1da32,10,10,
bounds = 6,3,12,12
children =
tabIndex = 40
foreground = 74,74,74,255
background = 0,0,0,0
font = Verdana,Lucida Sans,Arial,Helvetica,sans-serif,11,true,false
cancelKeys = #38,#40
|
|
|
Re: RAP 1.5m7 + FORMS [message #877625 is a reply to message #877457] |
Sun, 27 May 2012 03:44   |
Eclipse User |
|
|
|
Hi,
I can't reproduce it with the current Git master. The
ToggleHyperlinkAdapter.js is there (in forms bundle). Could you try to
create a small project that demonstrate the problem. Please open a
bugzilla and attach the project there.
Thanks,
Ivan
On 5/26/2012 10:35 PM, Anuradha G wrote:
> I'm using Rap 1.5M7 and when I try to use Rap with org.eclipse.ui.forms
> I'm getting "No Adapter for type forms.widgets.ToggleHyperlink". but
> if I remove ExpandableComposite.TWISTIE style it work fine.
> Section section = toolkit.createSection(form.getBody(),
> ExpandableComposite.TITLE_BAR | ExpandableComposite.TWISTIE
> | Section.EXPANDED);
>
>
> Error: Error: Operation "create" on target "w84" of type "null" failed:
> No Adapter for type forms.widgets.ToggleHyperlink
> Properties: parent = w81
> images =
> rwt-resources/generated/7b687d84,10,10,,rwt-resources/generated/39c1da32,10,10,
> bounds = 6,3,12,12
> children = tabIndex = 40
> foreground = 74,74,74,255
> background = 0,0,0,0
> font = Verdana,Lucida Sans,Arial,Helvetica,sans-serif,11,true,false
> cancelKeys = #38,#40
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
| |
Re: RAP 1.5m7 + FORMS [message #878174 is a reply to message #878146] |
Mon, 28 May 2012 14:42  |
Eclipse User |
|
|
|
Hi,
if you are using the forms bundle in a RWT Standalone application you
have to register all needed resources (from the extension point)
manually. Here [1] is a similar question about FormsText in RWT
Standalone application.
[1] http://www.eclipse.org/forums/index.php/m/130256/
HTH,
Ivan
On 5/28/2012 8:04 PM, Anuradha G wrote:
> Sorry about delay to replay back I have created a test project.
> I used web project type (standalone web app) other than eclipse plugin
> project.
> SO I have create the test project with same setup as it include rwt
> runtime in lib folder it is too big to attach here so I have upload it
> to my drop box. please find link dl.dropbox.com/u/33401761/forms-test.zip
>
> when you run web application with tomcat url for app is
> localhost:8080/test/forms
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Goto Forum:
Current Time: Fri Jul 11 22:06:43 EDT 2025
Powered by FUDForum. Page generated in 0.04267 seconds
|