flash-scope Questions

4

I have a page1.jsf, in this page i have a commandButton that put an object in ELFlash, and redirects to page2.jsf. In this page i recover the object by ELFlash. Everything works fine. But while the...
Niall asked 20/7, 2013 at 12:51

1

Solved

Using JSF 2.1.29 In list.xhtml <p:commandLink id="ownerViewLinkId" value="#{petOwner.firstName} #{petOwner.lastName} " action="#{ownerAndPetListBean.viewPetOwnerFrmList(petOwner.id,petOwner.u...
Athletic asked 30/9, 2015 at 11:2

3

I am running my application in apache-tomcat-7.0.16 using JSF-2.1.2. After adding navigation rules in faces-config.xml, I am getting the NullPointerException. This bug was filed in JSF forum....
Legibility asked 10/8, 2011 at 9:22

1

I use flash scope to pass a setting object between @viewscoped contollers. But if I make a page reload on one of them, then the flash map is empty and the setting object is not initialized. Is it p...
Decerebrate asked 29/7, 2014 at 9:14

2

From what I understand , objects placed inside the Flash scope in a faces request lifecycle will be available for the next faces request lifecycle and then clear. Suppose I have two pages: page01...
Reseda asked 25/6, 2012 at 17:19

3

Solved

I upgraded to Mojarra JSF 2.2.1 (from 2.1.22) and since then for each of my requests I'm having an exception in console: GRAVE: JSF1094: Could not decode flash data from incoming cookie value /?. ...
Soviet asked 16/7, 2013 at 5:52

3

I have one page that does something and when the user clicks a button, the user is redirected to another page and a message is displayed. Here is my code: public String confirm() { FacesContext ...
License asked 27/7, 2010 at 11:34

2

Solved

I am using Apache MyFaces 2.0. I notice that a cookie oam.Flash.RENDERMAP.TOKEN is getting created for each view, even though I am not using Flash scope and I have set org.apache.myfaces.DISABLE_FL...
Yoko asked 23/9, 2012 at 18:24

2

Solved

I have one page where I add new item when I save data I go to other page where I want to see message that "Data was saved successful". I read that message belong to request scope that's why I am us...
Assistant asked 16/1, 2013 at 13:45

1

Solved

How do I retrieve the FacesContext within a Filter? I followed following article on how to retrieve the FacesContext in a Filter: http://ocpsoft.org/java/jsf-java/jsf-20-extension-development-acc...
Weak asked 26/12, 2012 at 19:27

1

Solved

According to this: http://java.net/jira/browse/JAVASERVERFACES-2136 flash-"scoped" messages should survive a redirect to a page on a different path.. I wanted to use something like this in my appli...
Verge asked 4/10, 2012 at 8:19

2

Solved

I have a misunderstanding with the use of flash scope in jsf 2. I want to put an object in flash map during my action and show this object in the next page. Here is my action (call by h:commandLink...
Amphitropous asked 5/2, 2012 at 11:21

1

I found out that the JSF 2.0 Flash scope is implemented in Mojarra 2.x via a cookie. What seems to happen is that when navigating from view A to view B using The Flash, JSF sends a redirect respons...
Euphorbia asked 16/6, 2011 at 18:25

1

Solved

I have a simple flow in my appliaction - if you fill out and press save on one form (if everything goes well) you are redirected to a second view with a list. Now I wanted to add a message saying "...
Trail asked 3/5, 2011 at 10:20
1

© 2022 - 2024 — McMap. All rights reserved.