recaptcha
Render a reCAPTCHA challenge field.
This tag supports the L&F personalization options available for reCAPTCHA widgets by creating a javascript RecaptchaOptions object. You can also get greater control by specifying this object yourself following the reCAPTCHA documentation instead of using the theme attributes available here.
| Tag Information | |
|---|---|
| Tag Class | org.loom.addons.recaptcha.RecaptchaTag |
| Body Content | empty |
| Dynamic Attributes | false |
| Example | <recaptcha publicKey="my-public-key"/> |
Attributes
| Name | Description | Flags |
|---|---|---|
| publicKey | the ReCaptcha public key to use | requiredrtexprvalue |
| customThemeWidget | When using custom theming, this is a div element which contains the widget. See the reCAPTCHA custom theming section for how to use this. | rtexprvalue |
| lang | Which language is used in the interface for the pre-defined themes. If the language is not supported by reCAPTCHA it will be converted to the default MessagesRepositoryFactory locale. | rtexprvalue |
| noscript | true to generate noscript tag, default true | rtexprvalue |
| tabIndex | Sets a tabindex for the reCAPTCHA text box. | rtexprvalue |
| theme | Defines which theme to use for reCAPTCHA. Possible values are 'red' | 'white' | 'blackglass' | 'clean' | 'custom'. | rtexprvalue |