Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transition between view in a web flow [SWF-1746] #921

Open
spring-operator opened this issue Apr 14, 2021 · 1 comment
Open

Transition between view in a web flow [SWF-1746] #921

spring-operator opened this issue Apr 14, 2021 · 1 comment
Labels
in: core in: integration status: waiting-for-triage We need additional information before we can continue

Comments

@spring-operator
Copy link
Contributor

Tundo Matteo opened SWF-1746 and commented

Hi,
we are trying to configure an old war application, running on a Jboss application server, in a spring boot JAR. Other dependencies to be remarked are:

PrimeFaces 7
JoinFaces 4.4.3

We are still using the old xml configuration files which can be found in the attachments.

The resources folder has this structure:
---resources
      +---context

            +--- webflow-config.xml
             --- webmvc-config.xml
        +--- flows
             --- view
                    --- view-flow.xml
         +--- META-INF
               +--- resources
                      --- flows
                            --- view
                                   +--- endStateTest.xhtml
                                    --- view.xhtml
                --- faces-config.xml
           --- application.yml

We have put a simple flow to test the transition between two views.
The initial view state (view.xhtml) of the flow is correctly rendered, along with all the static resources for both primefaces and jsf components. However, the transition to another flow( triggered but the command link or button) does not work properly and redirects to the same initial view. In the FlowViewHandler method:

private String resolveResourcePath(RequestContext context, String viewId) 

we cane see that the viewId is always related to first view.

Is there something missing in the configuration attached? Does the web flow work correctly  with this resource structure? Do you have any other hint to suggest?

Thank you


Affects: 2.5.1

Attachments:

@spring-operator
Copy link
Contributor Author

Rossen Stoyanchev commented

Please, provide a minimal sample.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core in: integration status: waiting-for-triage We need additional information before we can continue
Projects
None yet
Development

No branches or pull requests

1 participant