info.informatica.ui.html.tag
Class FormField

java.lang.Object
  extended by info.informatica.doc.DocumentFragment
      extended by info.informatica.html.tag.HTMLTag
          extended by info.informatica.ui.html.tag.FormData
              extended by info.informatica.ui.html.tag.FormField
All Implemented Interfaces:
info.informatica.doc.DocumentElement, info.informatica.html.tag.AttributeListener, info.informatica.html.tag.BodyTag, DataControl, DataValue, Comparable<info.informatica.doc.DocumentFragment>
Direct Known Subclasses:
FormCheckboxField, FormDateField, FormHiddenField, FormKeygenField, FormPasswordField, FormRadioField, FormSelectField, FormSubmit, FormTextAreaField, FormTextAreaInputField, FormTextField

public class FormField
extends FormData
implements info.informatica.html.tag.BodyTag

Base class for all form fields.

Version:
1.08
Author:
amengual at informatica dot info

Nested Class Summary
 
Nested classes/interfaces inherited from class info.informatica.doc.DocumentFragment
info.informatica.doc.DocumentFragment.FragmentComp, info.informatica.doc.DocumentFragment.NotFragmentComp
 
Method Summary
 String getName()
          Gets the name of the tag.
 void setValue(javax.servlet.http.HttpServletRequest req)
          Set value(s) from HttpServletRequest.
 String startTag()
          Returns the tag without the "close" tag.
 
Methods inherited from class info.informatica.ui.html.tag.FormData
createField, createField, getAttributes, getControlName, getFieldname, getFieldSize, getFormat, getStringValues, getValue, guessDataField, init, mapDataToUI, mapInputField, setFieldname, setFormat, setValue, setValue, setValue, toString, toString
 
Methods inherited from class info.informatica.html.tag.HTMLTag
align, endTag, getAlignment, getBlockPosition, getId, getParent, getStyle, getStyleClass, getTagData, isSelfClosing, length, onAttributeRemoved, onAttributes, onAttributeStringSet, onDummyAttributes, setAttributes, setId, setParent, setSelfClosing, setSelfClosing, setTagData, setTagData, toString, toString, toXml, vAlign
 
Methods inherited from class info.informatica.doc.DocumentFragment
adjustWidth, compareTo, getCurrentPosition, getPosition, setPosition
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface info.informatica.html.tag.BodyTag
getStyle, getStyleClass
 

Method Detail

setValue

public void setValue(javax.servlet.http.HttpServletRequest req)
              throws DataFieldException
Set value(s) from HttpServletRequest.

Parameters:
req - the request containing the form values
Throws:
DataFieldException - if an error occurs setting the values.

getName

public String getName()
Gets the name of the tag.

Specified by:
getName in class info.informatica.html.tag.HTMLTag
Returns:
tag name

startTag

public String startTag()
Returns the tag without the "close" tag.

Overrides:
startTag in class info.informatica.html.tag.HTMLTag