Package org.exoplatform.portal.webui

Examples of org.exoplatform.portal.webui.UICaptcha


      PortletPreferences pref = pcontext.getRequest().getPreferences();
      boolean useCaptcha = Boolean.parseBoolean(pref.getValue(UIRegisterEditMode.USE_CAPTCHA,"true"));

      if (useCaptcha)
      {
         addUIFormInput(new UICaptcha(CAPTCHA, CAPTCHA, null).addValidator(MandatoryValidator.class).addValidator(CaptchaValidator.class));
         this.captchaInputAvailability = true;
      }
   }
View Full Code Here


        
         if(useCaptcha)
         {
            if(!registerInputSet.getCaptchaInputAvailability())
            {
               registerInputSet.addUIFormInput(new UICaptcha(UIRegisterInputSet.CAPTCHA, UIRegisterInputSet.CAPTCHA, null).addValidator(MandatoryValidator.class).addValidator(CaptchaValidator.class));
               registerInputSet.setCaptchaInputAvailability(true);
            }
         }
         else
         {
View Full Code Here

TOP

Related Classes of org.exoplatform.portal.webui.UICaptcha

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.