org.japano.action.parameter
Class Select

java.lang.Object
  extended by org.japano.action.Parameter
      extended by org.japano.action.parameter.Select
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Select
extends Parameter

HTML form select field.

Version:
$Id: Select.java,v 1.14 2005/11/27 06:56:24 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
Select()
           
 
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
 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

Select

public Select()
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

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

validate

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

toString

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