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
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…
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…
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…
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)?
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]:…
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…
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.
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…
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…
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…
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…
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…
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…
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…