Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Retrieving the DataBindindContext in the XWT Code-behind class
Retrieving the DataBindindContext in the XWT Code-behind class [message #643039] Fri, 03 December 2010 17:48 Go to next message
St Clair Clarke is currently offline St Clair Clarke
Messages: 118
Registered: March 2010
Senior Member
Hello,
I would like to retrieve the instrance of the DataBindingConstext from an XWT src in the code-behind java class.

I can retrieve the DataContext, but I cannot find any documentation on how to retrieve the DataBindingContext.

I would like to retrieve the DataBindingContext to use it to place validation status in a Form header.

Any help is appreciated.

Thanks
Re: Retrieving the DataBindindContext in the XWT Code-behind class [message #645203 is a reply to message #643039] Wed, 15 December 2010 21:49 Go to previous message
Yves YANG is currently offline Yves YANG
Messages: 687
Registered: July 2009
Senior Member
You don't need to restrieve DataBindingContext to handle the validation
status. You can use it in declarative way. You can find some validation
testcases in org.eclipse.e4.xwt.tests.

Best regards
Yves YANG
"St Clair Clarke" <st_clair@flowja.com> wrote in message
news:idba9n$mpf$1@news.eclipse.org...
> Hello,
> I would like to retrieve the instrance of the DataBindingConstext from an
> XWT src in the code-behind java class.
>
> I can retrieve the DataContext, but I cannot find any documentation on how
> to retrieve the DataBindingContext.
>
> I would like to retrieve the DataBindingContext to use it to place
> validation status in a Form header.
>
> Any help is appreciated.
>
> Thanks
Previous Topic:Toolbar and View Menu in a part
Next Topic:CSS not load XWT Dialog
Goto Forum:
  


Current Time: Thu Oct 30 17:44:48 GMT 2014

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

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