This question already has an answer here: @ViewScoped calls @PostConstruct on every postback request (1 answer)
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.
My bean has this: @ManagedBean @ViewScoped public class BookBean implements Serializable { @ManagedProperty(value = \"#{param.id}\") // does not work with @ViewScoped
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
I have a calendar, editor, fileUpload and a dataTable primefaces controls on a jsf facelet. Code is as follows,
I am using datatable on page and using binding attribute to bind it to my backing bean. This is my code :-
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