src/org/tiefaces/components/websheet/TieWebSheetBean.java
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;
	}
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;
	}
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.

@param tabName
tab name.
@return 1 success. -1 failed.
load worksheet by tab name .