org.apache.tapestry5.corelib.components
Class Label

java.lang.Object
  extended by org.apache.tapestry5.corelib.components.Label

@SupportsInformalParameters
public class Label
extends Object

Generates a <label> element for a particular field.

A Label will render its body, if it has one. However, in most cases it will not have a body, and will render its field's label as it's body. Remember, however, that it is the field label that will be used in any error messages. The Label component allows for client- and server-side validation error decorations.


Constructor Summary
Label()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Label

public Label()


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