private void startLoad() {
		tableLayout.setVisible(true);

		List<PersonBean> beans = ExampleDataUtil.createExampleData(numRows.getNumber().intValue(),
				numDocs.getNumber()
				.intValue());

		if (isLoadWTable()) {
			table.setBean(beans);
		}

		if (isLoadWDataTable()) {
			TableTreeNode tree = createTree(beans);
			datatable.setDataModel(new SimpleBeanTreeTableDataModel(
					new String[]{"firstName", "lastName",
						"dateOfBirth"}, tree));
		}

		if (isLoadWTable()) {
			ajax2.setVisible(true);
			tableShim.setVisible(isLoadWTable());
		} else {
			ajax4.setVisible(true);
			dataShim.setVisible(isLoadWDataTable());
		}

	}
private void startLoad ( ) { tableLayout . setVisible ( true ) ; List < PersonBean > beans = ExampleDataUtil . createExampleData ( numRows . getNumber ( ) . intValue ( ) , numDocs . getNumber ( ) . intValue ( ) ) ; if ( isLoadWTable ( ) ) { table . setBean ( beans ) ; } if ( isLoadWDataTable ( ) ) { TableTreeNode tree = createTree ( beans ) ; datatable . setDataModel ( new SimpleBeanTreeTableDataModel ( new String [ ] { "firstName" , "lastName" , "dateOfBirth" } , tree ) ) ; } if ( isLoadWTable ( ) ) { ajax2 . setVisible ( true ) ; tableShim . setVisible ( isLoadWTable ( ) ) ; } else { ajax4 . setVisible ( true ) ; dataShim . setVisible ( isLoadWDataTable ( ) ) ; } }
Start load.