managed-bean
Managed Bean inheritance
I wish to have make a super class for a few managed beans, containing amongst other things an injected @SessionScoped managed bean, and an @EJB. The following works[详细]
2023-03-03 03:05 分类:问答Where should I open / close JMS connections in a JSF ManagedBean?
In a simple demo web app using JSF 2 and Ajax, there is a method in the ManagedBean which receives messages from a JMS queue:[详细]
2023-03-03 01:29 分类:问答JSF managed bean naming conventions
These days I used to work with JSF, but there\'s a \"convention\" I\'m in doubt if I should use. While working with managed beans, people used to name it as XxxxxManagedBean where the prefix can be an[详细]
2023-02-27 03:56 分类:问答JSF beans instantion: Are only the beans referenced in the view instantiated?
I\'m guessing that if I have 6 requestscoped beans, only those referenced by the current view ( 开发者_运维百科for instance by using #{foo.bar}) are instantiated. Is that assumption correct? In that c[详细]
2023-02-23 01:14 分类:问答JSF 2.0 commandButton action called twice
I got a problem with JSF, hope someone can help me out. I have a Facelets xhtml page, with a SessionScoped managed bean. When a commandbutton is pressed on the page, a method is invoked in the bean, w[详细]
2023-02-21 18:34 分类:问答Help understanding JSF's multiple calls to managed bean
I\'m using h:datatable, here\'s the revelant line of my code: <h:dataTable value=\"#{account.latestIncomes}\" var=\"mov\" >[详细]
2023-02-19 23:12 分类:问答Custom component and access to backing bean
Is it possible in JSF2 from a custom component (in method encodeBegin) to access to the FacesContext and managed beans?[详细]
2023-02-15 22:40 分类:问答JSF Managed Beans performance
I have a web page that has many forms. One for logging in, another for creating an article and another for submitting a comment. Now, each o开发者_StackOverflow社区f these forms is backed by a differe[详细]
2023-02-15 03:43 分类:问答Suggest the appropriate method of managing beans in Richfaces
The scenario is like this. I have a rich:tabPanel with about 5 tabs. On first tab there is a rich:datatable. When I click on first column\'s element (a4j:commandLink), I get another rich:datatable. Wh[详细]
2023-02-14 21:46 分类:问答JSF2.0 View Scope & Redirect
I have the follwing problem with the new ViewScope in JSF2.0. I have a class annotated as a view scope bean with a @PostConstruct method[详细]
2023-02-14 01:15 分类:问答