|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IFormComponent | |
org.apache.tapestry | Tapestry is a comprehensive web application framework, written in Java. |
org.apache.tapestry.form | Components for implementing basic HTML Forms. |
org.apache.tapestry.valid | Components and classes that provide specialized, validating text fields. |
org.apache.tapestry.wml | Classes and components for main elements of the Wireless Markup Language (WML 1.2). |
Uses of IFormComponent in org.apache.tapestry |
Methods in org.apache.tapestry with parameters of type IFormComponent | |
java.lang.String |
FormBehavior.getElementId(IFormComponent component)
Constructs a unique identifier (within the Form). |
java.lang.String |
FormBehavior.getElementId(IFormComponent component,
java.lang.String baseId)
Constructs a unique identifier from the base id. |
Uses of IFormComponent in org.apache.tapestry.form |
Classes in org.apache.tapestry.form that implement IFormComponent | |
class |
AbstractFormComponent
A base class for building components that correspond to HTML form elements. |
(package private) class |
org.apache.tapestry.form.AbstractSubmit
Superclass for components submitting their form. |
class |
AbstractTextField
Base class for implementing various types of text input fields. |
class |
Button
Implements a component that manages an HTML <input type=button> form element. |
class |
Checkbox
Implements a component that manages an HTML <input type=checkbox> form element. |
class |
DatePicker
Provides a Form java.util.Date field component for selecting dates. |
class |
Hidden
Implements a hidden field within a Form . |
class |
ImageSubmit
Used to create an image button inside a Form . |
class |
LinkSubmit
Implements a component that submits its enclosing form via a JavaScript link. |
class |
ListEdit
A specialized component used to edit a list of items within a form; it is similar to a Foreach but leverages hidden inputs within the
<form> to store the items in the list. |
class |
PropertySelection
A component used to render a drop-down list of options that the user may select. |
class |
RadioGroup
A special type of form component that is used to contain Radio components. |
class |
Select
Implements a component that manages an HTML <select> form element. |
class |
Submit
Implements a component that manages an HTML <input type=submit> form element. |
class |
TextArea
Implements a component that manages an HTML <textarea> form element. |
class |
TextField
Implements a component that manages an HTML <input type=text> or <input type=password> form element. |
class |
Upload
Form element used to upload files. |
Methods in org.apache.tapestry.form with parameters of type IFormComponent | |
java.lang.String |
FormSupportImpl.getElementId(IFormComponent component)
Constructs a unique identifier (within the Form). |
java.lang.String |
FormSupportImpl.getElementId(IFormComponent component,
java.lang.String baseId)
Constructs a unique identifier (within the Form). |
java.lang.String |
Form.getElementId(IFormComponent component)
Constructs a unique identifier (within the Form). |
java.lang.String |
Form.getElementId(IFormComponent component,
java.lang.String baseId)
Constructs a unique identifier from the base id. |
Uses of IFormComponent in org.apache.tapestry.valid |
Classes in org.apache.tapestry.valid that implement IFormComponent | |
class |
ValidField
A Form component that creates a text field that allows for validation of user input and
conversion between string and object values. |
Methods in org.apache.tapestry.valid that return IFormComponent | |
IFormComponent |
IFieldTracking.getComponent()
Returns the field component. |
IFormComponent |
FieldTracking.getComponent()
|
abstract IFormComponent |
FieldLabel.getField()
field parameter |
Methods in org.apache.tapestry.valid with parameters of type IFormComponent | |
void |
ValidationDelegate.writeLabelPrefix(IFormComponent component,
IMarkupWriter writer,
IRequestCycle cycle)
If the form component is in error, places a <font color="red"< around it. |
void |
ValidationDelegate.writeLabelSuffix(IFormComponent component,
IMarkupWriter writer,
IRequestCycle cycle)
Closes the <font> element,started by ValidationDelegate.writeLabelPrefix(IFormComponent,IMarkupWriter,IRequestCycle) , if the form component
is in error. |
void |
ValidationDelegate.setFormComponent(IFormComponent component)
|
void |
ValidationDelegate.writePrefix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Does nothing. |
void |
ValidationDelegate.writeAttributes(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Does nothing. |
void |
ValidationDelegate.writeSuffix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Default implementation; if the current field is in error, then a suffix is written. |
protected boolean |
ValidationDelegate.isInError(IFormComponent component)
Checks to see if the field is in error. |
java.lang.String |
UrlValidator.toString(IFormComponent field,
java.lang.Object value)
|
java.lang.Object |
UrlValidator.toObject(IFormComponent field,
java.lang.String input)
|
void |
UrlValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
|
protected java.lang.String |
UrlValidator.buildMinimumLengthMessage(IFormComponent field)
|
protected java.lang.String |
UrlValidator.buildInvalidUrlFormatMessage(IFormComponent field)
|
protected java.lang.String |
UrlValidator.buildDisallowedProtocolMessage(IFormComponent field)
|
java.lang.String |
StringValidator.toString(IFormComponent field,
java.lang.Object value)
|
java.lang.Object |
StringValidator.toObject(IFormComponent field,
java.lang.String input)
|
void |
StringValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
|
protected java.lang.String |
StringValidator.buildMinimumLengthMessage(IFormComponent field)
|
java.lang.String |
PatternValidator.toString(IFormComponent field,
java.lang.Object value)
|
java.lang.Object |
PatternValidator.toObject(IFormComponent field,
java.lang.String input)
|
void |
PatternValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
|
java.lang.String |
NumberValidator.toString(IFormComponent field,
java.lang.Object value)
|
java.lang.Object |
NumberValidator.toObject(IFormComponent field,
java.lang.String value)
|
void |
NumberValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
|
java.lang.String |
IValidator.toString(IFormComponent field,
java.lang.Object value)
Invoked during rendering to convert an object value (which may be null) to a String. |
java.lang.Object |
IValidator.toObject(IFormComponent field,
java.lang.String input)
Converts input, submitted by the client, into an object value. |
void |
IValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
Invoked by the field after it finishes rendering its tag (but before the tag is closed) to allow the validator to provide a contribution to the rendering process. |
void |
IValidationDelegate.setFormComponent(IFormComponent component)
Invoked before other methods to configure the delegate for the given form component. |
void |
IValidationDelegate.writePrefix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Invoked before the field is rendered. |
void |
IValidationDelegate.writeAttributes(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Invoked just before the <input> element is closed. |
void |
IValidationDelegate.writeSuffix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Invoked after the form component is rendered, so that the delegate may decorate the form component (if it is in error). |
void |
IValidationDelegate.writeLabelPrefix(IFormComponent component,
IMarkupWriter writer,
IRequestCycle cycle)
Invoked by a FieldLabel just before writing the name of the form component. |
void |
IValidationDelegate.writeLabelSuffix(IFormComponent component,
IMarkupWriter writer,
IRequestCycle cycle)
Invoked by a FieldLabel just after writing the name of the form component. |
java.lang.String |
IntValidator.toString(IFormComponent field,
java.lang.Object value)
|
java.lang.Object |
IntValidator.toObject(IFormComponent field,
java.lang.String value)
|
void |
IntValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
|
java.lang.String |
EmailValidator.toString(IFormComponent field,
java.lang.Object value)
|
java.lang.Object |
EmailValidator.toObject(IFormComponent field,
java.lang.String input)
|
void |
EmailValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
|
protected java.lang.String |
EmailValidator.buildMinimumLengthMessage(IFormComponent field)
|
protected java.lang.String |
EmailValidator.buildInvalidEmailFormatMessage(IFormComponent field)
|
java.lang.String |
DateValidator.toString(IFormComponent file,
java.lang.Object value)
|
java.lang.Object |
DateValidator.toObject(IFormComponent field,
java.lang.String value)
|
void |
DateValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
|
protected java.lang.String |
DateValidator.buildInvalidDateFormatMessage(IFormComponent field)
|
protected java.lang.String |
DateValidator.buildDateTooEarlyMessage(IFormComponent field,
java.lang.String earliestDate)
|
protected java.lang.String |
DateValidator.buildDateTooLateMessage(IFormComponent field,
java.lang.String latestDate)
|
protected boolean |
BaseValidator.checkRequired(IFormComponent field,
java.lang.String value)
Invoked to check if the value is null. |
protected java.lang.String |
BaseValidator.buildRequiredMessage(IFormComponent field)
Builds an error message indicating a value for a required field was not supplied. |
void |
BaseValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
This implementation does nothing. |
protected void |
BaseValidator.processValidatorScript(java.lang.String scriptPath,
IRequestCycle cycle,
IFormComponent field,
java.util.Map symbols)
Invoked (from sub-class implementations of BaseValidator.renderValidatorContribution(IFormComponent, IMarkupWriter, IRequestCycle) to process
a standard validation script. |
protected java.lang.String |
AbstractNumericValidator.buildInvalidNumericFormatMessage(IFormComponent field)
|
protected java.lang.String |
AbstractNumericValidator.buildNumberTooSmallMessage(IFormComponent field,
java.lang.Number minimum)
|
protected java.lang.String |
AbstractNumericValidator.buildInvalidIntegerFormatMessage(IFormComponent field)
|
protected java.lang.String |
AbstractNumericValidator.buildNumberTooLargeMessage(IFormComponent field,
java.lang.Number maximum)
|
protected java.lang.String |
AbstractNumericValidator.buildNumberRangeMessage(IFormComponent field,
java.lang.Number mininum,
java.lang.Number maximum)
|
protected java.lang.String |
AbstractNumericValidator.buildRangeMessage(IFormComponent field,
java.lang.Number minimum,
java.lang.Number maximum)
|
Uses of IFormComponent in org.apache.tapestry.wml |
Classes in org.apache.tapestry.wml that implement IFormComponent | |
class |
AbstractPostfield
A base class for building components that correspond to WML postfield elements. |
class |
Postfield
The postfield element specifies a field name and value for transmission to an origin server during a URL request. |
class |
SelectionField
SelectionField specifies a postfield element and it is used to complement the PropertySelection component. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |