On 10/22/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > complicates? its only a much smaller notation for creating a property model > And i think it reads very well.
Yes, but in this particular case it doesn't let people understand better what goes on. > 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. I don't disagree with it. I just think that using property model is nicer because you don't need to access the parent model (which you may or may not have direct access to). Also, I was trying to explain the difference between property model and compoundproperty model. Of course, you can write a book on in how many other ways you can do the same thing. Eelco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
