Project Documentation

Summary

Tag name: <t:captcha>
UIComponent class: org.apache.myfaces.custom.captcha.CAPTCHAComponent
Tag class: org.apache.myfaces.custom.captcha.CAPTCHATag
Component type: org.apache.myfaces.CAPTCHA
Component family: org.apache.myfaces.CAPTCHA
Renderer type: org.apache.myfaces.CAPTCHA
Renderer class: org.apache.myfaces.custom.captcha.CAPTCHARenderer

Screen Shot

captcha
captcha

Usage

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

Instructions

see captcha.jsp in the Tomahawk examples.

Attributes

Name Type Supports EL? Description
binding String Only EL Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.
captchaSessionKeyName String Yes Determines the CAPTCHA session key name.
id String Yes An identifier for this particular component instance within a component view.

The id must be unique within the scope of the tag's enclosing NamingContainer (eg h:form or f:subview). The id is not necessarily unique across all components in the current view

This value must be a static value, ie not change over the lifetime of a component. It cannot be defined via an EL expression; only a string is permitted.

imageHeight String Yes Integer to indicate the CAPTCHA height. default is 81.
imageWidth String Yes Integer to indicate the CAPTCHA width. default is 290.
rendered boolean Yes A boolean value that indicates whether this component should be rendered. Default value: true.