public int loadWorkSheetByTabName ( final String tabName ) { try { int sheetId = this . getHelper ( ) . getWebSheetLoader ( ) . findTabIndexWithName ( tabName ) ; if ( ( getSheetConfigMap ( ) != null ) && ( sheetId < getSheetConfigMap ( ) . size ( ) ) ) { this . getHelper ( ) . getWebSheetLoader ( ) . loadWorkSheet ( tabName ) ; setActiveTabIndex ( sheetId ) ; } return 1 ; } catch ( Exception ex ) { LOG . log ( Level . SEVERE , "loadWorkSheetByTabName failed. error = " + ex . getMessage ( ) , ex ) ; } return - 1 ; }
load worksheet by tab name .