Skip to content

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

Description

@spring-operator

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions