| org.apache.tapestry.ValidationDecorator
All known Subclasses: org.apache.tapestry.upload.components.StubValidationDecorator, org.apache.tapestry.BaseValidationDecorator,
ValidationDecorator | public interface ValidationDecorator (Code) | | An object responsible for performing decorations around fields and field labels. The decorator is
notified at intervals by the fields and labels.
|
Method Summary | |
void | afterField(Field field) Invoked after the field has completed rendering itself. | void | beforeField(Field field) Renders immediately before the field itself. | void | insideField(Field field) Invoked at a point where the decorator may write additional attributes into the field. | void | insideLabel(Field field, Element labelElement) Invoked after the label has rendered its tag, but before it has rendered content inside the
tag, to allow the decorator to write additional attributes. |
afterField | void afterField(Field field)(Code) | | Invoked after the field has completed rendering itself.
|
beforeField | void beforeField(Field field)(Code) | | Renders immediately before the field itself. The field will typically render a single
element, though a complex field may render multiple elements or even some JavaScript.
Parameters: field - |
insideField | void insideField(Field field)(Code) | | Invoked at a point where the decorator may write additional attributes into the field.
Parameters: field - |
insideLabel | void insideLabel(Field field, Element labelElement)(Code) | | Invoked after the label has rendered its tag, but before it has rendered content inside the
tag, to allow the decorator to write additional attributes.
Parameters: field - the field corresponding to the label Parameters: labelElement - the element for this label |
|
|