er.captcha
Class ERCaptcha
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
er.captcha.ERCaptcha
- All Implemented Interfaces:
- WOActionResults, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, Cloneable
public class ERCaptcha
- extends WOComponent
ERCaptcha presents a captcha image to the use along with a text field for the user to identify the image.
- See Also:
- Serialized Form
- Author:
- mschrag
| Bindings |
validated | returns whether or not the user properly validated the image |
resetText | if set, a submit button will be added with this text that resets the image |
| Properties |
er.captcha.captchaEngineClass | the class name of the CaptchaEngine to use |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor |
| Methods inherited from class com.webobjects.appserver.WOComponent |
__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName |
ERCaptcha
public ERCaptcha(WOContext context)
captchaService
public static com.octo.captcha.service.image.ImageCaptchaService captchaService()
synchronizesVariablesWithBindings
public boolean synchronizesVariablesWithBindings()
- Overrides:
synchronizesVariablesWithBindings in class WOComponent
setCaptcha
public void setCaptcha(NSData captcha)
captcha
public NSData captcha()
mimeType
public String mimeType()
setResponse
public void setResponse(String response)
response
public String response()
takeValuesFromRequest
public void takeValuesFromRequest(WORequest request,
WOContext context)
- Overrides:
takeValuesFromRequest in class WOComponent
appendToResponse
public void appendToResponse(WOResponse response,
WOContext context)
- Overrides:
appendToResponse in class WOComponent
resetCaptcha
public WOActionResults resetCaptcha()
Copyright © 2002 – 2011 Project Wonder.