So I have a AsyncTable, which has two columns, one is a select one dropdown list of values(which are provided by a web service), and next to it I have a column which has a basic text field and a remove row button. In the footer of this table I have an addRowButton. These make up search filters which is then passed to another webservice. This all works perfectly when a user adds filters and searches, however when I navigate to another page and back the table state is reset and the previous filters are gone. What I am trying to do is figure out a way to restore these filters(rows in the table). I have tried everything including saving and restoring state, saving and restoring viewRoot, but I cannot seem to come up with a plausible solution. Does anyone have any ideas on how to save the state of table rows and then restore them?
I am not worried about the values as I already have a session bean which persists through page navigation but I cannot for the life of me figure out how to persist the filters themselves. Any input is welcome!!