Questions tagged [spring-webflow]
Spring Webflow is a web-app framework which helps to define the page navigation rules in a intuitive, and reusable way.
1,301
questions
1
vote
0
answers
18
views
Thymeleaf SpEL null on object that is not supposed to be null
I'm currently upgrading the dependencies on a company project, and thymeleaf ended up being one of the dependencies I had to upgrade, from thymeleaf2 to thymeleaf3.
Right now, a lot of old thymeleaf ...
0
votes
0
answers
37
views
Bean conflict in spring flow
I try to make a project with spring flow and jsf.
I use gradle as build system with the following build.gradle:
plugins {
id 'java'
id 'war'
id 'org.springframework.boot' version '3.1....
0
votes
0
answers
38
views
Shared resources concurrency in project reactor
Let's say that I have a stream of objects, that I process and ultimately persist to a db.
That stream could be "never ending", message subscription for an example.
And during that processing ...
0
votes
0
answers
13
views
user account creation on the fly in webflow
Hello trust we doing excellent, I am using webflow to build a solution where after my product is purchase, i need to auto create a user account for the the person who purchased the product and send ...
1
vote
1
answer
34
views
Binding Select List Objects in Spring Webflow
I have a select list bound to Java POJOs on a thymeleaf form. I want to populate the model with the object selected from this list.
The form below works perfectly fine when using spring boot ...
0
votes
0
answers
82
views
Spring Reactive Client Websocket - ReactorNettyWebSocketClient reconnect & close codes
I am trying to use Spring Webflux Websockets - ReactorNettyWebSocketClient to be exact to connect my service to other service. I have done the implementation but I am seeing several things that I cant ...
0
votes
0
answers
39
views
No latest version available for Spring-webflow-2.5.1.RELEASE.jar after 2018
can someone or Spring team please tell me if there is any latest version of Spring-webflow-2.5.1.RELEASE.jar which supports Tomcat 10 migration. Currently, this spring-webflow jar have references of ...
0
votes
0
answers
315
views
Async Push/Stream data from Spring boot to React.js
The use case for this problem is a simple update mechanism, triggered by an onclick java script event on the client side(react.js) to call a POST(or PATCH) request to the server. The server then will ...
0
votes
0
answers
562
views
Spring Web Flow How to handle flow exception ( org.springframework.webflow.execution.repository.snapshot.SnapshotNotFoundException ) and redirect?
I have similar code inline with this repo, in case of normal exception I'm able to redirect to the designated page as expected using global exception as follows
<global-transitions>
<...
1
vote
0
answers
233
views
How to handle FlowException in spring webflow
Objective is to redirect if i come across flow exception
Im using following for handling rest of the exception
<global-transitions>
<transition on-exception="java.lang.Exception" to=...
-1
votes
2
answers
36
views
How to not redirect page when authentication fail - JSP & Spring MVC
I have a JSP form as below,
<form method="post" id="loginForm" action="<c:url value='/login'/>">
<fieldset>
...
1
vote
1
answer
697
views
Unable to Remove ;jsessionid in a Spring Boot / Web Flow Application's URL when Deployed to Tomcat 8.5
I'm working on a Java application where a user registers a password for his/her account. The following are being used:
Spring Boot
Spring MVC
Spring Web Flow
Spring Security
Thymeleaf
Interceptor (...
1
vote
2
answers
2k
views
Handling checked exception in Mono flow
Not sure how to handle checked exception in the Mono flow.
return Mono.when(monoPubs)
.zipWhen((monos) -> repository.findById(...))
.map((tuple) -> tuple.getT2())
...
1
vote
0
answers
268
views
How to access url from event attributes and perform external redirect in spring webflow
I have a use case where I need to redirect to an external URL via spring webflow, the url might change every time the user clicks on the link. I am trying to use externalRedirect within the flow.xml ...
0
votes
1
answer
57
views
Spring Webflow for Grails 4
I am migrating from Grails 1.1 to Grails 4.0.11. we have used Spring Webflow in it, but it never works in Grails 4. Is there any solution to implement Spring Webflow in Grails4?
1
vote
0
answers
176
views
Action events are not caught in the flow using Spring web flow + JSF
The flow is working and I can start it and access the first view state activation but when I press the button which it should trigger an action event to transit to the next state it doesn't work.
I ...
1
vote
1
answer
393
views
Class Specified in Method signature of TLD function is not found - JasperException
I am migrating a project from legacy spring to springboot. Project uses Spring Webflow and plan to keep the configurations intact for webflow and port the project to springboot by updating the project ...
0
votes
1
answer
168
views
Handling Invalid _eventId in CAS 6.X
When Spring Webflow receives an invalid eventId it throws a NoMatchingTransitionException. This, in turn, throws a 500 error which is detected by vulnerability scanners. CAS 6.X uses a custom webflow ...
0
votes
1
answer
64
views
Spring Webflow: How to establish my own ReloadableResourceBundleMessageSource for a flow
Spring Webflow 2.5.1.
I have my own implementation of ReloadableResourceBundleMessageSource. I can successfully establish it in Spring MVC via:
@Bean
public ...
0
votes
2
answers
336
views
Webflow Onboarding Redirect | (Using Memberstack)
I have a Dashboard Application in Webflow and I use Memberstack for User and Permissions.
Now the Issue I have is the following: I'm creating a new Memberstack User with Zapier, then I'm logging into ...
0
votes
1
answer
149
views
Spring Webflow - Best practice for generalized decision state
During the flow I am checking if the session is expired or not using a decision state, if yes then it should redirect to error page and if not, the flow should continue.
now currently I want two ...
-1
votes
1
answer
190
views
Java Spring: Trying to configure webflow by xml, can't find dispatcher-servlet.xml
I am just starting out trying to see what spring flow is about.This book that i have is describing how i have to configure the dispathcer-servlet.xml and create some flows in there.
Problem is i ...
0
votes
1
answer
659
views
Spring-webflow SnapshotCreationException Error after login
I am working with a java project with spring-webflow and Primefaces 3.3
The version of Primefaces cannot be increased due to menu developments and other components that generate an error when trying ...
-1
votes
1
answer
117
views
I want to assign Object field eg. greeting.method (which can be post or get ) to Form Method attribute using thymeleaf spring boot
Generally the code is -->
Image of code, click here to see the code!
I want that method which is hardcoded as "post" need to come from greeting object eg. (greeting.method)
How can I ...
0
votes
1
answer
187
views
Web flow with Angular 2
I am managing an Enterprise application with UI developed in Angular. There is a requirement to implement a "web flow" like consumer registration with 5-6 screens capturing different set of ...
0
votes
1
answer
184
views
Pressing submit button on form goes to same page
I am working on a form with text fields and I am trying to submit the form. However after pressing submit it just leads straight back into the form. I've indicated in my flow.xml file to validate it ...
0
votes
1
answer
257
views
Unsupported view type /WEB-INF/index.xhtml only types supported by this FlowViewResolver implementation are [.jsp] and [.jspx]
We have a problem with Spring-webflow configuration and view redirection.
Upon login, you should enter the configured home page, but you are left in a redirect loop to the error page.
Checking the ...
0
votes
1
answer
188
views
How do I get a property into a sping-webflow flow xml
I have a standard Spring MVC with WebFlow. (CAS 4.2.1) In the login-webflow.xml there is a login view-state:
<view-state id="viewLoginForm" view="loginView" model="credential">
I have a ...
3
votes
2
answers
384
views
Versioning static assets does not work with Spring Web Flow
Cache expiration and versioning of resource file work correctly on all pages. But flows seem to ignore Spring MVC configuration.
A working example:
resource files have versioning
With Spring Web ...
1
vote
1
answer
496
views
Spring Web Flow: add view state information to URL
I'm using spring web flow 2.5.1.RELEASE.
I need to show info about the current view state in the URL (I need it for customer journey tracking with google analytics).
Let's say I have a flow (named ...
0
votes
1
answer
342
views
Get the ids of the previously executed states in spring web flow
In my Spring Webflow application, I am trying to show the list of ids of executed states (from start) (view-state and action-state) at a current point. So, is there a method in Java, which I can use ...
0
votes
1
answer
120
views
Access multiple request params in flow
I have an action state in a Spring Web Flow that take in parameters from a submitted form:
<action-state id="newToken">
<set name="requestScope.timestamp" value="requestParameters....
1
vote
1
answer
609
views
WebClient builder call from one microservice to another microservice giving bad request error for first time in Webflux
We are making use of WebClient Builder call for communication among micro services in our project.It's springboot-thymleaf-webflux based application.Everything is running fine till now but we got a ...
0
votes
0
answers
819
views
What is missing in my secured reactive Spring app config?
I'm trying to build a secured (JWT) reactive (webflow) spring-boot app, but can't get it starting.
I've built a servlet companion app with same components and similar config which works fine, but it ...
1
vote
1
answer
389
views
Invalidate previous page snapshot in Spring Webflow
I am using Spring Webflow and I am redirecting from a view-state to action-state to view-state. Now, when the user is on second view-state, I don't want the user to be able to click the browser back ...
0
votes
0
answers
337
views
Debugging state machine of spring webflow java application
We have a spring webflow 2.3 java application. Is it possible to log/print the various decision states or action states when a request comes in? I took a quick look at https://docs.spring.io/spring-...
0
votes
1
answer
176
views
How does the sequence of tags like action-state and decision-state influence a Spring Webflow?
I have a generic understanding on how the Spring actions work and the format of a x-webflow.xml file.
Nevertheless I lived under the false impression that the sequence in which elements like <...
1
vote
1
answer
783
views
How to handle session expired in spring web flow?
I'm writing a web application with Spring boot, Spring web flow and thymeleaf. When the user session expires the csrf token in the registration form expires.
How can I handle the session expiration ...
3
votes
0
answers
53
views
Handle External authentication flow with Spring webflow
I have a Java application with Spring boot and Spring Webflow. Now What I want to achieve here is during webflow I need to redirect User to external source for authentication and when authentication ...
0
votes
0
answers
128
views
How can I install Spring web flow and Java servlet faces 2 in a Spring boot application?
I want to develop a signup area for my web app. To do this I want to use Spring web flow for the flows management and JSF 2 for the user interface. How can I install Spring web flow and JSF in a ...
0
votes
1
answer
274
views
Redirect http request for my application to external website in spring webflow
I want to redirect people accessing my website to external website. I used this code in my flow.xml
<view-state id="redirect" view="externalRedirect:contextRelative:#{http://google.com}"/>
I ...
0
votes
0
answers
101
views
How can I install Spring web flow and JSF in a Spring boot application?
I want to add in my web app Spring boot based a signup area.
To do this I want to use Spring web flow for the flows management and JSF for the gui.
How can I install Spring web flow and JSF in a ...
0
votes
0
answers
114
views
p:calendar component does not submit selected value, throws throws NullPointerException
I'm using spring webflow and primefaces for my application UI and I have an issue with the <p:calendar /> component.
Before the application page is displayed I have initialized some items and ...
1
vote
1
answer
711
views
How could this spring webflow action state executed?
I saw a spring web flow like this. As you could see, there are two view states and both of them will be called by links outside this flow. But I have no idea why each time this flow is activated, the ...
0
votes
1
answer
171
views
Retrieve value of key when key is declared on java class
I am using spring web flow 2.5.0 along with thymeleaf 3.0.9.
I have a class containing some static keys ex:
public class MyKeys{
.....
public static final String myKey = "myKey1"
.....
}
...
0
votes
1
answer
195
views
How to prolong the session duration in Spring Webflow?
As long as I know the duration of the default session is 30 mins and I
wanna change this for my specific flow that I created using Spring
Webflow? My question is How can i achieve this?
I have ...
-2
votes
1
answer
608
views
p:commandLink actionListener not invoked anymore after switching to Primefaces 7.0
I recently updated my project libraries.
Primefaces 5.2 > 7.0
myFaces 2.1.13 > 2.2.12
after the update one of the <p:commandLink>s actionListener is not invoked anymore.
The javascript code I ...
0
votes
1
answer
435
views
how to clear the form on transition (action) Spring Webflow
I am struggling to add a feature to my Spring Webflow app in which one of the stages has a form and a table. The form is bound to a model and on one transition (action) I save the model to the list of ...
0
votes
0
answers
221
views
Spring webflow dropdown list binding problem using @Modelattribute
In my earlier project, I have bound dropdown to @ModelAttribute request to get the list of items and it worked. And tried the same technique in spring webflow but did not achieve the same result what ...
0
votes
1
answer
323
views
How to change flowScope object from view model?
I have a subflow, where i defined var, like
<var name="tarrifOffer" class="ru.example.TariffOffer" />
Now i have three view states and i want to change this variable in first state and ...