PropertyModel « wicket « Java Enterprise Q&A





1. Wicket PropertyModel strangeness?    stackoverflow.com

I'm new to Wicket and was trying the following configuration:

class User {
   private String password;

   ...

   public void setPassword(String password) {
     ...

2. PropertyModel Expression's Exception : org.apache.wicket.WicketRuntimeException: No get method defined for class:    stackoverflow.com

I used PropertyModel as the part of my DropDownChoice as following:

    List<String> choices = Arrays.asList(new String[] { "Library", "School Office", "Science Dept" });
    String selected ...