net.wotonomy.web
Class WOText

java.lang.Object
  extended by net.wotonomy.web.WOElement
      extended by net.wotonomy.web.WODynamicElement
          extended by net.wotonomy.web.WOInput
              extended by net.wotonomy.web.WOText
All Implemented Interfaces:
java.io.Serializable, WOActionResults

public class WOText
extends WOInput

Implements a TEXTAREA element, with dynamic bindings.

Version:
$Revision: 905 $
Author:
michael@mpowers.net, $Author: cgruber $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.wotonomy.web.WODynamicElement
associations, name, rootElement
 
Constructor Summary
WOText()
           
WOText(java.lang.String n, net.wotonomy.foundation.NSDictionary m, WOElement t)
           
 
Method Summary
 void appendToResponse(WOResponse r, WOContext c)
          This method is called on all elements of the content tree to build a response to a user request.
protected  java.lang.String inputType()
           
 void takeValuesFromRequest(WORequest r, WOContext c)
          This method is called to retrieve user-entered data from the request.
protected  java.lang.Object value(WOContext c)
           
 
Methods inherited from class net.wotonomy.web.WOInput
additionalAttributes, appendExtras, disabled, formattedValue, inputName
 
Methods inherited from class net.wotonomy.web.WODynamicElement
generateResponse, invokeAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WOText

public WOText()

WOText

public WOText(java.lang.String n,
              net.wotonomy.foundation.NSDictionary m,
              WOElement t)
Method Detail

inputType

protected java.lang.String inputType()
Specified by:
inputType in class WOInput

value

protected java.lang.Object value(WOContext c)
Specified by:
value in class WOInput

takeValuesFromRequest

public void takeValuesFromRequest(WORequest r,
                                  WOContext c)
Description copied from class: WODynamicElement
This method is called to retrieve user-entered data from the request. WOElements should retrieve data from the request based on their elementID and set values in the context's current WOComponent, typically those values that are associated with the element in the binding. This implementation does nothing.

Overrides:
takeValuesFromRequest in class WOInput

appendToResponse

public void appendToResponse(WOResponse r,
                             WOContext c)
Description copied from class: WODynamicElement
This method is called on all elements of the content tree to build a response to a user request. The message should be forwarded to any child elements so that the entire tree is traversed. This implementation does nothing.

Overrides:
appendToResponse in class WOInput


Copyright © 2006 null. All Rights Reserved.