@Andrea: So if I understood you right - if no component would be set to
the StringResourceModel the localizer is going to be invoked like this:
(second paramter is the component)
value = localizer.getString(getResourceKey(), null, null, null, null,
defaultValue);
I guess the app localization is going to be used then.
Am 24.05.15 um 21:17 schrieb Andrea Del Bene:
yes, sorry for my 'creative' writing :)
On 24 May 2015 20:42, "Martin Grigorov" <[email protected]> wrote:
Hi Andrea,
Do you talk about StringResourceModel?
On May 24, 2015 6:21 PM, "Andrea Del Bene" <[email protected]> wrote:
Hi,
I'd like to apply the two following improvements:
-add a setDefaultValue(String value) to not force users to create a model
for static values
-add constructor StrngResourceLocator(String resourceKey, IModel<?>
model). (Has it been removed on purpose?)
What do you think?