[jboss-user] [JBoss Seam] - How to Inject app properties to bean transient method
Stateless Bean
do-not-reply at jboss.com
Mon Mar 19 08:04:55 EDT 2007
Hi,
I have collection of Entity Beans in my Statefull Bean loaded from DB, and iterated in page in <h:dataTable, like:
List listOfMyBeans;
And here is my problem: i need to load some text from app properties, if some field in bean is true/false, nevermind.
I have two ideas:
1. get this text from app properties when iterating my collection on page.
2. When load my collection in Statefull Bean, here text is injected into my entity bean.
What way is better?
if first, here i got problem, how to get into my messages map from Entity Bean when iterating directly on page?
| @In
| protected Map<String, String> messages;
|
Regards!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029273#4029273
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029273
More information about the jboss-user
mailing list