|
||||||||||
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.components | Basic, fundamental components used to construct more complex components, or pages. |
org.apache.tapestry.form | Components for implementing basic HTML Forms. |
org.apache.tapestry.form.translator | |
org.apache.tapestry.form.validator | |
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. |
void |
FormBehavior.registerForFocus(IFormComponent field,
int priority)
Registers a field for automatic focus. |
Uses of IFormComponent in org.apache.tapestry.components |
---|
Classes in org.apache.tapestry.components that implement IFormComponent | |
---|---|
class |
ForBean
|
class |
IfBean
|
Uses of IFormComponent in org.apache.tapestry.form |
---|
Subinterfaces of IFormComponent in org.apache.tapestry.form | |
---|---|
interface |
TranslatedField
|
interface |
ValidatableField
Implemented by form components that can need to be translated and validated. |
Classes in org.apache.tapestry.form that implement IFormComponent | |
---|---|
class |
AbstractFormComponent
A base class for building components that correspond to HTML form elements. |
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
Deprecated. As of release 4.0, replaced by ForBean |
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 |
Form.getElementId(IFormComponent component)
Constructs a unique identifier (within the Form). |
java.lang.String |
FormSupportImpl.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. |
java.lang.String |
FormSupportImpl.getElementId(IFormComponent component,
java.lang.String baseId)
Constructs a unique identifier (within the Form). |
void |
Form.registerForFocus(IFormComponent field,
int priority)
|
void |
FormSupportImpl.registerForFocus(IFormComponent field,
int priority)
|
void |
AbstractFormComponentContributor.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field)
|
void |
FormComponentContributor.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field)
Invoked by a form component after it finishes rendering its tag (but before the tag is closed) to allow this object to contribute to the component's rendering process. |
Constructors in org.apache.tapestry.form with parameters of type IFormComponent | |
---|---|
FormComponentContributorContextImpl(java.util.Locale locale,
IRequestCycle cycle,
IFormComponent field)
|
|
ValidationMessagesImpl(IFormComponent field,
java.util.Locale locale)
|
Uses of IFormComponent in org.apache.tapestry.form.translator |
---|
Methods in org.apache.tapestry.form.translator with parameters of type IFormComponent | |
---|---|
protected java.lang.String |
AbstractTranslator.buildMessage(ValidationMessages messages,
IFormComponent field,
java.lang.String key)
|
java.lang.String |
AbstractTranslator.format(IFormComponent field,
java.util.Locale locale,
java.lang.Object object)
|
java.lang.String |
Translator.format(IFormComponent field,
java.util.Locale locale,
java.lang.Object object)
Invoked during rendering to format an object (which may be null) into a text value (which should not be null) appropriate for the specified field. |
protected abstract java.lang.String |
AbstractTranslator.formatObject(IFormComponent field,
java.util.Locale locale,
java.lang.Object object)
|
protected java.lang.String |
FormatTranslator.formatObject(IFormComponent field,
java.util.Locale locale,
java.lang.Object object)
|
protected java.lang.String |
NumberTranslator.formatObject(IFormComponent field,
java.util.Locale locale,
java.lang.Object object)
|
protected java.lang.String |
StringTranslator.formatObject(IFormComponent field,
java.util.Locale locale,
java.lang.Object object)
|
java.lang.Object |
AbstractTranslator.parse(IFormComponent field,
ValidationMessages messages,
java.lang.String text)
|
java.lang.Object |
Translator.parse(IFormComponent field,
ValidationMessages messages,
java.lang.String value)
Invoked during rewind to parse a submitted input value into an object suitable for the specified component. |
protected abstract java.lang.Object |
AbstractTranslator.parseText(IFormComponent field,
ValidationMessages messages,
java.lang.String text)
|
protected java.lang.Object |
FormatTranslator.parseText(IFormComponent field,
ValidationMessages messages,
java.lang.String text)
|
protected java.lang.Object |
StringTranslator.parseText(IFormComponent field,
ValidationMessages messages,
java.lang.String text)
|
void |
AbstractTranslator.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field)
|
void |
NumberTranslator.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field)
|
Uses of IFormComponent in org.apache.tapestry.form.validator |
---|
Methods in org.apache.tapestry.form.validator with parameters of type IFormComponent | |
---|---|
protected java.lang.String |
MaxLength.buildMessage(ValidationMessages messages,
IFormComponent field)
|
protected java.lang.String |
MinLength.buildMessage(ValidationMessages messages,
IFormComponent field)
|
void |
AbstractValidatorWrapper.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field)
|
void |
BaseValidator.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field)
Does nothing. |
void |
Email.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field)
|
void |
Max.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field)
|
void |
MaxLength.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field)
|
void |
Min.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field)
|
void |
MinLength.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field)
|
void |
Pattern.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field)
|
void |
Required.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field)
|
void |
AbstractValidatorWrapper.validate(IFormComponent field,
ValidationMessages messages,
java.lang.Object object)
|
void |
Email.validate(IFormComponent field,
ValidationMessages messages,
java.lang.Object object)
|
void |
Max.validate(IFormComponent field,
ValidationMessages messages,
java.lang.Object object)
Does comparison based on the Number.doubleValue() . |
void |
MaxDate.validate(IFormComponent field,
ValidationMessages messages,
java.lang.Object object)
|
void |
MaxLength.validate(IFormComponent field,
ValidationMessages messages,
java.lang.Object object)
|
void |
Min.validate(IFormComponent field,
ValidationMessages messages,
java.lang.Object object)
Does comparison based on the Number.doubleValue() . |
void |
MinDate.validate(IFormComponent field,
ValidationMessages messages,
java.lang.Object object)
|
void |
MinLength.validate(IFormComponent field,
ValidationMessages messages,
java.lang.Object object)
|
void |
Pattern.validate(IFormComponent field,
ValidationMessages messages,
java.lang.Object object)
|
void |
Required.validate(IFormComponent field,
ValidationMessages messages,
java.lang.Object object)
|
void |
Validator.validate(IFormComponent field,
ValidationMessages messages,
java.lang.Object object)
Invoked to validate input for the field. |
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 |
FieldTracking.getComponent()
|
IFormComponent |
IFieldTracking.getComponent()
Returns the field component. |
abstract IFormComponent |
FieldLabel.getField()
field parameter |
Methods in org.apache.tapestry.valid with parameters of type IFormComponent | |
---|---|
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 java.lang.String |
UrlValidator.buildDisallowedProtocolMessage(IFormComponent field)
|
protected java.lang.String |
DateValidator.buildInvalidDateFormatMessage(IFormComponent field)
|
protected java.lang.String |
EmailValidator.buildInvalidEmailFormatMessage(IFormComponent field)
|
protected java.lang.String |
AbstractNumericValidator.buildInvalidIntegerFormatMessage(IFormComponent field)
|
protected java.lang.String |
AbstractNumericValidator.buildInvalidNumericFormatMessage(IFormComponent field)
|
protected java.lang.String |
UrlValidator.buildInvalidUrlFormatMessage(IFormComponent field)
|
protected java.lang.String |
EmailValidator.buildMinimumLengthMessage(IFormComponent field)
|
protected java.lang.String |
StringValidator.buildMinimumLengthMessage(IFormComponent field)
|
protected java.lang.String |
UrlValidator.buildMinimumLengthMessage(IFormComponent field)
|
protected java.lang.String |
AbstractNumericValidator.buildNumberRangeMessage(IFormComponent field,
java.lang.Number mininum,
java.lang.Number maximum)
|
protected java.lang.String |
AbstractNumericValidator.buildNumberTooLargeMessage(IFormComponent field,
java.lang.Number maximum)
|
protected java.lang.String |
AbstractNumericValidator.buildNumberTooSmallMessage(IFormComponent field,
java.lang.Number minimum)
|
protected java.lang.String |
AbstractNumericValidator.buildRangeMessage(IFormComponent field,
java.lang.Number minimum,
java.lang.Number maximum)
|
protected java.lang.String |
BaseValidator.buildRequiredMessage(IFormComponent field)
Builds an error message indicating a value for a required field was not supplied. |
protected boolean |
BaseValidator.checkRequired(IFormComponent field,
java.lang.String value)
Invoked to check if the value is null. |
protected boolean |
ValidationDelegate.isInError(IFormComponent component)
Checks to see if the field is in error. |
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. |
void |
IValidationDelegate.record(IFormComponent field,
java.lang.String message)
Convienience for recording a standard string messages against a field. |
void |
ValidationDelegate.record(IFormComponent field,
java.lang.String message)
|
void |
IValidationDelegate.registerForFocus(IFormComponent field,
int priority)
Registers a field for automatic focus. |
void |
ValidationDelegate.registerForFocus(IFormComponent field,
int priority)
|
void |
BaseValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
This implementation does nothing. |
void |
DateValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
|
void |
EmailValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
|
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 |
IntValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
|
void |
NumberValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
|
void |
PatternValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
|
void |
StringValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
|
void |
UrlValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
|
void |
IValidationDelegate.setFormComponent(IFormComponent component)
Invoked before other methods to configure the delegate for the given form component. |
void |
ValidationDelegate.setFormComponent(IFormComponent component)
|
java.lang.Object |
DateValidator.toObject(IFormComponent field,
java.lang.String value)
|
java.lang.Object |
EmailValidator.toObject(IFormComponent field,
java.lang.String input)
|
java.lang.Object |
IValidator.toObject(IFormComponent field,
java.lang.String input)
Converts input, submitted by the client, into an object value. |
java.lang.Object |
IntValidator.toObject(IFormComponent field,
java.lang.String value)
|
java.lang.Object |
NumberValidator.toObject(IFormComponent field,
java.lang.String value)
|
java.lang.Object |
PatternValidator.toObject(IFormComponent field,
java.lang.String input)
|
java.lang.Object |
StringValidator.toObject(IFormComponent field,
java.lang.String input)
|
java.lang.Object |
UrlValidator.toObject(IFormComponent field,
java.lang.String input)
|
java.lang.String |
DateValidator.toString(IFormComponent file,
java.lang.Object value)
|
java.lang.String |
EmailValidator.toString(IFormComponent field,
java.lang.Object value)
|
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.String |
IntValidator.toString(IFormComponent field,
java.lang.Object value)
|
java.lang.String |
NumberValidator.toString(IFormComponent field,
java.lang.Object value)
|
java.lang.String |
PatternValidator.toString(IFormComponent field,
java.lang.Object value)
|
java.lang.String |
StringValidator.toString(IFormComponent field,
java.lang.Object value)
|
java.lang.String |
UrlValidator.toString(IFormComponent field,
java.lang.Object value)
|
void |
IValidationDelegate.writeAttributes(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Invoked just before the <input> element is closed. |
void |
ValidationDelegate.writeAttributes(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Does nothing. |
void |
IValidationDelegate.writeLabelAttributes(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component)
Invoked just before the <label> element is closed. |
void |
ValidationDelegate.writeLabelAttributes(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component)
Does nothing by default. |
void |
IValidationDelegate.writeLabelPrefix(IFormComponent component,
IMarkupWriter writer,
IRequestCycle cycle)
Invoked by a FieldLabel just before writing the name of the form component. |
void |
ValidationDelegate.writeLabelPrefix(IFormComponent component,
IMarkupWriter writer,
IRequestCycle cycle)
If the form component is in error, places a <font color="red"< around it. |
void |
IValidationDelegate.writeLabelSuffix(IFormComponent component,
IMarkupWriter writer,
IRequestCycle cycle)
Invoked by a FieldLabel just after writing the name of the form component. |
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 |
IValidationDelegate.writePrefix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Invoked before the field is rendered. |
void |
ValidationDelegate.writePrefix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Does nothing. |
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 |
ValidationDelegate.writeSuffix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Default implementation; if the current field is in error, then a suffix is written. |
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 |