org.apache.wicket.markup.html
Class ContainerWithAssociatedMarkupHelper

java.lang.Object
  extended by org.apache.wicket.behavior.AbstractBehavior
      extended by org.apache.wicket.markup.html.ContainerWithAssociatedMarkupHelper
All Implemented Interfaces:
java.io.Serializable, IBehavior, IClusterable, IHeaderContributor

public class ContainerWithAssociatedMarkupHelper
extends AbstractBehavior

A Wicket internal helper class to handle wicket:head tags.

Author:
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, onException, onRendered, rendered, renderHead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerWithAssociatedMarkupHelper

public ContainerWithAssociatedMarkupHelper(IHeaderPartContainerProvider container)
Parameters:
container -
Method Detail

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-2010 Apache Software Foundation. All Rights Reserved.