title: Wicket PropertyModel strangeness?
body: <p>I'm new to Wicket and was trying the following configuration:</p>
  
  <pre><code>class User {
     private String password;
  
     ...
  
     public void setPassword(String password) {
       this.password = MD5.encode(password);
     }
     ...
  }
  </code></pre>
  
  <p>After trying to use the following to bind to the password and finding out that the default implementation of PropertyModel is by default to bound to the field, not the property (weird name eh?)</p>
  
  <pre><code>add(new PasswordTextField("password", new PropertyModel(user, "password"));
  </code></pre>
  
  <p>Why in the world would they have implemented it this way? And is there a PropertyModel alternative that uses getter and setters by default?</p>
  
  <p>Thank you?</p>