Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5505

DefaultPropertyResolver does not respect JavaBean conventions

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              vmathon Vincent MATHON
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: