2008/5/11 Johan Compagner <[EMAIL PROTECTED]>: > > But if a PropertyModel sees a IModel as its object > then it will call getObject() and on that it will evaluate "city" > So what is getObject() returning MyModel?? > > You shouldnt mix these things. > > if you want the city object from a model it should go like this: > > mymodel.getObject().getCity() not mymodel.getCity() > > johan >
It solves my confusion... Thanks a lot!
