@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">
.
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()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.