Captcha
Captcha
- Demonstration: Capcha
- Java API: org.zkoss.zul.Captcha
-
JavaScript API:
zul.wgt.Captcha - Available in ZK PE and EE only
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
<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
Version | Date | Content |
---|---|---|