Hi everyone,
I have a problem and hope that someone could help me with a hint.
This is one of those problems occuring during migration to JSF-1.2. In old
JSF-1.1-fashion everything works fine and something behaves different in 1.2:
I do have a screen (popup triggered via JavaScript) which gets some information
from one back-end-system on open, depending on information given as
GET-parameters.
In ManagingBeans constructor there is a call to the DAO. During first call
everything works fine. If I do call screen again using different parameters,
some fields will be updated; but the lists (ArrayList containing mapped data of
backend systems call) of the ManagingBean stay the same. If I call it again
using parameters of last call, the screen behaves as expected (lists contain
correct data). The update of lists seems to be deferred.
The lists will be iterated using c:foreach. I know it's bad style but my job is
just to make it work again (fast!). I tried both ${} and #{}, but problem
persists.
ManagingBean originally has sessionScope (resetted using beforePhase method
called before RENDERING_PHASE containing
FacesContext.getInstance().getExternalContext().getSessionMap().remove("beanName"))
and I also tried requestScope and problem persists.
Did someone encountered a problem equivalent to mine and could give me a hint.
Is there anything I could provide you in order to help me?
Thanks alot for your help!
Kind regards,
Martin