Wicket
  1. Wicket
  2. WICKET-1302

Make substitutePropertyExpressions() in Localizer overridable

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-final
    • Fix Version/s: 1.3.2
    • Component/s: wicket
    • Labels:
      None

      Description

      I want to extend Localizer.substitutePropertyExpressions(final Component component, final String string, final IModel model) to add a special behaviour when the model for substitution is instance of a Interface which has the Method getMessage(Locale locale).
      In this case I want to use a custom PropertyVariableInterpolator.

      So please make the method protected.

        Activity

        Igor Vaynberg made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Fix Version/s 1.3.2 [ 12312942 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Igor Vaynberg [ ivaynberg ]
        Thomas Jaeckle created issue -

          People

          • Assignee:
            Igor Vaynberg
            Reporter:
            Thomas Jaeckle
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development