You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/02/18 09:44:21 UTC

[jira] [Resolved] (WICKET-5505) DefaultPropertyResolver does not respect JavaBean conventions

     [ https://issues.apache.org/jira/browse/WICKET-5505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-5505.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.15.0
                   7.0.0
         Assignee: Martin Grigorov  (was: Igor Vaynberg)

> DefaultPropertyResolver does not respect JavaBean conventions
> -------------------------------------------------------------
>
>                 Key: WICKET-5505
>                 URL: https://issues.apache.org/jira/browse/WICKET-5505
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-bean-validation
>    Affects Versions: 6.13.0
>            Reporter: Vincent MATHON
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 7.0.0, 6.15.0
>
>
> The property name code should handle the isPropertyName pattern
> if(getterName.startsWith("get")) {
> 	name = getterName.substring(3, 4).toLowerCase() + getterName.substring(4);
> } else {
> 	name = getterName.substring(2, 3).toLowerCase() + getterName.substring(3);
> }
> Workaround: providing my own property resolver.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)