Project Wonder 5.0

er.imadaptor.components
Class IMConfirmationAction

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WODynamicElement
          extended by er.imadaptor.components.IMAction
              extended by er.imadaptor.components.IMConfirmationAction

public class IMConfirmationAction
extends IMAction

IMConfirmation has a single binding "confirmed". If the response from the IM buddy matches any of a set of common "yes", "no", etc words, confirmed is set to the appropriate value. If neither a yes nor a no word is found, confirmed is set to null. You should bind this to a Boolean rather than a boolean so that you can detect the third state properly and re-ask the question.

Author:
mschrag

Field Summary
 
Fields inherited from class er.imadaptor.components.IMAction
_action
 
Fields inherited from class com.webobjects.appserver.WODynamicElement
_ConstructorParameters
 
Constructor Summary
IMConfirmationAction(java.lang.String name, com.webobjects.foundation.NSDictionary associations, com.webobjects.appserver.WOElement children)
           
 
Method Summary
protected  void actionInvoked(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
           
 
Methods inherited from class er.imadaptor.components.IMAction
appendToResponse, invokeAction
 
Methods inherited from class com.webobjects.appserver.WODynamicElement
toString
 
Methods inherited from class com.webobjects.appserver.WOElement
takeValuesFromRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IMConfirmationAction

public IMConfirmationAction(java.lang.String name,
                            com.webobjects.foundation.NSDictionary associations,
                            com.webobjects.appserver.WOElement children)
Method Detail

actionInvoked

protected void actionInvoked(com.webobjects.appserver.WORequest request,
                             com.webobjects.appserver.WOContext context)
Overrides:
actionInvoked in class IMAction

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.