[
https://issues.apache.org/jira/browse/WICKET-5702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137342#comment-14137342
]
Thomas Geese commented on WICKET-5702:
--------------------------------------
A workaround for us is to use 'new StringResourceModel("my.key", label, null,
(IModel<String>) null, Model.of("ABC"))'. But as mentioned in WICKET-4972 we'd
also prefer Object[] over varargs.
Thanks for the fast response!
> Placeholders not substituted with StringResourceModel
> -----------------------------------------------------
>
> Key: WICKET-5702
> URL: https://issues.apache.org/jira/browse/WICKET-5702
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 7.0.0-M2, 7.0.0-M3
> Environment: Linux 3.16/JDK7
> Reporter: Thomas Geese
> Assignee: Andrea Del Bene
> Attachments: mytestproject.tar.gz
>
>
> When using StringResourceModel with substitution parameters the placeholders
> in the resulting string are not replaced.
> We are migrating from 6.14 to 7.0.0-M3 and in 6.14 (and 6.17) it was working
> es expected. I attached a quickstart-project to show how we use
> StringResourceModel in our project and how to reproduce this issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)