Re: 6.x should getTarget() in ChainingModel (or PropertyModel) be made public instead of protected?

2012-08-19 Thread Greg Johnson
thanks. what's required is getInnermostModelOrObject(). the method names for getInnermostModelOrObject(), getChainedModel() etc appear to be somewhat confusing and/or the api docs do not appear to be extensive enough for the average user. even the name getInnermostModelOrObject() appears weak

Re: 6.x should getTarget() in ChainingModel (or PropertyModel) be made public instead of protected?

2012-08-16 Thread Sven Meier
Can't you just use #getChainedModel()? Sven Greg Johnson schrieb: >hi, > >for some validator use cases public getTarget() in AbstractPropertyModel was >important for access to the parent object, eg for cross field validation. > >this is now not possible in 6.x as getTarget() is now protected i

6.x should getTarget() in ChainingModel (or PropertyModel) be made public instead of protected?

2012-08-15 Thread Greg Johnson
hi, for some validator use cases public getTarget() in AbstractPropertyModel was important for access to the parent object, eg for cross field validation. this is now not possible in 6.x as getTarget() is now protected in ChainingModel and this breaks the above validator use case. just like ma