Hi,
> i don't know if this question was ever done, but i didn't find anything
> suitable for me.
>
> In a huge webapplication which is being in the first steps of
> implementation, we want to use a Database (table) to store there
> any "String Resources" by locale for translation.
>
> I have been jumping through the class-hierarchy for many hours but i
> haven't found the right point to "plug-in" a ResourceLoader
> from Database.
>
> There are some different "Interface" of them i could imagine "This is the
> right place" but I am not sure at all.
>
> Have i to Implement my own *IResourceSettings*? I hope not, cause the
> Implementation "Settings" looks very complicated to me.
> or is it enough to implement *IStringResourceLoader*? But then, where can i
> add my own loader to the "Chain" of processing?
in your Application implementation:
public void init() {
getResourceSettings().addStringResourceLoader(createMyIStringResourceLoader());
}
obviously you will have to implement createMyIstringResourceLoader :)
Best Regards,
Ilja Pavkovic
--
binaere bauten gmbh · tempelhofer ufer 1a · 10961 berlin
+49 · 171 · 9342 465
Handelsregister: HRB 115854 - Amtsgericht Charlottenburg
Geschäftsführer: Dipl.-Inform. Ilja Pavkovic, Dipl.-Inform. Jost Becker
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]