Captcha"

From Documentation
m
Line 3: Line 3:
 
= Captcha =
 
= Captcha =
  
*Demonstration: [http://www.zkoss.org/zkdemo/userguide/#f2 Capcha Demo]
+
*Demonstration: [http://www.zkoss.org/zkdemo/userguide/#f2 Capcha]
 
*Java API: <javadoc>org.zkoss.zul.Captcha</javadoc>
 
*Java API: <javadoc>org.zkoss.zul.Captcha</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.wgt.Captcha</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.wgt.Captcha</javadoc>

Revision as of 11:59, 19 May 2010

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.