|
Re: Refresh Page from Form [message #1810746 is a reply to message #1810678] |
Mon, 19 August 2019 06:40 |
|
Maybe you should take a look at the org.eclipse.scout.rt.client.ui.desktop.datachange.DataChangeEvent class. Use it together with AbstractDesktop#dataChanged(event), #fireDataChangeEvent(event) and #addDataChangeListener. Each time you modify (or create) an entity (like a Person, a Car, a Book, etc.) in your application the event handler is notified and you can reload/update the related data and update the UI. With that you could simply trigger a data change event in the execStore() method of your form handler by calling getDesktop().dataChanged(new DataChangeEvent(MyEntity.class, ChangeStatus.INSERTED)).
Eclipse Scout Homepage | Documentation | GitHub
|
|
|
Powered by
FUDForum. Page generated in 0.03929 seconds