Project Documentation


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



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


see captcha.jsp in the Tomahawk examples.


Name Type Supports EL? Description
binding org.apache.myfaces.custom.captcha.CAPTCHAComponent 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 Get a string which uniquely identifies this UIComponent within the scope of the nearest ancestor NamingContainer component. The id is not necessarily unique across all components in the current view.
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.