}
toggle = !toggle;
}
sb.append("...Updated " + Integer.toString(count) + " Contacts pending committal.");
if (successOrFail) {
txn.commit();
sb.append("...Committed");
ExtLibUtil.getViewScope().put("javaTest", sb.toString());
} else {
throw new Exception("Now roll back");
}