...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
add(new BookmarkablePageLink<Void>("signin", LoginPage.class)); |
Enclosures
Prior to 1.4.2, if an enclosure was not to be rendered, it was not mandatory to add any other children to it apart from the 'child' that determines its visibility. This is no longer true as of 1.4.2: you will have to add all children, even if the enclosure is not to be rendered.
https://issues.apache.org/jira/browse/WICKET-2605
The error message will be 'org.apache.wicket.WicketRuntimeException: Could not find child with id: foo', even though it is not the element with id 'foo' that cannot be found.