Class ContainerWithAssociatedMarkupHelper

  extended by org.apache.wicket.behavior.AbstractBehavior
      extended by 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.

Juergen Donnerstag
See Also:
Serialized Form

Constructor Summary
ContainerWithAssociatedMarkupHelper(IHeaderPartContainerProvider container)
Method Summary
 void renderHeadFromAssociatedMarkupFile(HtmlHeaderContainer htmlContainer)
          Called by components like Panel and Border which have associated Markup and which may have a <wicket:head> tag.
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

Constructor Detail


public ContainerWithAssociatedMarkupHelper(IHeaderPartContainerProvider container)
container -
Method Detail


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.

htmlContainer - The HtmlHeaderContainer added to the Page

Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.