Questions tagged [flow-scope]

The Flow Scope is a manually defined scope which spans multiple views.

The term "Flow Scope" is used in among others the JSF and Spring frameworks. This is particularly useful if you want to share an object across multiple predefined views. The flow scope is usually identified by an unique request parameter.

Related tags:

There exist also "request scope" and "application scope", but there are no tags for that.

34 questions
1
vote
2 answers

WELD-001303 No active contexts for scope type javax.faces.flow.FlowScoped

I implement a faces flow for a registration process, but I get this error when I annotate the bean "CreateBn" with @FlowScoped, and when I use CDI: SessionScoped it works: 2014-09-01T10:47:58.010+0000|Avertissement: JSF1063 : AVERTISSEMENT !…
user3923327
  • 137
  • 1
  • 4
  • 11
1
vote
0 answers

org.jboss.weld.context.ContextNotActiveException: WELD-001303 No active contexts for scope type javax.faces.flow.FlowScoped

I´m trying to develop a simple example of new functionality of JSF 2.2, @FlowScope, I develop it with eclipse luna, glassfish 4.0, I guess the code is right cause I caught it on the web, probably the error is with the configuration of the project.…
marco
  • 39
  • 1
  • 11
1
vote
1 answer

Page Bean not saved in FlowScope Jsf 2.2

While i create a application my page bean not saved in @FlowScoped . by default stored in Request scope here my code : enter code here package com.webage.beans; import java.io.Serializable; import javax.faces.bean.ManagedBean; import…
Baskaran
  • 21
  • 1
  • 5
1
vote
0 answers

javax.el.PropertyNotFoundException: Target Unreachable, identifier 'flowScope' resolved to null

javax.el.PropertyNotFoundException: /flow1/flow1.xhtml at line 17 and column 70 value="#{flowScope.value}": Target Unreachable, identifier 'flowScope' resolved to null. I have flow.xhtml page from there i'm setting the value below like this :
Baskaran
  • 21
  • 1
  • 5
1
vote
1 answer

FlowDefinition Scope issue in JBoss 7.1 - Migration to JSF 2.2.1

I did the instruction from this website (JSF 2.2 in JBoss 7.1.1 Final). After I overcome the problem posted : ClassNotFoundException for JSTL jar when I try to migrate JBoss 7.1 application to JSF 2.2 I get new issue. No active contexts for scope…
Zaw Than oo
  • 9,651
  • 13
  • 83
  • 131
1
vote
1 answer

How to pass a flow-scope variable from one view-state to other view-state in spring-webflow

This query is about passing a flow-scope variable from one view-state to other view-state in spring-webflow. Below code is a flow.xml file. 1. I have 2 view states in this file('firstView', 'secondView'). 2. Here start-state is a view-state…
Java Hunger
  • 139
  • 2
  • 11
0
votes
0 answers

Upgrade jsf 2.1 to 2.3 throw NullPointerException from getFlowStack

Recently I needed to upgrade jsf version to 2.3 after changing dependency com.sun.faces jsf-api 2.1.7
0
votes
1 answer

Unable to navigate to directory and view page from return value

I have problem understanding why I'm unable to navigate from registrationFlow to protected directory. In my app, in index.html I have a button which redirects user to registration form ( which is a flow ). That's the part, where user chooses if he…
Marcin
  • 102
  • 1
  • 2
  • 9
0
votes
1 answer

JSF FlowScoped direct entry point

sorry if this question has been asked but i couldn't find the answer. I've converted some spring beans to cdi @Named and set the scope to FlowScoped. I've done this to fix a problem where session scoped beans were shared across multiple tabs and…
ninorc
  • 3
  • 1
0
votes
1 answer

JSF Flow. End current flow and start a new one

I have a web application where a user can start a search from almost all pages of the application. Every time a user searches I would like to start a new flow, so basically I have: public void…
cocorossello
  • 1,289
  • 1
  • 17
  • 30
0
votes
1 answer

JSF Flow - Implicit navigation doesn't work

I am getting started with JSF Flow. I am doing as stated in this tutorial http://courses.coreservlets.com/Course-Materials/pdf/jsf/jsf2/JSF-2.2-Faces-Flow-1.pdf, pages 6-12. Implicit navigation doesn't work for me, as in the tutorial. When I…
peterpepo
  • 78
  • 5
0
votes
1 answer

Migrate Flowscope to Glassfish 4.1

In glassfish 4.0 I have a working JSF application which uses @flowscope. An example of the flow definition follows: package flow; import javax.enterprise.inject.Produces; import javax.faces.flow.Flow; import…
Filippo
  • 1,123
  • 1
  • 11
  • 28
0
votes
1 answer

Simple-flow example from the Java EE7 tutorial remembers values of previous flow

I'm just playing around with the simple-flow example from the Java EE7 tutorial and stumble on a problem. Documentation: Java EE7 tutorial - Simple Flow Example: tut-install/examples/web/jsf/simple-flow/ I'm puzzled, because the flow remembers the…
Dimitri Dewaele
  • 10,311
  • 21
  • 80
  • 127
0
votes
1 answer

WELD-001303 No active contexts for scope type javax.faces.flow.FlowScoped on direct access

I am playing with JSF 2.2 (MyFaces implementation v2.2.6 and Weld v2.2.7.Final for CDI) since the beginning of the week and I'm facing the following problem : I can't directly access a flow entry point with my brother. For example : My webapp…
Aki
  • 21
  • 1
  • 3
0
votes
1 answer

Faces Flow not navigating beyond two pages

I have created a faces flow which was working perfectly until I added a third page to the flow. For some reason I can only navigate to the third page in the flow when I refresh the web page on the 2nd flow. Otherwise when I click next nothing…
unleashed
  • 331
  • 1
  • 5
  • 17