Best way to make data-binding conditional [message #1802524] |
Mon, 11 February 2019 07:15  |
Eclipse User |
|
|
|
It it possible to make data-binding conditional, e.g. only synchronize between model and target in case an IObservableValue<Boolean> is true?
Some background: We are running an application which hides SWT widgets in case the user has no permissions to view the data contained in it. However we observed hiding is not enough - what might work for native platforms breaks for RAP.
At least when using RAP the data is still in the JSON sent from the server to the client, so in case the user has no permissions I would like data binding to assign "" instead of real values to the widgets.
|
|
|
|
Powered by
FUDForum. Page generated in 0.06497 seconds