Trying to inject a map (messages) into my JavaBean (not a SB). Is this code
possible? For that matter, @Logger doesn't work either.
@Name("paginator")
| @Scope(SESSION)
| public class DefaultPaginator implements Paginator {
| @Logger
| private Log log;
|
| @In private Map<String, String> messages;
|
| @In("#{messages['paginator.linktext.prev']}")
| private String previous;
|
| @In("#{messages['paginator.linktext.next']}")
| private String next;
|
| ...
|
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026278#4026278
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026278
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user