org.equanda.tapestry5.components
Class TextField

java.lang.Object
  extended by org.apache.tapestry5.corelib.base.AbstractField
      extended by org.apache.tapestry5.corelib.base.AbstractTextField
          extended by org.equanda.tapestry5.components.TextField
All Implemented Interfaces:
org.apache.tapestry5.ClientElement, org.apache.tapestry5.Field

@IncludeJavaScriptLibrary(value={"${tapestry.scriptaculous}/prototype.js","classpath:/org/equanda/tapestry5/resources/t5equanda.js"})
public class TextField
extends org.apache.tapestry5.corelib.base.AbstractTextField

A variation on the tapestry builtin TextField component. The main difference being that this one can also contain zone and context parameters. The zone is updated when a value is defined in the text field. Note that due to limitations in tapestry, the zone contents should not contain form elements.

Author:
Joachim Van der Auwera

Constructor Summary
TextField()
           
 
Method Summary
protected  org.apache.tapestry5.Link createLink(Object[] contextArray)
           
protected  void writeFieldTag(org.apache.tapestry5.MarkupWriter writer, String value)
           
 
Methods inherited from class org.apache.tapestry5.corelib.base.AbstractTextField
getWidth, ignoreBlankInput, isRequired, processSubmission
 
Methods inherited from class org.apache.tapestry5.corelib.base.AbstractField
createDefaultParameterBinding, decorateInsideField, getClientId, getControlName, getLabel, isDisabled, setDecorator, setFormSupport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextField

public TextField()
Method Detail

createLink

protected org.apache.tapestry5.Link createLink(Object[] contextArray)

writeFieldTag

protected void writeFieldTag(org.apache.tapestry5.MarkupWriter writer,
                             String value)
Specified by:
writeFieldTag in class org.apache.tapestry5.corelib.base.AbstractTextField


Copyright © 2007-2009. All Rights Reserved.