StringResourceModel's Localizer cannot be overwritten
-----------------------------------------------------

                 Key: WICKET-2156
                 URL: https://issues.apache.org/jira/browse/WICKET-2156
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.2
            Reporter: Peter Parson


According to the Javadoc setLocalizer() should be used to overwrite a 
StringResourceModel's Localizer.

However, the localizer property is overwritten later by the load() method. 

Overriding getLocalizer() does not work either, since getString() uses the 
localizer property directly.

I think the load method should check whether the property is set already before 
applying the application's localizer.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to