I succeeded in running your example eventually.
Solution:
- Define target managed bean at the spring config (add the following declaration to it - '<bean id="testBean" class="com.test.BeanTest"/>');
- Add 'cglib' library to your applications dependencies (necessary for creating aop proxy for the target bean);
- Use 'SpringBeanVariableResolver' instead of 'DelegatingVariableResolver' at the 'faces-config.xml':
HTML Code:<application> <view-handler>com.icesoft.faces.facelets.D2DFaceletViewHandler</view-handler> <variable-resolver>org.springframework.web.jsf.SpringBeanVariableResolver</variable-resolver> </application>


Reply With Quote
