-
1. Re: Guidance requested on getting previous screen to refresh
michpetrov Nov 6, 2015 5:24 AM (in response to arnieaustin)What kind of event are you referring to? When you want to show the changed data you need to rerender the component in question which, if you're navigating between pages, happens automatically since you're loading a new page. In any case you can debug the beans and see if it's being updated properly.
-
2. Re: Guidance requested on getting previous screen to refresh
arnieaustin Nov 6, 2015 5:50 PM (in response to michpetrov)In my case it is a CDI event. I trigger is from the edit bean after a successful add/edit/delete.
Only the list bean that runs the refresh has no criteria so doesn't do the read.
But when the previous page is repainted, the old data grid - and the old criteria - are shown.
Making me think the list bean getting the event is a new instance instead of the previous one that should already be in the conversation.
-
3. Re: Guidance requested on getting previous screen to refresh
michpetrov Nov 10, 2015 4:31 AM (in response to arnieaustin)Well you can debug it and see if the bean is being instantiated, if it is you need to change the scope of the bean.