Package net.xoetrope.xui.validation

Examples of net.xoetrope.xui.validation.XValidationHandler


      // set the default binding context class if none has been specified
      if ( dataBindingContext == null )       
        dataBindingContext = new XDataBindingContext( pathEvaluator );
   
    hiddenComponents = null;
    XValidationHandler validationHandler = new XValidationHandler( page );
    eventHandler = currentProject.createEventHandler( page, validationHandler );
   
    componentFactory = new XStyleFactory( currentProject, currentProject.getWidgetPackageName() );
    componentFactory.setParentComponent( page );
   
View Full Code Here


   * invoked prior to a page transition or a critical transaction.
   * @return the maximum error level raised by the validators
   */
  public int checkValidations()
  {
    XValidationHandler validationHandler = eventHandler.getValidationHandler();
    validationHandler.accumulateMessages( true, 0 );
    int ret = validationHandler.checkValidations();
    ret = validationHandler.accumulateMessages( false, ret );
    return ret;
  }
View Full Code Here

TOP

Related Classes of net.xoetrope.xui.validation.XValidationHandler

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.