myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul McMahan (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (MYFACES-1588) managed beans are not resolved when scope is "none"
Date Wed, 18 Apr 2007 20:52:15 GMT
managed beans are not resolved when scope is "none"
---------------------------------------------------

                 Key: MYFACES-1588
                 URL: https://issues.apache.org/jira/browse/MYFACES-1588
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-252
    Affects Versions: 1.2.0-SNAPSHOT
            Reporter: Paul McMahan
         Assigned To: Paul McMahan


When a manged bean is defined in an application's config like this:
        <managed-bean>
                <managed-bean-name>MyBean</managed-bean-name>
                <managed-bean-class>foo.MyBean</managed-bean-class>
                <managed-bean-scope>none</managed-bean-scope>
        </managed-bean>

the bean should be resolvable from a ValueBinding but instead it returns null as shown below:
        ValueBinding binding = application.createValueBinding("#{MyBean}");
        binding.getValue(facesContext);   // returns null;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message