Cheap chaining of compound property model to propertymodel

2011-01-31 Thread Brown, Berlin [GCG-PFS]
In this code, do you think I am using the method CompoundPropertyModel.bind properly? See my example in Code2, below. In my snippet Code1, the values for the propertymodel were lost when I did an ajax onClick. But in Code2, the values are retained... Code1: Panel { Panel() {

Re: Cheap chaining of compound property model to propertymodel

2011-01-31 Thread Pedro Santos
Two possible problems: - duplicated instances, then you set some property at instance 1 expecting to see it changed at instance 2 - missing Component#modelChanged, since you need to signal the form component that you have set some property into its model the best would be you send a quickstart