[ 
https://issues.apache.org/jira/browse/WICKET-5702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137132#comment-14137132
 ] 

Andrea Del Bene commented on WICKET-5702:
-----------------------------------------

Actually, this is not a bug. In Wicket 7 APIs might be slightly changed, and so 
did StringResourceModel with its constructors: defaultValue parameter has 
changed its type from String to IModel<String>.
Should we reconsider this choice?

> 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)

Reply via email to