Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP 1.5m7 + FORMS
RAP 1.5m7 + FORMS [message #877457] Sat, 26 May 2012 15:35 Go to next message
Anuradha G is currently offline Anuradha G
Messages: 10
Registered: October 2010
Junior Member
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 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1794
Registered: July 2009
Senior Member
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 #878146 is a reply to message #877625] Mon, 28 May 2012 13:04 Go to previous messageGo to next message
Anuradha G is currently offline Anuradha G
Messages: 10
Registered: October 2010
Junior Member
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
Re: RAP 1.5m7 + FORMS [message #878174 is a reply to message #878146] Mon, 28 May 2012 14:42 Go to previous message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1794
Registered: July 2009
Senior Member
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/
Previous Topic:[ANN] RAP 1.5 RC1 available, all source code moved to Git
Next Topic:get IHandlerService from background thread
Goto Forum:
  


Current Time: Sat Aug 23 09:41:39 EDT 2014

Powered by FUDForum. Page generated in 0.01693 seconds