Integrating JSF with Spring

后端 未结 1 925
不知归路
不知归路 2021-01-07 02:21

I haven\'t implemented any code, I\'m still working the overall architecture for a new application and this going to be the first time I use JSF+Spring.

1条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-07 02:46

    The "glue" is the spring ELResolver, which you must configure in your faces-config.xml:

        
        
        
             org.springframework.web.jsf.el.SpringBeanFacesELResolver
        
     
    

    This means that each #{bean.property} is handled by the resolving the bean in the spring context.

    0 讨论(0)
提交回复
热议问题