Is there any working example using thymeleaf + ajax and spring web-flow

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Is there any working example using thymeleaf + ajax and spring web-flow

kamalarora033
Do you know of any working example using thymeleaf +ajax and spring web-flow?

I have gone through thymeleaf+spring 3 pdf . Chapter 9  in that talks about it but, it is not very
clear. Can anyone point me to a working example using using thymeleaf +ajax and spring web-flow?
It will be very helpful. I want that page doesn't load at every request. I want fully ajaxified my application. please help me i m new to thymeleaf.

Thanks  in advance.

Regards,
Kamal arora.
Reply | Threaded
Open this post in threaded view
|

Re: Is there any working example using thymeleaf + ajax and spring web-flow

danielfernandez
Administrator
The official 'booking-mvc' example application for Spring WebFlow uses Thymeleaf, and it includes some AJAX integrations: https://github.com/spring-projects/spring-webflow-samples/tree/master/booking-mvc

AJAX fragment rendering is specifically used there at the "booking" flow: https://github.com/spring-projects/spring-webflow-samples/blob/master/booking-mvc/src/main/webapp/WEB-INF/hotels/booking/booking-flow.xml
Reply | Threaded
Open this post in threaded view
|

Re: Is there any working example using thymeleaf + ajax and spring web-flow

maggiwuerze
I know this is kinda late, but would you (or anyone) be willing to be a little more in-depth about this?
I looked at the linked repository but could not find any mentioning of fragments ind the views linked in the flow.xml.

The Thymeleaf Docs made me think that you would need a fragment and id. I would really appreciate it if i could get some help on this.