We have a UI model, using a Table in combination with TableFilterRequest. When populating the table, the TableFilterRequest is passed to a service, and the search attribute works as expected.
Inside the table row we have placed a “details” button, with through a UI transition displays a details page. The details page allows the selected row to be edited. This page has also a back button.
Our first approach was, when the Back button is clicked, call the service again, to show the most recent data. But, the transition from “details” to “table” page does not have a value for TableFilterRequest. This results in the search criteria being lost, all rows are displayed. The “search” field still shows the selection criteria, but the transition action script shows “NULL”.
Second approach was to do nothing when making the transition back to the “table” page. In this case, the search criteria are not lost. But, the “edited” row was not refreshed with new data.
How can I refresh the “table” page after a transition without losing the search criteria?