I have some misunderstanding with JSF backing bean scope. I am newbie in JSF and now write simple project and all my beans mostly have session scope. But if my site ... |
I want to incorporate the functionality to a HtmlCommandButton. How do I go about doing that? I can't seem to find too many examples on the web. ... |
Some background: I am building a custom JSF component. The component is basically a text editor and it should have a "Save" -button for saving the content string of the editor. ... |
A pretty normal case:
We have a 'portlet' composite component that has two states: expanded and collapsed. Portlets start as expanded, but user can collapse them by clicking on them. This state ... |
Assume I have a session scoped bean with object references in it, where the bean extends from an abstract generic base class. Example:
public abstract class AbstractCrudController<K, E> implements Serializable {
...
|
I have to make a sort of switch of some panelGroup UI.
About the view section, i made this :
<h:panelGroup layout="block" id="profile_content">
<h:panelGroup layout="block" styleClass="content_title">
...
|
I am trying to work on the ajax part where in on tabout of the field I want to have few fields populated on the form..I tried a sample example and ... |
|
Currently I am creating a web menu consists of a collection of <h:outputLabel>. It was good since the label can be combined with javascript OnClick event. However when I want to ... |
I'm builiding a scheduling application using JSF 2.0 where users can add items to a calendar then edit those objects.
I'm using Ajax quite extensively to keep the page from refreshing.
The problem ... |
I have <h:inputText> on form and what I need is to execute some method from backing bean on BLUR event:
public void test()
{
System.out.print("HELLO!");
} ...
|
Consider the following page (header and stuff omitted for brevity):
<h:body>
<h:form>
<h:inputText
...
|
changeThe page has 2 forms. In the first form, the ajax-button initializes an attribute of the viewscoped managed bean. In the second form, the ajax-button uses that attribute to do some ... |
I am trying to display a page where the user, by the appropriate selection using a radio button, sees either a textbox or a combo box. This is relatively easy and ... |
I have an Edit product form which is pre-populated with values from DB . User can change one or more values and post the form back. One input field called t:inputFileUpload ... |
I have two backbeans, one to retrieve datas in a ui:repeat and one to perform an action.
When my page is rendered, if I perform an action with the second backbean, the ... |
I am using: JSF 2.0, GlassFish Server 3.0.
The backing bean:
@ManagedBean(name = "Users")
@ViewScoped
public class ModelUsers {
/** Creates a new instance of ModelUsers */
public ModelUsers() ...
|
Hi I am getting a new session bean for every ajax request made to this Bean... Can any of you tell me why ?
...... imports ......
@Named(value = "userController")
@SessionScoped
public class UserController implements ...
|
In respose to Infragile's request in another thread, I am asking this as a separate question rather than a followup.
Here is the problem I am attempting to address:
I'm migrating from JSF1.2 ... |
|
It depends in part on how you're doing AJAX. RichFaces provides AJAX support integrated into its JSF tagset. On that platform, AJAX does a partial page submit, optionally responded to with a partial page refresh. Meaning that the response may be for the whole page or just indicated sections of the page. You can limit the set of bean properties that ... |
|