view-scope
ViewScoped bean getting constructed on every request... part 99 [duplicate]
This question already has an answer here: @ViewScoped calls @PostConstruct on every postback request (1 answer)[详细]
2023-04-05 05:32 分类:问答Are JSF 2.x @ViewScoped managed beans thread safe?
I\'ve been googling for a couple hours on this issue to no eval. WELD docs and the CDI spec are pretty clear regarding thread safety of the scopes provided.[详细]
2023-04-04 12:47 分类:问答@ManagedProperty on #{param} does not work in @ViewScoped
My bean has this: @ManagedBean @ViewScoped public class BookBean implements Serializable { @ManagedProperty(value = \"#{param.id}\") // does not work with @ViewScoped[详细]
2023-02-25 19:16 分类:问答How to create a view scoped bean in JSF 1.x?
I have 2 links in a web page, link one pint to appserver/?dept=1, link two is appserver/?dept=2. Then I have a JSF phase listener, in there, I can get the back end bean and set dept1 or dept2 as the b[详细]
2023-01-29 04:17 分类:问答@ViewScoped Managed bean loads many times during postback
I have a calendar, editor, fileUpload and a dataTable primefaces controls on a jsf facelet. Code is as follows,[详细]
2023-01-07 02:31 分类:问答Why does @PostConstruct callback fire every time even though bean is @ViewScoped? JSF
I am using datatable on page and using binding attribute to bind it to my backing bean. This is my code :-[详细]
2022-12-29 21:48 分类:问答Best Practice: How to get several dependency repositories into a ActionController?
I have a InventoryController that gets a IInventoryRepository inyected, however my needs have changed, and now one of the controllers methods also needs to use another 2 repositories, ILoansRepository[详细]
2022-12-18 03:50 分类:问答