jsf - How to globally inform sessionscoped beans to reload their data? -
i have session scoped bean stores selected employee. visible input offers ability change selected employee @ time.
because there plenty of adjustable settings (and views) couple of session scoped beans hold @postconstruct loaded data inside member variables, , wouldn't reload data storage time view opened (@viewscoped).
i don't have idea how inform active beans new selected employee.
any hint welcome ... ;)
i use tomcat 8, primefaces 5, jsf 2.2.
since don't want reload data every time page loaded, @ least search selected employee , if it's same, update. if not, don't need thing.
Comments
Post a Comment