Transition between view in a web flow [SWF-1746] #921
Labels
in: core
in: integration
status: waiting-for-triage
We need additional information before we can continue
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:
The text was updated successfully, but these errors were encountered: