You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/03/12 18:39:04 UTC

[jira] [Commented] (WICKET-6335) tree.Node calls virtual methods from constructor

    [ https://issues.apache.org/jira/browse/WICKET-6335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15906633#comment-15906633 ] 

ASF subversion and git services commented on WICKET-6335:
---------------------------------------------------------

Commit 247ef29967c2d50ccf0925d28edf641610f5c30c in wicket's branch refs/heads/master from [~svenmeier]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=247ef29 ]

WICKET-6335 call factory methods from #onInitialize()

> tree.Node calls virtual methods from constructor
> ------------------------------------------------
>
>                 Key: WICKET-6335
>                 URL: https://issues.apache.org/jira/browse/WICKET-6335
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 8.0.0-M4
>            Reporter: Mikhail Fursov
>
> Class org.apache.wicket.extensions.markup.html.repeater.tree.Node calls pure virtual method createContent() from constructor.
> Because of this call a class that implements Node has no chance to initilalize itself before createContent() method is called.
> I believe the whole constructor of Node class can be safely moved to onInitialize method.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)