src/org/tiefaces/components/websheet/configuration/ConfigRange.java
public final int buildAt(final String fullName,
			final ConfigBuildRef configBuildRef, final int atRow,
			final Map<String, Object> context,
			final List<RowsMapping> currentRowsMappingList) {

		if (commandList != null) {
			for (int i = 0; i < commandList.size(); i++) {
				Command command = commandList.get(i);
				command.setFinalLength(0);
				int populatedLength = command.buildAt(fullName,
						configBuildRef,
						command.getConfigRange().getFirstRowRef()
								.getRowIndex(),
						context, currentRowsMappingList);
				command.setFinalLength(populatedLength);
			}
		}

		buildCells(fullName, configBuildRef, atRow, context,
				currentRowsMappingList);

		return this.getLastRowPlusRef().getRowIndex()
				- this.getFirstRowRef().getRowIndex();

	}
public final int buildAt(final String fullName,
			final ConfigBuildRef configBuildRef, final int atRow,
			final Map<String, Object> context,
			final List<RowsMapping> currentRowsMappingList) {

		if (commandList != null) {
			for (int i = 0; i < commandList.size(); i++) {
				Command command = commandList.get(i);
				command.setFinalLength(0);
				int populatedLength = command.buildAt(fullName,
						configBuildRef,
						command.getConfigRange().getFirstRowRef()
								.getRowIndex(),
						context, currentRowsMappingList);
				command.setFinalLength(populatedLength);
			}
		}

		buildCells(fullName, configBuildRef, atRow, context,
				currentRowsMappingList);

		return this.getLastRowPlusRef().getRowIndex()
				- this.getFirstRowRef().getRowIndex();

	}
public final int buildAt ( final String fullName , final ConfigBuildRef configBuildRef , final int atRow , final Map < String , Object > context , final List < RowsMapping > currentRowsMappingList ) { if ( commandList != null ) { for ( int i = 0 ; i < commandList . size ( ) ; i ++ ) { Command command = commandList . get ( i ) ; command . setFinalLength ( 0 ) ; int populatedLength = command . buildAt ( fullName , configBuildRef , command . getConfigRange ( ) . getFirstRowRef ( ) . getRowIndex ( ) , context , currentRowsMappingList ) ; command . setFinalLength ( populatedLength ) ; } } buildCells ( fullName , configBuildRef , atRow , context , currentRowsMappingList ) ; return this . getLastRowPlusRef ( ) . getRowIndex ( ) - this . getFirstRowRef ( ) . getRowIndex ( ) ; }
build the config range at specified point (start row). context include
the data objects for evaluation. build sequence is inside-out. e.g. first
build all the command area the range included. each command will hold the
final length after data populated. then buildCells build all cells in the
range except those commands. and update the formulas.

@param fullName
the full name
@param configBuildRef
the config build ref
@param atRow
the at row
@param context
context map.
@param currentRowsMappingList
the current rows mapping list
@return final length.
build the config range at specified point ( start row ) . context include the data objects for evaluation . build sequence is inside - out . e . g . first build all the command area the range included . each command will hold the final length after data populated . then buildCells build all cells in the range except those commands . and update the formulas .