template.simple.image.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jcaptcha4struts2 Show documentation
Show all versions of jcaptcha4struts2 Show documentation
JCaptcha4Struts2 is a Struts 2 Plugin which allows to add Captcha support to your Struts 2 Applications with a single JSP tag, and slight configuration in your struts.xml. It uses the powerful JCaptcha engine internally to generate the captcha.
The newest version!
<#--
/*
* Copyright (C) 2008-2009 Yohan Liyanage.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<#--
Image Tag Template - Simple
===========================
Author : Yohan Liyanage
-->
<#if parameters.label?exists>
${parameters.label?html}<#rt/>
<#else>
Image Verification
#if>
<#if parameters.width?exists>
width="${parameters.width?html}"<#rt/>
#if>
<#if parameters.height?exists>
height="${parameters.height?html}"<#rt/>
#if>
/>
<@s.textfield name="jCaptchaResponse" />
© 2015 - 2025 Weber Informatics LLC | Privacy Policy