You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (Jira)" <ji...@apache.org> on 2020/09/12 10:52:00 UTC
[jira] [Resolved] (WICKET-6828) Wrong tree branch icon with hidden
children
[ https://issues.apache.org/jira/browse/WICKET-6828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sven Meier resolved WICKET-6828.
--------------------------------
Fix Version/s: 8.10.0
9.1.0
Resolution: Fixed
What if the node is invisible but its subtree should be shown? What if the other way around? Maybe the branch is invisible instead?
IMHO there would be too many combination to check here. Instead I opted to make #isLast() protected so you can override it as you need it.
> Wrong tree branch icon with hidden children
> -------------------------------------------
>
> Key: WICKET-6828
> URL: https://issues.apache.org/jira/browse/WICKET-6828
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-extensions
> Affects Versions: 8.8.0, 9.0.0
> Reporter: Alexander Andriishin
> Assignee: Sven Meier
> Priority: Minor
> Fix For: 9.1.0, 8.10.0
>
> Attachments: fix_incorrect_branch_item_view.patch, visible-node-with-invisible-successor.png
>
>
> If a tree contains nodes that are not visible (isVisible () method returns false) then the branch is displayed with the wrong icon. See example in the attached image.
> Also bugfix patch is attached.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)