I want to use one of my spring bean classes in a jsf backing bean.
For example I have a spring bean called: configuration.
So I've put this in the jsf bean:
<managed-property>
<property-name>configuration</property-name>
<value>#{configuration}</value>
</managed-property>
But when the code tries to use the configuration class it throws a null pointer (because the configuration object isn't there.
Any idea how to get around this? I really don't want to have to duplicate all sorts of code in the jsf backing bean.
Thanks
Lee