Hi Conny,

Actually the javadoc is already there - see IComponentInheritedModels's
javadoc.
We cannot copy/paste it at each and every component implementation. It is
something specific to this IModel impl, not the components.

https://github.com/apache/wicket/blob/0dc04e448ba31de15d8c32b1ee964bebed55bc36/wicket-core/src/main/java/org/apache/wicket/model/IComponentInheritedModel.java#L22-L31
https://github.com/apache/wicket/blob/0dc04e448ba31de15d8c32b1ee964bebed55bc36/wicket-core/src/main/java/org/apache/wicket/Component.java#L162
https://github.com/apache/wicket/blob/0dc04e448ba31de15d8c32b1ee964bebed55bc36/wicket-core/src/main/java/org/apache/wicket/Component.java#L3796-L3805
https://github.com/apache/wicket/blob/0dc04e448ba31de15d8c32b1ee964bebed55bc36/wicket-core/src/main/java/org/apache/wicket/model/CompoundPropertyModel.java#L24

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Wed, Dec 20, 2017 at 9:24 AM, Conny Kühne <[email protected]> wrote:

> Hi Sven,
>
> thanks. Maybe the javadoc of the tree classes should state this. It is not
> obvious, e.g., why the DefaultTree works out of the box in the example
> page,
> but it does not work inside a component that has a model.
>
> Best,
> Conny
>
> --
> Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-
> f1842947.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to