wicket.markup.html
Class BodyOnLoadResolver

java.lang.Object
  extended bywicket.markup.html.BodyOnLoadResolver
All Implemented Interfaces:
IComponentResolver, java.io.Serializable

public class BodyOnLoadResolver
extends java.lang.Object
implements IComponentResolver

This is a tag resolver which handles <body onload=".."> tags.

Author:
Juergen Donnerstag
See Also:
Serialized Form

Constructor Summary
BodyOnLoadResolver()
           
 
Method Summary
 boolean resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
          Try to resolve the tag, then create a component, add it to the container and render it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyOnLoadResolver

public BodyOnLoadResolver()
Method Detail

resolve

public boolean resolve(MarkupContainer container,
                       MarkupStream markupStream,
                       ComponentTag tag)
Try to resolve the tag, then create a component, add it to the container and render it.

Specified by:
resolve in interface IComponentResolver
Parameters:
container - The container parsing its markup
markupStream - The current markupStream
tag - The current component tag while parsing the markup
Returns:
true, if componentId was handle by the resolver. False, otherwise
See Also:
IComponentResolver.resolve(MarkupContainer, MarkupStream, ComponentTag)


Copyright © 2004-2006 Wicket developers. All Rights Reserved.