Captcha"

From Documentation
m
Line 31: Line 31:
 
|-
 
|-
 
| <center><tt>onClick</tt></center>
 
| <center><tt>onClick</tt></center>
| [#MouseEvent org.zkoss.zk.ui.event.MouseEvent]
+
| <javadoc>org.zkoss.zk.ui.event.MouseEvent</javadoc>
  
 
<tt>'''Description:''' Denotes user has clicked the component.</tt>
 
<tt>'''Description:''' Denotes user has clicked the component.</tt>
Line 58: Line 58:
 
! Version !! Date !! Content
 
! Version !! Date !! Content
 
|-
 
|-
| 5.0.2
+
| &nbsp;
| 5/19/2010
+
| &nbsp;
| Initialization
+
| &nbsp;
 
|}
 
|}
  
 
{{ZKComponentReferencePageFooter}}
 
{{ZKComponentReferencePageFooter}}

Revision as of 12:00, 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

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
     



Last Update : 2010/05/19

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