Reputation: 3774
Steps to reproduce -
I think the refresh is not working for entity viewer if it is updated by REST API. Is it a bug or any work around is there?
Upvotes: 1
Views: 1049
Reputation: 3774
A quick workaround is to add a refresh button
to the UI. Please check below screenshots to add the refresh button. I think that serves the purpose.
Show Advanced Properties > Table Actions > refresh
.Refresh
button in the web UI, so the user can click refresh button rather than loading the page.Upvotes: 0
Reputation: 637
If you mean refreshing the whole page by F5, it doesn't reload your data by the following reason:
CUBA generic UI is based on Vaadin, which means it stores the state of all components and data displayed on the page in the web server memory.
When you hit F5, your browser just loads this state from the server to the page.
In order to reload data from the middleware to the presentation layer, you need to refresh it on the web server, e.g. by reopening the screen.
Upvotes: 1