On 6/28/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > new PropertyModel(model, "foo")
erhm... not quite there yet... You should also notify the property model in the setModel of your panel. In this case you have a push type of model binding. It usually is a better model to adopt a pull type model. for instance, replace PropertyModel with: new Model() { public Object getObject(Component c) { return ((FooObject)MyPanel.this.getModelObject()).getMyProperty(); } } This will always update, and is refactor safe. Martijn -- Wicket joins the Apache Software Foundation as Apache Wicket Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframework.org ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user