@SupportsInformalParameters public class Error extends Object
<p class="help-block">.
Must be enclosed by a
Form component and assumes the field and the Error component
are enclosed by a <div class="[form group CSS class]">, where [form group CSS class]
is defined by the value of the SymbolConstants.FORM_GROUP_WRAPPER_CSS_CLASS
configuration symbol (tapestry.form-group-wrapper-css-class).
It is acceptable to include multiple Errors components for a single field; this is sometimes necessary
when creating a responsive layout - which should probably ensure that only one of the Errors is
visible at any time.
Errors is optional, and Tapestry's client-side logic will do a reasonable job of placing a help block
dynamically when a validation error must be presented; this component is intended for use when the default logic
doesn't place the help block in the right spot.| Name | Type | Flags | Default | Default Prefix |
|---|---|---|---|---|
| for | org. | Required, Not Null | component | |
| The for parameter is used to identify the org.apache.tapestry5.Field to present errors of. | ||||
public Error()
5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.