users@glassfish.java.net

Re: trouble with ejb decendency injection in managed bean

From: <forums_at_java.net>
Date: Wed, 2 Nov 2011 18:26:20 -0500 (CDT)

define beans-config.xml only with ManagedBeans, also faces-config.xml with
general configuration and add in the web.xml file setup :

/*web.xml*/

<context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
     <param-value>
      /WEB-INF/config/beans-config.xml,
      /WEB-INF/config/faces-config.xml
     </param-value>
  </context-param>

 

remenber el faces-config.xml must be in the second line

 

 


--
[Message sent by forum member 'jezamora']
View Post: http://forums.java.net/node/859089