org.apache.tapestry.form
Interface ValidatableField

All Superinterfaces:
IComponent, IFormComponent, IRender, org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder
All Known Subinterfaces:
TranslatedField, ValidatableFieldExtension
All Known Implementing Classes:
Autocompleter, Checkbox, DatePicker, DropdownDatePicker, DropdownTimePicker, GTimePicker, MultiplePropertySelection, Palette, PropertySelection, RadioGroup, Select, Suggest, TextArea, TextField, Upload

public interface ValidatableField
extends IFormComponent

Implemented by form components that can need to be translated and validated. During render the translator is used to translated the value to a string. During rewind, the submitted value is translated back into an object by the translator and then validated.

Since:
4.0
Author:
Paul Ferraro

Method Summary
 Object getValidators()
          Coerced into an Iterator of Validators.
 
Methods inherited from interface org.apache.tapestry.form.IFormComponent
getClientId, getDisplayName, getForm, getName, isDisabled, isRequired, setName
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getSpecification, getSpecifiedId, getTemplateTagName, isRendering, peekClientId, renderBody, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, setTemplateTagName
 
Methods inherited from interface org.apache.tapestry.IRender
render
 
Methods inherited from interface org.apache.hivemind.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Method Detail

getValidators

Object getValidators()
Coerced into an Iterator of Validators.



Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.