Mikhail Fursov created WICKET-6335:
--------------------------------------

             Summary: 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 
it's state before createContent() method call.

I believe the whole constructor of Node class can be safely moved to 
onInitializeMethod.



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

Reply via email to