net.wotonomy.web
Class WOSubmitButton

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.WOSubmitButton
All Implemented Interfaces:
java.io.Serializable, WOActionResults

public class WOSubmitButton
extends WOInput

Implements a submit button 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
WOSubmitButton()
           
WOSubmitButton(java.lang.String n, net.wotonomy.foundation.NSDictionary m, WOElement t)
           
 
Method Summary
protected  net.wotonomy.foundation.NSMutableArray additionalAttributes()
           
protected  java.lang.String inputType()
           
 WOActionResults invokeAction(WORequest r, WOContext c)
          This method is called on all objects and elements of the application until a non-null value is returned.
protected  java.lang.Object value(WOContext c)
           
 
Methods inherited from class net.wotonomy.web.WOInput
appendExtras, appendToResponse, disabled, formattedValue, inputName, takeValuesFromRequest
 
Methods inherited from class net.wotonomy.web.WODynamicElement
generateResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WOSubmitButton

public WOSubmitButton()

WOSubmitButton

public WOSubmitButton(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

additionalAttributes

protected net.wotonomy.foundation.NSMutableArray additionalAttributes()
Overrides:
additionalAttributes in class WOInput

invokeAction

public WOActionResults invokeAction(WORequest r,
                                    WOContext c)
Description copied from class: WODynamicElement
This method is called on all objects and elements of the application until a non-null value is returned. WOElements should first check to see if they are the target of an action by checking the WOContext's senderID to see if it matches this element's elementID. If this element is the target, it should perform an appropriate action on the context's current WOComponent, usually the action specified in the binding, and return the result of that action. This implementation returns null.

Overrides:
invokeAction in class WODynamicElement


Copyright © 2006 null. All Rights Reserved.