Questions tagged [faces-flow]

JSF Faces Flow as defined since JSF 2.2.

More information about JSF Faces Flows:

31 questions
10
votes
3 answers

How to enter a JSF 2.2 flow with faces-redirect

I've got a basic flow example working: src/main/webapp | |- index.xhtml |- flow1 |- flow1-flow.xml |- flow1.xhtml index.xhtml has a simple form that enters the flow with a parameter: Click to enter flow1
Jon B
  • 471
  • 5
  • 8
5
votes
1 answer

How to exit a flow?

Once I've entered a Faces Flow, I want to exit it by going to any page that is not part of the flow. The problem is that the flow is not destroyed if I go outside, for example via an h:link. Indeed, if I click again on a h:commandButton whose action…
thomas.g
  • 3,894
  • 3
  • 29
  • 36
3
votes
0 answers

How to have several flows in a menu of a template?

All the pages of an application use a template with a menu containing links toward several different flows. If a choice of the menu enters a flow with a GET request ( for instance), an error is produced when the user enters another flow ("no…
user1643352
  • 2,635
  • 2
  • 19
  • 25
2
votes
1 answer

JSF2.2 faces flow method call node

I am currently using JSF 2.2 faces flow with WildFly8.2.0 as JAVA EE 7 server. Can anyone has any idea of , how to use/configure method call node using XML file configuration ? I know how to invoke it using FlowBuilder API , but haven't found any…
Atul
  • 1,560
  • 5
  • 30
  • 75
2
votes
2 answers

Advantages of using JSF Faces Flow instead of the normal navigation system

I'm exploring the JSF 2.2 Faces Flow feature but I'm still not sure what are the advantages of defining a flow using Faces Flow instead of using the normal navigation system (calling facelets in links or buttons)?
CIOC
  • 1,385
  • 3
  • 19
  • 48
2
votes
1 answer

ContextNotActiveException in simple Faces Flow with CDI

Hy all ! I'm on a simple faces flow tutorial (Tutorial) but can't solve following error: 20:43:32,085 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (default task-14) Error Rendering View[/common/signup/signup.xhtml]:…
budha
  • 321
  • 1
  • 2
  • 11
2
votes
0 answers

How Catch WELD-001303 Faces Flow

I'm studying the flow faces and implemented something similar as described in http://en.kodcu.com/2013/08/jsf-2-2-use-faces-flow/ have difficulty after leaving the flow if I use the browser back button and click on a button the previous page I get…
2
votes
1 answer

Starting faces flow

My question for today is: is it possible to start the faces flow without using h:commandButton component? In my particular case I would like to use the h:selectOneMenu component to start the particular flow based on the value selected by the user.
jigga
  • 175
  • 8
2
votes
2 answers

How do I handle faces flows

Ok, so I have read http://docs.oracle.com/javaee/7/tutorial/doc/jsf-configure003.htm https://blogs.oracle.com/arungupta/entry/jsf_2_2_faces_flow And a few more posts. The question that I couldn't get answered by reading these resources is: How do I…
Bruno Krebs
  • 3,059
  • 1
  • 24
  • 36
2
votes
1 answer

Faces flow with reusable views

Each example I've seen for Faces Flow involves exclusive views that are only used within the particular flow. What I would like to do is create a flow that consists almost entirely of views that will be used in more than one flow, and/or…
jdessey
  • 690
  • 6
  • 14
2
votes
3 answers

How to send data to a faces-flow?

My use case: the user choose a questionnaire in a form. When the form is submitted, a faces-flow is started to display the questions of the questionnaire. To send the questionnaire to the flow, in the bean of the flow I inject the CDI bean of the…
user1643352
  • 2,635
  • 2
  • 19
  • 25
1
vote
0 answers

java.lang.NullPointerException at com.sun.faces.flow.FlowCDIContext.flowEntered

I have problem with navigation and entering to my simple flow in JSF. When im trying to enter registration flow from my index page im getting nullpointerexception but when i refresh page its ok. Another problem is navigation in flow which isnt…
Jason Bourne
  • 95
  • 1
  • 5
1
vote
0 answers

Are JSF 2.2 Faces Flows supported in PrimeFaces?

I am testing JSF 2.2 Faces flows in a PrimeFaces application and when I replace h:button with p:button the link stops working. In JSF 2.2 you can specify, for example, the flow_id in the "outcome" of a h:button. This seems not to work in PF . The…
icordoba
  • 1,834
  • 2
  • 33
  • 60
1
vote
1 answer

Exiting a JSF Flow

I'm starting to use JSF Flows, and after reading some examples and the specs, I got it to work. I'm using the Packaging Flows in Directories method, as described in section 11.4.3.3 of the specification. It seems easier and more in line with the…
RinaldoDev
  • 985
  • 6
  • 21
1
vote
0 answers

How to Handle Nulls in JSF Faces Flow

I have a faces-flow with three(3) pages. I have a date field which is sometimes null. Whenever the field is null i get the following error: Full Stack Trace javax.faces.component.UpdateModelException: java.lang.NullPointerException at…
unleashed
  • 331
  • 1
  • 5
  • 17
1
2 3