私は Primefaces を使用していますが、Ajax でレンダリング/更新できないため、p:captcha コンポーネントを使用できません。
そのため、recaptcha.create を使用して、reCaptcha の Ajax Api を使用してフォーム上に動的に作成しようとしています。コードは次のとおりです。
Recaptcha.create(/*public_code*/,
'captchadiv', {
tabindex : 1,
theme : "red",
callback : Recaptcha.focus_response_field
});
Captcha が作成されましたが、p:commandButton などの ajax ボタンからのアクションは検証されません。私は何を間違っていますか?