[seam-issues] [JBoss JIRA] Commented: (SEAMINTL-15) DB-based messages and other external sources

Nicklas Karlsson (JIRA) jira-events at lists.jboss.org
Thu Dec 30 16:18:18 EST 2010


    [ https://issues.jboss.org/browse/SEAMINTL-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572554#comment-12572554 ] 

Nicklas Karlsson commented on SEAMINTL-15:
------------------------------------------

One way of doing this would perhaps to @Inject an Instance of something into Bundles and then have a @PostConstruct or @Inject constructor check if there is something injected that would then be assimilated. This something could perhaps be a Map<String, ResourceBundle> that would be passed along to putAll. Users could then write producers for resource bundles they'd like automatically made available.

> DB-based messages and other external sources
> --------------------------------------------
>
>                 Key: SEAMINTL-15
>                 URL: https://issues.jboss.org/browse/SEAMINTL-15
>             Project: Seam International
>          Issue Type: Feature Request
>          Components: Messages
>            Reporter: Nicklas Karlsson
>
> (hope this is not an obsolute one)
> Refactor the producing of the messages so that you could e.g. specialize a producer method if you want to produce messages from a DB. Currently the only way(?) is to write an extension that loads the stuff and explicitly places the messages in the appscoped component.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list