org.apache.wicket.markup.html
Class ContainerWithAssociatedMarkupHelper
java.lang.Object
org.apache.wicket.behavior.AbstractBehavior
org.apache.wicket.markup.html.ContainerWithAssociatedMarkupHelper
- All Implemented Interfaces:
- Serializable, IBehavior, IComponentConfigurationBehavior, IClusterable, IHeaderContributor
public class ContainerWithAssociatedMarkupHelper
- extends AbstractBehavior
A Wicket internal helper class to handle wicket:head tags.
- Author:
- Juergen Donnerstag
- See Also:
- Serialized Form
Methods inherited from class org.apache.wicket.behavior.AbstractBehavior |
afterRender, beforeRender, bind, cleanup, detach, detachModel, exception, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onException, onRendered, rendered, renderHead |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerWithAssociatedMarkupHelper
public ContainerWithAssociatedMarkupHelper(IHeaderPartContainerProvider container)
- Parameters:
container
-
renderHeadFromAssociatedMarkupFile
public final void renderHeadFromAssociatedMarkupFile(HtmlHeaderContainer htmlContainer)
- Called by components like Panel and Border which have associated Markup and which may have a
<wicket:head> tag.
Whereas 'this' might be a Panel or Border, the HtmlHeaderContainer parameter has been added
to the Page as a container for all headers any of its components might wish to contribute.
The headers contributed are rendered in the standard way.
- Parameters:
htmlContainer
- The HtmlHeaderContainer added to the Page
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.