On 09 Mar 2011, at 22:36, Brown, Berlin [GCG-PFS] wrote: >> On 09 Mar 2011, at 22:01, Chris Colman wrote: >>> >>> Sorry, CompoundPropertyModel is not deprecated in 1.5, it's >>> BoundCompoundPropertyModel that is. >> >> Too bad :-) >> >> Really, you use normal models and LDMs, or BindGen >> (http://code.google.com/p/bindgen-wicket/) and make your code type-safe. > >> > What is wrong with compoundpropertymodel (pre 1.5)?
Your model object is not used in a type-safe and refactorable/compile-time checked (read maintainable) manner. Read the bindget URL I linked for more info or perhaps more informative: http://wicketinaction.com/2009/11/removing-fragile-string-expressions-from-wicket-code/ Usually though, I tend to just use normal IModels, Models, AROMs and LDMs, though. Those are perfectly safe thanks to Java's generics, albeit a bit verbose no thanks to Java's lacking support for closures. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
