Uses of Interface
org.apache.tapestry.form.IFormComponent

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.
(package private)  class org.apache.tapestry.form.AbstractSubmit
          Superclass for components submitting their form.
 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 Radiocomponents.
 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
 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.
 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.
 void Form.registerForFocus(IFormComponent field, int priority)
           
 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).
 void FormSupportImpl.registerForFocus(IFormComponent field, int priority)
           
 

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
 java.lang.String AbstractTranslator.format(IFormComponent field, java.util.Locale locale, java.lang.Object object)
           
 java.lang.Object AbstractTranslator.parse(IFormComponent field, ValidationMessages messages, java.lang.String text)
           
protected abstract  java.lang.String AbstractTranslator.formatObject(IFormComponent field, java.util.Locale locale, java.lang.Object object)
           
protected abstract  java.lang.Object AbstractTranslator.parseText(IFormComponent field, ValidationMessages messages, java.lang.String text)
           
protected  java.lang.String AbstractTranslator.buildMessage(ValidationMessages messages, IFormComponent field, java.lang.String key)
           
 void AbstractTranslator.renderContribution(IMarkupWriter writer, IRequestCycle cycle, FormComponentContributorContext context, IFormComponent field)
           
protected  java.lang.String NumberTranslator.formatObject(IFormComponent field, java.util.Locale locale, java.lang.Object object)
           
 void NumberTranslator.renderContribution(IMarkupWriter writer, IRequestCycle cycle, FormComponentContributorContext context, IFormComponent field)
           
protected  java.lang.Object StringTranslator.parseText(IFormComponent field, ValidationMessages messages, java.lang.String text)
           
protected  java.lang.String StringTranslator.formatObject(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.
 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  java.lang.String FormatTranslator.formatObject(IFormComponent field, java.util.Locale locale, java.lang.Object object)
           
protected  java.lang.Object FormatTranslator.parseText(IFormComponent field, ValidationMessages messages, java.lang.String text)
           
 

Uses of IFormComponent in org.apache.tapestry.form.validator
 

Methods in org.apache.tapestry.form.validator with parameters of type IFormComponent
 void BaseValidator.renderContribution(IMarkupWriter writer, IRequestCycle cycle, FormComponentContributorContext context, IFormComponent field)
          Does nothing.
 void Required.validate(IFormComponent field, ValidationMessages messages, java.lang.Object object)
           
 void Required.renderContribution(IMarkupWriter writer, IRequestCycle cycle, FormComponentContributorContext context, IFormComponent field)
           
 void Validator.validate(IFormComponent field, ValidationMessages messages, java.lang.Object object)
          Invoked to validate input for the field.
 void AbstractValidatorWrapper.validate(IFormComponent field, ValidationMessages messages, java.lang.Object object)
           
 void AbstractValidatorWrapper.renderContribution(IMarkupWriter writer, IRequestCycle cycle, FormComponentContributorContext context, IFormComponent field)
           
 void Max.validate(IFormComponent field, ValidationMessages messages, java.lang.Object object)
          Does comparison based on the Number.doubleValue().
 void Max.renderContribution(IMarkupWriter writer, IRequestCycle cycle, FormComponentContributorContext context, IFormComponent field)
           
 void MaxDate.validate(IFormComponent field, ValidationMessages messages, java.lang.Object object)
           
 void MinDate.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 Min.renderContribution(IMarkupWriter writer, IRequestCycle cycle, FormComponentContributorContext context, IFormComponent field)
           
 void Email.validate(IFormComponent field, ValidationMessages messages, java.lang.Object object)
           
 void Email.renderContribution(IMarkupWriter writer, IRequestCycle cycle, FormComponentContributorContext context, IFormComponent field)
           
 void Pattern.validate(IFormComponent field, ValidationMessages messages, java.lang.Object object)
           
 void Pattern.renderContribution(IMarkupWriter writer, IRequestCycle cycle, FormComponentContributorContext context, IFormComponent field)
           
 void MinLength.validate(IFormComponent field, ValidationMessages messages, java.lang.Object object)
           
protected  java.lang.String MinLength.buildMessage(ValidationMessages messages, IFormComponent field)
           
 void MinLength.renderContribution(IMarkupWriter writer, IRequestCycle cycle, FormComponentContributorContext context, IFormComponent field)
           
 void MaxLength.validate(IFormComponent field, ValidationMessages messages, java.lang.Object object)
           
protected  java.lang.String MaxLength.buildMessage(ValidationMessages messages, IFormComponent field)
           
 void MaxLength.renderContribution(IMarkupWriter writer, IRequestCycle cycle, FormComponentContributorContext context, IFormComponent field)
           
 

Uses of IFormComponent in org.apache.tapestry.valid
 

Classes in org.apache.tapestry.valid that implement IFormComponent
 class ValidField
          A Formcomponent 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.
abstract  IFormComponent FieldLabel.getField()
          field parameter
 IFormComponent FieldTracking.getComponent()
           
 

Methods in org.apache.tapestry.valid with parameters of type IFormComponent
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.
 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.
 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)
           
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)
           
 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 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 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)
           
 void IValidationDelegate.setFormComponent(IFormComponent component)
          Invoked before other methods to configure the delegate for the given form component.
 void IValidationDelegate.record(IFormComponent field, java.lang.String message)
          Convienience for recording a standard string messages against a field.
 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.writeLabelAttributes(IMarkupWriter writer, IRequestCycle cycle, IFormComponent component)
          Invoked just before the <label> element is closed.
 void IValidationDelegate.writeLabelSuffix(IFormComponent component, IMarkupWriter writer, IRequestCycle cycle)
          Invoked by a FieldLabel just after writing the name of the form component.
 void IValidationDelegate.registerForFocus(IFormComponent field, int priority)
          Registers a field for automatic focus.
 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)
           
 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.writeLabelAttributes(IMarkupWriter writer, IRequestCycle cycle, IFormComponent component)
          Does nothing by default.
 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.record(IFormComponent field, java.lang.String message)
           
 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.
 void ValidationDelegate.registerForFocus(IFormComponent field, int priority)
           
 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 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)
           
 

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 PropertySelectioncomponent.