Package org.exoplatform.webui.form.validator

Examples of org.exoplatform.webui.form.validator.MandatoryValidator


      {
         UIRegisterForm registerForm = event.getSource();
         OrganizationService orgService = registerForm.getApplicationComponent(OrganizationService.class);
         UIRegisterInputSet registerInput = registerForm.getChild(UIRegisterInputSet.class);
         UIFormStringInput userNameInput = registerInput.getUIStringInput(UIRegisterInputSet.USER_NAME);
         MandatoryValidator validator = new MandatoryValidator();
         try
         {
            validator.validate(userNameInput);
         }
         catch (MessageException e)
         {
            event.getRequestContext().getUIApplication().addMessage(e.getDetailMessage());
            return;
View Full Code Here

TOP

Related Classes of org.exoplatform.webui.form.validator.MandatoryValidator

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.