Project Documentation
Foundation

Description

The captcha component allows generating random images that can be placed with webforms to determine whether the user is human.

Screen Shot

captcha
captcha

API

author Hazem Saleh
component-family org.apache.myfaces.CAPTCHA
renderer-type org.apache.myfaces.CAPTCHA
component-class org.apache.myfaces.custom.captcha.CAPTCHAComponent
renderer-class org.apache.myfaces.custom.captcha.CAPTCHARenderer
tag-class org.apache.myfaces.custom.captcha.CAPTCHATag

Usage

			<t:captcha captchaSessionKeyName="#{captchaBean.sessionKeyName}" />
		

Syntax

<s:captcha>

captchaSessionKeyName="It determines the CAPTCHA session key name."
imageWidth="An integer to indicate the CAPTCHA width. default is 290."
imageHeight="An integer to indicate the CAPTCHA height. default is 81."

Additional Information

see captcha.jsp in the Tomahawk examples.