Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » JFace_Data_Binding/DOM Example
JFace_Data_Binding/DOM Example [message #22812] Wed, 22 July 2009 16:51 Go to next message
Stephen Panosian is currently offline Stephen PanosianFriend
Messages: 7
Registered: July 2009
Junior Member
I am trying to run the examples from JFace Data Binding/DOM
http://wiki.eclipse.org/JFace_Data_Binding/DOM

I've downloaded both components and imported the examples project. I then
added the plug-in to the build path libraries. Also, added
org.eclipse.core.databind.property plug-in. Everything compiles fine but
when I run I get this error.

org.eclipse.core.databinding.BindingException: converter does not convert
to type class org.apache.xerces.dom.DeferredDocumentImpl Expected:
interface org.w3c.dom.Document, actual: class
org.apache.xerces.dom.DeferredDocumentImpl
at
org.eclipse.core.databinding.UpdateStrategy.checkAssignable( UpdateStrategy.java:97)

and other stuff

Did I set the project up wrong or am I missing something? Any help is
appreciated . Thanks.

Stephen
Re: JFace_Data_Binding/DOM Example [message #23153 is a reply to message #22812] Wed, 22 July 2009 21:18 Go to previous messageGo to next message
Matthew Hall is currently offline Matthew HallFriend
Messages: 368
Registered: July 2009
Senior Member
Stephen,

I suspect you are binding to the wrong object, but we need to see your
binding code to be sure. A standalone snippet would be ideal.

Note that the DOM observables are not an Eclipse project (yet!) so you
may have better luck contacting the TK-UI project maintainers on
Sourceforge.

Matthew

Stephen Panosian wrote:
> I am trying to run the examples from JFace Data Binding/DOM
> http://wiki.eclipse.org/JFace_Data_Binding/DOM
>
> I've downloaded both components and imported the examples project. I
> then added the plug-in to the build path libraries. Also, added
> org.eclipse.core.databind.property plug-in. Everything compiles fine but
> when I run I get this error.
>
> org.eclipse.core.databinding.BindingException: converter does not
> convert to type class org.apache.xerces.dom.DeferredDocumentImpl
> Expected: interface org.w3c.dom.Document, actual: class
> org.apache.xerces.dom.DeferredDocumentImpl
> at
> org.eclipse.core.databinding.UpdateStrategy.checkAssignable( UpdateStrategy.java:97)
>
>
> and other stuff
>
> Did I set the project up wrong or am I missing something? Any help is
> appreciated . Thanks.
>
> Stephen
>
Re: JFace_Data_Binding/DOM Example [message #23620 is a reply to message #23153] Thu, 23 July 2009 13:31 Go to previous message
Stephen Panosian is currently offline Stephen PanosianFriend
Messages: 7
Registered: July 2009
Junior Member
All I am trying to do is run the examples so I haven't changed anything. I
will contact the maintainers and see what they have to say. Thanks for
your advice. I'm still new at this but I'm glad so many people are willing
to help.

Stephen
Previous Topic:Changing foreground/background color of selected table row
Next Topic:MultiValidator disposal
Goto Forum:
  


Current Time: Fri Dec 27 06:17:23 GMT 2024

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

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

Back to the top