Hello again, 

maybe some more clarification why I guess this is wicket related. 
org.apache.wicket.resource.loader.IStringResourceLoader is the
implementation that is used in wicket to get the label from the DB, because
there the necessary function of the Spring MessageSource is called. The
function "loadStringResource" in IStringResourceLoader is only called once
for a label. Only when redeploying the application, the message is again
retreived with the "loadStringResource". Is there any way to clear that
cache manually or something?
Thanks again !


Marieke Vandamme wrote:
> 
> Hello, 
> 
> I don't know if my question is Spring related or wicket related, but i
> guess it's wicket related so...
> If not, my apologies, but please tell me so i can post my question to the
> correct mailinglist.
> 
> I use the org.springframework.context.support.AbstractMessageSource to
> read my labels from a database (in the method resolveCode I use my dao to
> get the correct label). In the application-context, I use the bean with
> name "messageSource" to link my AbstractMessageSource implementation in
> wicket.
> 
> Now my question:
> The labels are only readed once from the database. They are cached
> somewhere in wicket, i guess. But when deploying my application, most
> labels are not translated yet. Is it possible to delete the cached labels
> somehow?
> 
> Thanks !
> 

-- 
View this message in context: 
http://www.nabble.com/Spring%27s-AbstractMessageSource-%3A-read-new-label-from-DB-tp18064364p18064730.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to