-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 7.0.0-M5
-
Component/s: None
-
Labels:None
When using StringResourceModel one can add property expression into the resourceKey.
As documentation states: expression will be evaluated if the model parameter is not null.
But when parameter is null, with given example:
new StringResourceModel("my.resource.${my.propertyValue}"), myModel);
one can expect the need to provide
my.resource.null
resource key (same case as with DropDownChoice).
In fact, Wicket is searching for
my.resource.${my.propertyValue}
(literarily) instead which is just wrong.