I have a web application using jsf.
I have beanA in session and beanB in session
My problem is this.
I have a pageA and a pageB. in PageA a have a selectOneMenu component and in the Bean - @PostConstruct method I call a query to load an arraylist for the selectOneMenu,
In PageA I can delete , update and create new item for this list.
In pageB I must use this list (but I use another bean in session ). but here's the problem. because the bean is in session this list can't update whit the new values and I can't change session to request.
DO you have any ideas for solving this?
My idea is when I go to one page to another, update the data. I used binding but didn't work for me.
I want to do this:
When I stay in page B and I want to go to page A the value of the selectOneMenu update.
the code is this.
cargarComboEtiquetas is called in the @PostConstruct
and page A is the same. in pageA I only update, create and delete values for my list.