Check out the user's guide as well. There's some very good
documentation on models in there.
On 8/17/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> This just works, but not totally as you might expect...
>
> public MyForm(String id, FooBar foobar) {
> super(id, new CompoundPropertyModel(fo
This just works, but not totally as you might expect...
public MyForm(String id, FooBar foobar) {
super(id, new CompoundPropertyModel(foobar));
add(new ListView("persons") {
protected IModel getListItemModel(IModel model, int nr) {
return new
CompoundPropertyModel(super.g
Thanks very much for trying to help,
I have it working now, but I'm not happy with the code - it's not "correct".
It's the small, obvious, things that are difficult for beginners.
I had this:
new Model(tmpBrand.getName(), "name")
which of course did not work. Changing to this:
new PropertyMo