> I guess I still don't understand when models need to be used and when > simple values are ok.
My simplified answer would be: * Models are partially managed by Wicket. E.g. CompoundPropertyModels can be found by model-less children, and Wicket takes care of detaching all models after rendering is done. * You can reuse models for different components. So you use composition rather then inheritance, which is more flexible. * Models are the expected connection to data with Wicket. As most components do use models, designing your components such that they do too is consistent and will probably make them easier to understand by new users. If you don't care about the above items for a specific case, it's fine to not use a model. It's not an anti-pattern. :) Eelco ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user