[jboss-user] [JBoss Seam] - How to Inject app properties to bean transient method
do-not-reply at jboss.com
Mon Mar 19 08:04:55 EDT 2007
I have collection of Entity Beans in my Statefull Bean loaded from DB, and iterated in page in <h:dataTable, like:
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?
| protected Map<String, String> messages;
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