0
My problem is this: I have a class for example client she via own name, surname and Cpf and a list of objects of the address class. The address class will only have the field patio and city. My doubt is the following how I create a form to fill in the customer’s data and go to another screen to insert the addresses and then send with only 1 Ubmit all this data? da para Be done with Thymeleaf or need javascript?
Javascript... If you were Java EE you would suggest using a Stateful EJB (or Flowscoped bean). To do this you will have to keep the form status in the backend in some way (that survives the page change, and.g another request). I have no experience with spring-boot, but I believe your best output is javascript in this case.
– Israel Merljak
You can check out this site tbm, it might help you: https://www.mkyong.com/spring-mvc/spring-mvc-handling-multipage-forms-with-abstractwizardformcontrollercontroller/
– Israel Merljak