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

PropertyResolver#setValue failing with setter only and no corresponding field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 7.3.0
    • None
    • wicket
    • None

    Description

      If there is a bean like that:

        public class Bean {
          private Object innerValue;
      
          public void setValue(Object value) {
            this.innerValue = value;
          }
        }
      

      PropertyResolver#setValue() fails with expression "value", because it cannot find a getter nor a field with that name.

      Attachments

        Issue Links

          Activity

            People

              svenmeier Sven Meier
              phantom Ilia Naryzhny
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: