Class AutoLabelTextResolver

  extended by org.apache.wicket.markup.html.form.AutoLabelTextResolver
All Implemented Interfaces:
Serializable, IClusterable, IComponentResolver

public class AutoLabelTextResolver
extends Object
implements IComponentResolver

Resolver that provides the <wicket:label> tag, which will output a FormComponent's label without requiring a manual extra component such as Label or FormComponentLabel. <wicket:label> can be used

It also supports both input and output:

Carl-Eric Menzel , igor
See Also:
Serialized Form

Constructor Summary
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


public AutoLabelTextResolver()
Method Detail


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

Specified by:
resolve in interface IComponentResolver
container - The container parsing its markup
markupStream - The current markupStream
tag - The current component tag while parsing the markup
True if component-id was handled by the resolver, false otherwise.

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