Hi,
I'm trying to inject a messages.properties message into a session bean.
@In("#{messages.findUserByIdSQL}") private String findUserByIdSQL;
Sometimes this notation works, but in other injections on other session beans it doesn't work. When it doesn't work, the value of findUserByIdSQL is messages.findUserByIdSQL (in other words, the key I'm trying to lookup). It's as if a new Messages object is being created and not finding messages.properties.
Anyone know what I'm doing wrong?
Thanks,
Eric
Sorry, when it doesn't work the value is findUserByIdSQL, not messages.findUserByIdSQL.