How to have one instance of Backing Bean per Browser tab?

后端 未结 1 427
挽巷
挽巷 2021-01-28 19:22

My environment: Java 7/JSF 2.1/PrimeFaces 6.1.

My goal: to have a certain page of my application instantiated many times, one for each

相关标签:
1条回答
  • 2021-01-28 19:57

    After some digging in the Internet I found Apache DeltaSpike, which provider a new kind of managed bean scope, WindowScoped.

    Managed beans annotated with @WindowScoped` operate just like I wanted, providing me with the exact behaviour I needed and it is absolutely compatible with the framework I have to use.

    0 讨论(0)
提交回复
热议问题