Captcha"

From Documentation
m
Line 3: Line 3:
 
= Captcha =
 
= Captcha =
  
*Demonstration: [http://www.zkoss.org/zkdemo/userguide/#f2 Capcha]
+
*Demonstration: [http://www.zkoss.org/zkdemo/input/form_sample 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>
 +
*Style Guide: N/A
  
 
= Employment/Purpose =
 
= Employment/Purpose =
Line 24: Line 25:
  
  
=Supported events=
+
=Supported Events=
  
 
{| border="1" | width="100%"
 
{| border="1" | width="100%"
Line 30: Line 31:
 
! <center>Event Type</center>
 
! <center>Event Type</center>
 
|-
 
|-
| <center><tt>onClick</tt></center>
+
| None
| <javadoc>org.zkoss.zk.ui.event.MouseEvent</javadoc>
+
| None
 
 
<tt>'''Description:''' Denotes user has clicked the component.</tt>
 
 
 
<tt>Use getX(), getY() method get coordinates.</tt>
 
 
 
 
|}
 
|}
 +
*Inherited Supported Events: [[ZK_Component_Reference/Essential_Components/Image#Supported_Events | Image]]
  
 
=Supported Children=
 
=Supported Children=
Line 43: Line 40:
 
  *NONE
 
  *NONE
  
=Use cases=
+
=Use Cases=
  
 
{| border='1px' | width="100%"
 
{| border='1px' | width="100%"
Line 54: Line 51:
  
 
=Version History=
 
=Version History=
 
+
{{LastUpdated}}
 
{| border='1px' | width="100%"
 
{| border='1px' | width="100%"
 
! Version !! Date !! Content
 
! Version !! Date !! Content

Revision as of 08:55, 18 November 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
None None
  • Inherited Supported Events: Image

Supported Children

*NONE

Use Cases

Version Description Example Location
     

Version History

Last Update : 2010/11/18


Version Date Content
     



Last Update : 2010/11/18

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