public class ParentFirstHeaderRenderStrategy extends AbstractHeaderRenderStrategy
MarkupContainer.visitChildren(org.apache.wicket.util.visit.IVisitor) to traverse the hierarchy to
render the children headers.
Since child contributions are added to the markup after the parent contributions, children may
replace / modify existing settings. Which is not good. Instead the parent (container) should be
in control (see WICKET-2693).| Constructor and Description |
|---|
ParentFirstHeaderRenderStrategy()
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
renderChildHeaders(HtmlHeaderContainer headerContainer,
Component rootComponent)
Render the child hierarchy headers.
|
get, renderApplicationLevelHeaders, renderHeader, renderInlineEnclosure, renderRootComponentpublic ParentFirstHeaderRenderStrategy()
protected void renderChildHeaders(HtmlHeaderContainer headerContainer, Component rootComponent)
AbstractHeaderRenderStrategyrenderChildHeaders in class AbstractHeaderRenderStrategyCopyright © 2006–2021 Apache Software Foundation. All rights reserved.