[ https://issues.apache.org/jira/browse/WICKET-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510437 ]
Juergen Donnerstag commented on WICKET-695: ------------------------------------------- /** * Find the proper Border component * * @return Border */ private Border findBorder() { Border border = this; if (border.getMarkupStream() == null) { // Find Border at or above parent of this border final MarkupContainer borderParent = border.getParent(); border = (Border)((borderParent instanceof Border) ? borderParent : borderParent .findParent(Border.class)); } return border; } Juergen > Border.resolve() should not attempt to render contents if bodyVisible is false > ------------------------------------------------------------------------------ > > Key: WICKET-695 > URL: https://issues.apache.org/jira/browse/WICKET-695 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.3.0-beta1, 1.3.0-beta2, 1.3.0-beta3 > Reporter: Stefan Kanev > Assignee: Juergen Donnerstag > Priority: Minor > > Border.resolve() should not attempt to render its nested components if > setBorderBodyVisible(false) has been called. This way the behavior would be > similar to Component.setVisible() - when the contents are not visible, wicket > would not raise an exception if there are no corresponding components for the > border's markup. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.