spring mvc with facelets
Asked Answered
C

3

6

Is it possible to use facelets as view technology with Spring MVC? There is no mention about it in the official documentation, but I've heard that Facelets are very convenient and easy to use and I'd like to try it, I just don't know how...

Cerussite answered 6/10, 2010 at 18:7 Comment(1)
I guess you meant Spring not springMVC? as springMVC and jsf are same layer frameworks. both for view layer.Manhattan
F
3

It might be worth trying Spring Web Flow, that comes with JSF2 (facelets) support:

http://static.springsource.org/spring-webflow/docs/2.3.x/reference/htmlsingle/spring-webflow-reference.html#whatsnew-swf-220

This link to the official documentation has a sample app integrating Spring WebFlow with faces.

Furst answered 21/3, 2011 at 15:19 Comment(0)
P
3

It is possible to configure Spring MVC with Facelets. Check the solution here: https://github.com/acichon89/springmvcfacelets

Prodigal answered 6/7, 2013 at 19:32 Comment(0)
P
1

Yes, You can. Rather very well you can have JSF frontend, Spring framework in the middle and probably Hibernate/webservice/JDBC in the backend.

For actions initiating from the JSF page which you migh expect to call the Spring in the backend, the controller in the JSF should call the Spring POJO and then onwards the it's all Spring to take care, you may have to pass on your bean from JSF to Spring bean.

Sometime back I found this document, hope it helps you.

Persons answered 8/12, 2010 at 11:51 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.