I cant get the value in my beans to be set using the config CR1 module
I have a stateless bean
@Stateless
public class FeedbackServiceBean implements FeedbackService {
.....
private String emailRecipient;
@Inject
private EmailManager emailManager;
......
}In my seam-beans.xml I have
<service:FeedbackServiceBean> <s:modifies/> <service:emailRecipient>craig@email.com</service:emailRecipient> </service:FeedbackServiceBean>
When I inject FeedbackService anywhere the emailManager is injected, but emailRecipient is always null.
Can someone let me know what I'm doing wrong?!!
Many thanks
Craig