Uploaded image for project: 'Shale'
  1. Shale
  2. SHALE-233

Annotation @Value support for Spring beans

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.2
    • TBD
    • Tiger
    • None
    • MyFaces 1.1.3, Spring 1.2.8, Shale 1.0.2 (using Tiger extensions and Spring integration)
    • Patch, Important

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            javy_tahu Vytautas Jakutis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: