org.apache.wicket.markup.html.form
Class AutoLabelTextResolver

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

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:

Author:
Carl-Eric Menzel , igor
See Also:
Serialized Form

Field Summary
static String LABEL
           
 
Constructor Summary
AutoLabelTextResolver()
           
 
Method Summary
 Component resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
          Try to resolve a component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LABEL

public static final String LABEL
See Also:
Constant Field Values
Constructor Detail

AutoLabelTextResolver

public AutoLabelTextResolver()
Method Detail

resolve

public Component resolve(MarkupContainer container,
                         MarkupStream markupStream,
                         ComponentTag tag)
Description copied from interface: IComponentResolver
Try to resolve a component.

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:
component or null if not found


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.