Captcha"

From Documentation
m (Created page with 'init')
 
m ((via JWB))
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
init
+
{{ZKComponentReferencePageHeader}}
 +
 
 +
= Captcha =
 +
 
 +
*Demonstration: [http://www.zkoss.org/zkdemo/input/form_sample Capcha]
 +
*Java API: <javadoc>org.zkoss.zul.Captcha</javadoc>
 +
*JavaScript API: <javadoc directory="jsdoc">zul.wgt.Captcha</javadoc>
 +
*Style Guide: N/A
 +
*[http://www.zkoss.org/product/edition.dsp Available in ZK PE and EE only]
 +
 
 +
= Employment/Purpose =
 +
 
 +
A <code>captcha</code> 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 <code>height </code>and <code>width </code>for dimension of captcha. By default, captcha render the image with a randomly generated text, and developers can set <code>value </code>to assign a purposive text.
 +
 
 +
 
 +
= Example =
 +
 
 +
 
 +
[[Image:captcha.png]]
 +
 
 +
<source lang="xml" >
 +
<vbox>
 +
    <captcha id="cpa" length="5" width="200px" height="50px"/>
 +
</vbox>
 +
</source>
 +
 
 +
 
 +
=Supported Events=
 +
 
 +
{| class='wikitable' | width="100%"
 +
! <center>Name</center>
 +
! <center>Event Type</center>
 +
|-
 +
| None
 +
| None
 +
|}
 +
*Inherited Supported Events: [[ZK_Component_Reference/Essential_Components/Image#Supported_Events | Image]]
 +
 
 +
=Supported Children=
 +
 
 +
*NONE
 +
 
 +
=Use Cases=
 +
 
 +
{| class='wikitable' | width="100%"
 +
! Version !! Description !! Example Location
 +
|-
 +
| &nbsp;
 +
| &nbsp;
 +
| &nbsp;
 +
|}
 +
 
 +
=Troubleshooting=
 +
== Linux ==
 +
Captcha depends on Java Swing that might not work under some  version of JVM. For the information to make it work under Linux, please  refer to [[ZK Installation Guide/Setting up OS/Linux|ZK Installation  Guide: Linux]].
 +
 
 +
=Version History=
 +
{{LastUpdated}}
 +
{| class='wikitable' | width="100%"
 +
! Version !! Date !! Content
 +
|-
 +
| &nbsp;
 +
| &nbsp;
 +
| &nbsp;
 +
|}
 +
 
 +
{{ZKComponentReferencePageFooter}}

Latest revision as of 10:40, 12 January 2022

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
     

Troubleshooting

Linux

Captcha depends on Java Swing that might not work under some version of JVM. For the information to make it work under Linux, please refer to ZK Installation Guide: Linux.

Version History

Last Update : 2022/01/12


Version Date Content
     



Last Update : 2022/01/12

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