complicates? its only a much smaller notation for creating a property model
And i think it reads very well.

What would be better then something reversed?

cpm.bind(textField,"address")
?

But then you have to first have a reference.to the textfield.
We had such a thing in wicket 1.1 (BoundedCompoundPropertyModel)
But i think the current way is way better and nicer.

johan



On 10/22/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>
> > CompoundPropertyModel  cpm = new CompoundPropertyModel (xxx);
> > Form f = new Form("form",cpm);
> > f.add(new TextField("username"));
>
>
> > f.add(new TextField("notinmodel", cpm.bind("address"));
>
> Yes, that is another alternative to using property model. I didn't
> mention this since it only complicates things. I'm not crazy about the
> facility anyway.
>
> Eelco
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to