Community   SpringSource   Projects    Downloads    Documentation    Forums    Training   Exchange   Blogs

Go Back   Spring Community Forums > Core Spring Projects > Web

Reply
 
Thread Tools Display Modes
  #1  
Old Dec 4th, 2007, 06:29 PM
mraible mraible is offline
Senior Member
 
Join Date: Aug 2004
Location: Denver
Posts: 247
Default DelegatingVariableResolver vs. SpringBeanFacesELResolver

What's the difference between SpringBeanFacesELResolver and DelegatingVariableResolver in 2.5? I've upgraded my app to 2.5 and JSF 1.2 and I'm still using DelegatingVariableResolver successfully. What is SpringBeanFacesELResolver useful for?

Thanks,

Matt
Reply With Quote
  #2  
Old Dec 5th, 2007, 02:33 AM
djo.mos djo.mos is offline
Member
 
Join Date: Nov 2007
Posts: 60
Default

Hi.
It is a badly documented issue in Spring 2.5 ...
Well, DelegatingVariableResolver is the way to integrate spring with JSF 1.1 by using a variable-resolver in faces-config.xml, like this:
HTML Code:
<application> 
  <variable-resolver> 
    org.springframework.web.jsf.DelegatingVariableResolver 
  </variable-resolver> 
</application>
But this is a deprecated method in JSF 1.2.

So, Spring 2.5 introduced a new way by using SpringBeanFacesELResolver like this:
HTML Code:
<application> 
  <el-resolver> 
org.springframework.web.jsf.el.SpringBeanFacesELResolver 
  </el-resolver> 
</application>
Regards.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:06 AM.


Contegix provides first-class managed hosting and partial sponsorship of these forums.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.