Ilia Naryzhny created WICKET-5184:
-------------------------------------

             Summary: Change signature of AbstractTree
                 Key: WICKET-5184
                 URL: https://issues.apache.org/jira/browse/WICKET-5184
             Project: Wicket
          Issue Type: Improvement
          Components: wicket-extensions
    Affects Versions: 6.7.0
            Reporter: Ilia Naryzhny
            Priority: Minor


There is following problem in wicket 6 with trees:
Constructor of class 
org.apache.wicket.extensions.markup.html.repeater.tree.AbstractTree have 
following signature:
protected AbstractTree(String id, ITreeProvider<T> provider, IModel<Set<T>> 
state)
The problem is in "IModel<Set<T>> state" argument and fact that Model.ofSet 
return IModel<Set<? extends C>>, so it's not possible directly pass 
IModel<Set<? extends C>> to constructor. It seems that either Model.ofSet 
should be changed or AbstractTree.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to