You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shale.apache.org by "Vytautas Jakutis (JIRA)" <ji...@apache.org> on 2006/07/26 14:53:21 UTC
[jira] Commented: (SHALE-233) Annotation @Value support for Spring
beans
[ http://issues.apache.org/struts/browse/SHALE-233?page=comments#action_37861 ]
Vytautas Jakutis commented on SHALE-233:
----------------------------------------
Wooops.. I'm very sorry, that was my mistake - incopatible types....
> Annotation @Value support for Spring beans
> ------------------------------------------
>
> Key: SHALE-233
> URL: http://issues.apache.org/struts/browse/SHALE-233
> Project: Shale
> Issue Type: New Feature
> Components: Tiger
> Affects Versions: 1.0.2
> Environment: MyFaces 1.1.3, Spring 1.2.8, Shale 1.0.2 (using Tiger extensions and Spring integration)
> Reporter: Vytautas Jakutis
>
> Trying to use spring context beans. When using a Faces managed bean's value whose initial value is value binding expression refering to spring context bean and was assigned with Tiger annotation @Value("#{userDao}"), i get the following error:
> javax.faces.el.EvaluationException: Cannot get value for expression '#{user.dao.info}'
> ....
> javax.faces.el.EvaluationException: Managed bean definition user specifies a managed property dao whose value expression #{userDao} threw an exception when evaluated
> at org.apache.shale.tiger.faces.VariableResolverImpl.property(VariableResolverImpl.java:615)
> However, expression referring to that field directly with #{userDao.info} works nice (shale-spring.jar :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira