[jboss-user] [JBoss Seam] - Re: ResourceBundle in Database
do-not-reply at jboss.com
Mon Jul 9 06:46:35 EDT 2007
For the needsReload method, I implemented a public boolean isDirty(Date lastLoaded) on the resource bundle entity. It simply compares the lastLoaded date to the last modified date stored on the entity (which is updated each time a message in the bundle is updated).
If you do decide to reload the resource bundle, you will need to override the built-in seam message component, otherwise you'll always get the cached bundle.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061903#4061903
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061903
More information about the jboss-user