request « Bean « JSF Q&A





1. How to emulate request scope behavior in session scope bean?    stackoverflow.com

In my jsf application I have a button for sending mail. And each time it clicked I want to show message that mail was or wasn't sent. This is a ...

2. A List box of static data in JSF Request scoped Bean?    stackoverflow.com

In a Screen to be rendered by a JSF Implementation, I had to show a static drop down or list box (which means the values are not changing ), So I ...

3. How to invoke a JSF backing bean method from a non-faces request?    stackoverflow.com

We have a requirement to replace our current login, for a web-application written in JSF using single sign-on. Currently our login.jsp invokes the authenticate method on a backing bean to achieve ...

4. How to prevent a request scoped bean method being called multiple times in a JSF application?    stackoverflow.com

Ok, with all the answers to this question I'm still not able to handle my problem. I have the following constellation: In a JSF (1.1) webapp I have a request scoped bean ...

5. JSF: bean scope question; session vs request    stackoverflow.com

I have a managed bean called UserSearchHandler, it has a doSearch method that populates UserSearchHandler.searchResults which are displayed in a table on the userSearch.xhtml page. I have another managed bean ...

6. Initialize Session bean from request scop bean    stackoverflow.com

Hi All
I am using JSF 2.0 , I have two beans UserBean ( Request Scope ) and UserInfoBean( Session Scope ). I want to know how can initialize UserInfoBean from one method ...

7. Difference between View and Request scope in managed beans    stackoverflow.com

What does the view scope mean? Can anyone explain about it, so that I can understand how it differs from the request scope?

8. How to change value of a session bean from a request bean?    stackoverflow.com

I have a session bean FooSessionBean which has a boolean property: visible. I want to change the value of the visible property from my FooRequestBean. Is there any way to do this, ...

9. request scoped property in session scoped JSF bean    stackoverflow.com

I would like to have a session scoped JSF bean with one property that is request (page) scoped. Is it possible at all? Kind Regards, Jarek





10. request scoped bean JSF    stackoverflow.com

I have a page tables.jspx that shows a dataTable of all tables and has a link to createTable.jspx; when I create a new table it returns to tables.jspx but it doesn't ...

11. Initialising request scoped bean    coderanch.com

12. Bean request Scope won't Call method    coderanch.com

13. Getting bean from request scope    coderanch.com

15. Populating request scope managed bean    coderanch.com

I have a managed bean in the request scope that I'm using in a form screen. I tend to favor the request scope as it reduces all the trouble with the back button, reload, etc. When clicking "edit" on an existing object, I get the data from the database, and stuff it into the request map. The navigation case goes to ...

16. h:inputHidden and request scoped Managed Beans    coderanch.com

I have a managed bean I have configured in faces-config for request scope. I have a page that uses it to load, but I need to recreate it on the next post. I had thought that all I needed to do was the following: I later have another tag: In the dosomething method, I look in the ...





17. Request vs Session scoped beans in jsf    coderanch.com

Hi All My requirement is : Page1.jsp - enter first ,last name, gender and Date of birth request scoped backing bean gets these and goes to next page and displays the same in page2.jsp. In page2.jsp for first name i am using a hyper link which needs to call a session scoped backing bean method and do some logic in the ...

18. Problem in setting bean scope to request    coderanch.com

I think it's similar to http request and session scope. For example, if on 1 page you set a value on the request, and forward to another page and try to read that value off the request object, you won't get it. A new request object has been created for that page. If you want to get values from a previous ...

21. Question about sequence of calls to a Bean with request scope?    coderanch.com

Hi, I have a question about the sequence of calls to a Bean in a JSF application. I have a simple search page with a field and a search button. The search bean, with request scope, looks like this: public class Search { private String name; public Search() { super(); } public String getName() { return name; ...

23. Handling requests in Session scoped backing bean    coderanch.com

Hi Techies, In our JSF design for portal, we have made a design such a way to have all the backing beans in session scope [for many a reasons]. But in the same page, if I have multiple actions, then I need to differentiate one request from the other. Please let me know how to do this in the proper way ...

24. Session Bean x Request Bean    coderanch.com

25. Keep bean properties between requests    coderanch.com

26. getting value of request bean into other    coderanch.com

Hello, I have an ICEFaces we application. One page has two beans that display different things on the page. I want to be able to notify one bean when another bean changes something on the bean so that the first bean update its content on the page. Is that possible in ICEFaces? if so how? Thanks,

27. Validation order when managed bean scope is request    coderanch.com

Hello everybody I have a jsf page that with 2 lists. A list of dates and a list of people. But the list of people depends on the chosen date. I use ajax4jsf to update people list when date changes, and it works fine. But when I click on save button I get "Validation Error: Value is not valid" on people ...

29. Problem in JSF Managed Bean (Request Scope) with portlet    liferay.com

Hi, I have made a simple web portlet project in Netbeans 6.1 with JSF 1.2 & portlet 2.0 deployed in liferay (5.1)/websynergy/glassfish 5.0.1 server. I have a JSF Page1.jsp that takes an input in a text field. On clicking the button, Page2.jsp is displayed which will display the input value. Page1.jsp & Page2.jsp are using ManagedBean Page1.java. The managed bean is ...