jakartaee / jakartaee/faces

Consider enabling abandoning a flow directly for another flow

Open
#1,253 9 comments 0 reactions 0 assignees View on GitHub
Component: Flow Priority: Major Type: Improvement
Dominant language
Java
Stars
127
Forks
59
Avg merge
23h
Merged PRs (30d)
7

Description

Consider an app with this arrangement.

> src/main/webapp/WEB-INF/faces-config.xml
> src/main/webapp/flowA/flowA-flow.xml
> src/main/webapp/flowA/flowA.xhtml
> src/main/webapp/flowB/flowB-flow.xml
> src/main/webapp/flowB/flowB.xhtml
> src/main/webapp/flowC/flowC-flow.xml
> src/main/webapp/flowC/flowC.xhtml
> src/main/webapp/index.xhtml
> src/main/webapp/site-template.xhtml

All .xhtml pages in this app are template clients of
site-template.xhtml. The site-template.xhtml has a row of buttons along
the top that allow immediate navigation to all of the flows. The intent
is that whatever flow you're in, you want to abandon it and enter the
new flow when the corresponding button is clicked. This is not a flow
call, but rather should be treated as an atomic "abandon/enter".

The current specification does not support this cleanly.
#### Affected Versions
[2.2]

Contributor guide

Open the contributing guide

Research direction

Start with src/main/webapp/WEB-INF/faces-config.xml and the flowA-flow.xml, flowB-flow.xml, and flowC-flow.xml files to understand the current flow definitions. Review how the shared site-template.xhtml buttons navigate between flows. Done means the project has a specified and supported way to abandon the current flow and enter the selected flow atomically.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.