cancel
Showing results for 
Search instead for 
Did you mean: 

A problem about the Bean definition.

sshgz
Champ in-the-making
Champ in-the-making
In the faces-config-beans.xml i found the bean "LoginBean" had a property "nodeService", but i could not find the definition of "NodeService".

Please see :
 
<managed-bean-name>LoginBean</managed-bean-name>
      <managed-bean-class>org.alfresco.web.bean.LoginBean</managed-bean-class>
      <managed-bean-scope>session</managed-bean-scope>
      <managed-property>
         <property-name>nodeService</property-name>
         <value>#{NodeService}</value>
      </managed-property>

Thanks.
2 REPLIES 2

gavinc
Champ in-the-making
Champ in-the-making
It's a Spring bean.

We use the Spring JSF variable resolver, this will also look in the Spring context for any beans with the given name if they are not found in the JSF config files.

sshgz
Champ in-the-making
Champ in-the-making
It's a Spring bean.

We use the Spring JSF variable resolver, this will also look in the Spring context for any beans with the given name if they are not found in the JSF config files.

Thanks gavinc.

I am a new person for the Spring and JSF.
Which is the Spring JSF variable resolver?
How does it work?
I hope you could tell me more.

Thank you very much.