org.japano.action.parameter
Class TextArea

java.lang.Object
  extended by org.japano.action.Parameter
      extended by org.japano.action.parameter.TextArea
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
HTMLEdit

public class TextArea
extends Parameter

HTML form textarea

Version:
$Id: TextArea.java,v 1.11 2005/11/26 22:33:38 fforw Exp $ SourceForge.net Logo
Author:
Sven Helmberger ( sven dot helmberger at gmx dot de )
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.japano.action.Parameter
defaultValue, errorMessage, parent, validator
 
Constructor Summary
TextArea()
           
 
Method Summary
 void configure(MetadataTag tag)
          Configures this paramater instance with information by the given MetadataTag.
 java.util.List createTags(ActionTag parent)
          Generates a Tag for this type of parameter.
 void getCode(org.japano.jasper.compiler.ServletWriter servletWriter, org.japano.jasper.compiler.CompilationContext context, java.lang.String styleId, java.lang.String styleClass, java.lang.String style)
          Returns the input field code for this type of parameter
protected  java.lang.String getColsDescription()
           
protected  java.lang.String getRowsDescription()
           
 java.lang.String toString()
           
protected  java.lang.String validate(Session session, java.lang.String value)
           
 
Methods inherited from class org.japano.action.Parameter
addListVariable, addStyleAttributes, appendAttribute, appendStyleAttributes, clone, configureValidation, getAccessorName, getDefaultValue, getDescription, getErrorMessage, getFieldId, getMutator, getMutatorName, getName, getProperty, getQualifiedName, getRequiredMessage, getTagName, getType, getValueMethod, isRequired, makeFieldId, set, set, setDefaultValue, setDescription, setName, setParent, setProperty, setValidator, valueExpression
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextArea

public TextArea()
Method Detail

createTags

public java.util.List createTags(ActionTag parent)
Description copied from class: Parameter
Generates a Tag for this type of parameter.

Specified by:
createTags in class Parameter
Parameters:
parent - action tag this parameter is child of
Returns:
Tag or null

getColsDescription

protected java.lang.String getColsDescription()

getRowsDescription

protected java.lang.String getRowsDescription()

configure

public void configure(MetadataTag tag)
Description copied from class: Parameter
Configures this paramater instance with information by the given MetadataTag.

Specified by:
configure in class Parameter

getCode

public void getCode(org.japano.jasper.compiler.ServletWriter servletWriter,
                    org.japano.jasper.compiler.CompilationContext context,
                    java.lang.String styleId,
                    java.lang.String styleClass,
                    java.lang.String style)
Description copied from class: Parameter
Returns the input field code for this type of parameter

Specified by:
getCode in class Parameter
Parameters:
servletWriter - ServletWriter
context - PageNodeCreator context
styleId - HTML id attribute
styleClass - HTML class attribute
style - HTML style attribute

toString

public java.lang.String toString()
Overrides:
toString in class Parameter

validate

protected java.lang.String validate(Session session,
                                    java.lang.String value)
                             throws InvalidParameterException
Overrides:
validate in class Parameter
Throws:
InvalidParameterException