Package org.lightadmin.field

Examples of org.lightadmin.field.SmartSelect


  private BaseSelect getSelectField( String fieldName ) {
    final WebElement theSelect = editForm.findElement( By.xpath( "//div[@id='" + fieldName + "-control-group']//div[contains(@class,'chzn-container')]" ) );
    if ( theSelect.getAttribute( "class" ).contains( "multi" ) ) {
      return new MultiSelect( theSelect, seleniumContext );
    } else
      return new SmartSelect( theSelect.findElement( By.xpath( "a" ) ), seleniumContext );
  }
View Full Code Here

TOP

Related Classes of org.lightadmin.field.SmartSelect

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.