[webbeans-issues] [JBoss JIRA] Created: (WBRI-291) WebBeansELResolver Fails To Resolve Registered Beans
Roger Kitain (JIRA)
jira-events at lists.jboss.org
Thu Jul 9 14:16:29 EDT 2009
WebBeansELResolver Fails To Resolve Registered Beans
----------------------------------------------------
Key: WBRI-291
URL: https://jira.jboss.org/jira/browse/WBRI-291
Project: Web Beans
Issue Type: Bug
Components: Bootstrap, EL integration, Examples, JSF Integration
Environment: MACOS X JDK 1.6
Reporter: Roger Kitain
In the 1.0.0.PREVIEW2-PATCH2 branch (1.0.0.PREVIEW2 was created by Pete Muir), jsf2 guessnumber example app does not pull values from beans (like Game.java).
The UI appears with input text value greyed out and no values appear from Game bean properties.
Followed this through the debugger and it appears that during bootstrapping process, the beans are getting registered. That is, BeanManager addBean method is getting invoked and the beans are added during the registration process. However, when the UI is rendered, during JSF encoding, the WebBeansELResolver is called abd those beans are not found when the "getValue" method is called (WEbBeansELResolverImpl.getValue). In this method, the statement:
Bean<?> bean = manager.resolve(manager.getBeans(name));
returns null;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list