wicket-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Location of AbstractPropertyModel.getInnermostModelOrObject
Date Mon, 04 Feb 2019 15:49:18 GMT
https://issues.apache.org/jira/browse/WICKET-6635

On Sat, Feb 2, 2019 at 11:55 PM Martin Grigorov <mgrigorov@apache.org>
wrote:

> Hi Chris,
>
> I do agree with you!
> If no one objects I will move it in Wicket 9 in the coming days.
>
> Regards,
> Martin
>
> On Mon, Jan 28, 2019 at 3:06 AM Chris Colman <chrisc@stepaheadsoftware.com>
> wrote:
>
>> I recently found the need to override ChainingModel (Wicket 6.x) but
>> didn't need the extras that AbstractPropertyModel provided except for
>> getInnermostModelOrObject.
>>
>> Is there any reason why that method is in AbstractPropertyModel and not
>> ChainingModel?
>>
>> It appears that the method is purely in the domain of chaining and does
>> not have, as far as I can see, any dependencies on the concept of
>> property models.
>>
>> For our application I can copy/paste the method into our class that
>> extends ChainingModel but it got me wondering why it wasn't in
>> ChainingModel and if it [sh|c]ould be moved.
>>
>> Obviously it's not a show stopper or anything!
>>
>> Regards,
>> Chris Colman
>> http://pagebloom.com
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message