“glue”是spring
ELResolver,您必须在其中配置
faces-config.xml:
<application> <!-- This is the JSF 1.2 ELResolver that delegates to the Spring root WebApplicationContext resolving name references to Spring-defined beans. --> <el-resolver> org.springframework.web.jsf.el.SpringBeanFacesELResolver </el-resolver> </application>
这意味着每个
#{bean.property}都通过
bean在spring上下文中解析来处理。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)