org.japano.action.parameter
Class Submit

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

public class Submit
extends Parameter

HTML form submit button

Version:
$Id: Submit.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
Submit()
           
 
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
 
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, toString, validate, valueExpression
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Submit

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

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

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