Captcha

From Documentation
Revision as of 11:35, 19 May 2010 by Iantsai (talk | contribs)

Captcha

Employment/Purpose

A captcha component can generate a special distortion image, also called a CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) image. Developers could set height and width for dimension of captcha. By default, captcha render the image with a randomly generated text, and developers can set value to assign a purposive text.


Example

Captcha.png

 <vbox>
     <captcha id="cpa" length="5" width="200px" height="50px"/>
 </vbox>


Supported events

Name
Event Type
onClick
[#MouseEvent org.zkoss.zk.ui.event.MouseEvent]

Description: Denotes user has clicked the component.

Use getX(), getY() method get coordinates.

Supported Children

*NONE

Use cases

Version Description Example Location
     

Version History

Version Date Content
5.0.2 5/19/2010 Initialization



Last Update : 2010/05/19

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.