You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 19 Members of 4504 |
| Forum: Seam Users |
06. Jun 2008, 17:00 CET | Link |
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.