Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6606203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:22:15+00:00 2026-05-25T19:22:15+00:00

Using Spring web-flow 2.3.0, how can I call a PARTICULAR viewstate of flow A

  • 0

Using Spring web-flow 2.3.0, how can I call a PARTICULAR viewstate of flow A from flow B.

Can I use subflow?

From flow B , I want to go to viewstate=”def” of flow A

Flow B

    <subflow-state id="actions1" subflow="A">
</subflow-state>

Flow A

<flow xmlns="http://www.springframework.org/schema/webflow"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/webflow 
http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd">

<view-state id="abc">
</view-state>
<view-state id="def">
</view-state>

can someone please tell me how to do this..dint find anything over google

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:22:16+00:00Added an answer on May 25, 2026 at 7:22 pm

    Simply put, you can’t.

    A flow is defined as

    a reusable sequence of steps that can execute in different contexts

    In this case, def is a flow of its own. In addition, flows are only accessible from their first state.

    Consider, flow A:

    <view-state id="searchUsersView" model="searchCriteriaWm" view="users/list">
      <transition on="selectUser" to="detailView">
         <set name="detailWm" value="usersActions.getUserDetail(searchCriteriaWm.selectedElementId)" />
      </transition>
    </view-state>
    

    And flow B:

    <view-state id="createUserView" model="createUserWm" view="users/create">
      <transition on="submit" to="detailView">
        <evaluate expression="userActions.createUser(createUserWm)" result="detailWm" />
      </transition>
    </view-state>
    

    Instead of having two detailViews, you can easily create a detail flow that can be accessed as a subflow.

    <input name="detailWm">
    <view-state id="detailView" model="detailWm" view="users/detail">
    </view-state>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I'm using Spring Web Flow on a project and want to make use
I am using spring web flow 2. I want that my first page to
I want to develop a simple web application using Spring Web Flow. The project
I am using Spring 3.1 and want to include Spring Web Flow 2.3. One
I'm using Spring Web Flow (v. 1.0.5) and I have a JSP page that
I have this web application using Spring Web Flow framework. In my main page
I have a j2ee web application using spring web flow ang spring security. I
I am using Web Flow 2.0.7 with Spring MVC and Hibernate. My problem is
I have a Java web application using spring web flow. How do I pass
I have a j2ee web application running on spring web flow using spring security.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.