scope « Data « JSF Q&A





1. JSF2 - what scope for f:ajax elements?    stackoverflow.com

I have this form:

<h:form>
    <h:outputText value="Tag:" />   
    <h:inputText value="#{entryRecorder.tag}">
        <f:ajax render="category" />
    ...

2. How conversation scope in implemented in CDI?    stackoverflow.com

It is done through some session key that holds some structure?

3. What's the recommended JSF 2.0 scope for a CRUD application?    stackoverflow.com

I was wondering which scope to use for a CRUD Application. Using @ReqeustScoped causes an access to the database for every request. With @SessionScoped, data can be cached in the managed ...

4. JSF - Problem with @ViewScope    stackoverflow.com

I have a page that load (in a panelGroup) two different page, due to the login status (logged, not logged). This is the main switch : template.xhtml P.S. selector.page is "homepage" as ...

5. JSF 2 : What scope should i use?    stackoverflow.com

Im confused regarding which scope should i use. Here i have a module, that consist of 4 level of pages like page browse - page header - page detail of that ...

6. What are some uses for the "flash" scope in JSF?    stackoverflow.com

I'm in the process of learning JSF 2.1, and the "flash" scope seems to overlap other scopes. Does this bring any value, or should I disregard it as a modern GOTO: ...

7. JSF Scope problem    stackoverflow.com

first of all sorry for my english. I put my question in various german Forums but i didnt get an answer :-( maybe you can help me. I work with JSF 2.0. ...

8. How to get application scope variable in jsf?    stackoverflow.com

I've intialized a variable in Servlet context listener using the following code: sce.getServletContext().setAttribute("foo", "someValue"); So, I can now get the value using following code: FacesContext.getCurrentInstance().getExternalContext().getApplicationMap().get("foo"); Now, I want to access this value in some ...

9. JSF 2 Custom Scope usage    stackoverflow.com

I am going through all the scopes in JSF2.0. I am a little confused about when to use custom Scope. Any specific use cases it will be useful. Initially I thought I ...





10. Using JSF 2.0 Flash Scope problem    stackoverflow.com

I'm having trouble with a basic JSF 2.0 program! I'm trying to implement Flash scope, I've gotten the information carried over to the second page, but am now having trouble with ...

11. Creating a custom scope with a fixed period of existence    stackoverflow.com

I am working with an existing Web system using JSF and we are upgrading to JSF 2.0. Now we use t:saveState supplied by Tomohawk library to persist beans between requests. But, ...

12. How to use JSF2.0 view scope in cluster environment?    stackoverflow.com

I want to use JSF2.0 in cluster environment. I'm building a JPA2.0 + Spring 3.0 + JSF2.0 stack. I know how to replicate session scoped beans. But how to replicate view ...

13. what is the default scope in JSF 1.1?    stackoverflow.com

<managed-bean>
  <managed-bean-name>beanName</managed-bean-name>
  <managed-bean-class>BeanClasss</managed-bean-class>
  <managed-bean-scope>session</managed-bean-scope>
</managed-bean>
Is it mandatory to specify the scope of a manage bean in JSF 1.1. If it it is not mandatory, then what is the default ...

14. Adding params to the flash scope but it remains empty    stackoverflow.com

can someone tell me where is the error or what I'm missing, please? ...

ELFlash.getFlash().put("backUrl", "businessObjectTypeDetailView.xhtml?mode=" + ((DetailModel) getModel()).getMode());
ELFlash.getFlash().put("mode", ListModel.SELECT_MODE);

String object1 = (String) ELFlash.getFlash().get("backUrl");
String object2 = (String) ELFlash.getFlash().get("mode");
... but object1 and object2 are null. ...

15. JSF application scope instead of DB cache to store application related data?    stackoverflow.com

Where to cache application related very frequently read, but never updated data, in JSF Application Scope or database cache. I have similar use case like tags on stackoverflow. I need to ...

16. Conversation Scope in Resource Handler in JSF?    stackoverflow.com

I have a Resource Handler that needs to access lower level beans that work in conversation scope. Our application allows multiple login sessions on different browser tabs working within the same ...





17. Creating a custom scope... (kinda long)    coderanch.com

18. scopes    coderanch.com

19. Scopes    coderanch.com

20. Problem with pageFlow scope in JSF    coderanch.com

21. Scope in JSF    coderanch.com

22. Scope of t:saveState    coderanch.com

23. application scope problem    coderanch.com

24. JSF 2 Flash scope cookie not set    coderanch.com

Hi All, I tired flash scope in JSF 2 (mojarra project) and I found it not working when redirecting to a page in a different path other than source page. For example you can see from the http requests below that the cookie isn't resent, this is because the path of the cookie hasn't been set to the root. POST /Test/admin/editUser.jsf ...

25. JSF scope resolution    forums.oracle.com

the above function is invoked when i click a button from my jsf page. here I am storing the arralist i have got from my business logic to a variable. and in the follwing function i am trying to get the data from the UI data and i want to compare it with the old one.. what happens here is i ...