Removed java files to prevent compile errors in install.source
authorMartin Taal <martin.taal@openbravo.com>
Tue, 11 Jan 2011 19:30:40 +0100
changeset 1 99ec08d78f01
parent 0 01d36d293960
child 2 bd631cd1ac9b
Removed java files to prevent compile errors in install.source
isomorphic/reference/inlineExamples/dataIntegration/java/SupplyItem.hbm.xml
isomorphic/reference/inlineExamples/dataIntegration/java/SupplyItem.java
isomorphic/reference/inlineExamples/dataIntegration/java/SupplyItemDMI.java
isomorphic/reference/inlineExamples/dataIntegration/java/SupplyItemDao.java
isomorphic/reference/inlineExamples/dataIntegration/java/SupplyItemFetch.java
isomorphic/reference/inlineExamples/dataIntegration/java/applicationContext.xml
isomorphic/reference/inlineExamples/dataIntegration/java/blockingErrors.js
isomorphic/reference/inlineExamples/dataIntegration/java/dmi.js
isomorphic/reference/inlineExamples/dataIntegration/java/hasRelatedValidation.js
isomorphic/reference/inlineExamples/dataIntegration/java/hibernateProduction.js
isomorphic/reference/inlineExamples/dataIntegration/java/hibernatePrototyping.js
isomorphic/reference/inlineExamples/dataIntegration/java/javaBeans.js
isomorphic/reference/inlineExamples/dataIntegration/java/serverValidation.js
isomorphic/reference/inlineExamples/dataIntegration/java/uniqueCheckValidation.js
isomorphic/reference/inlineExamples/dataIntegration/java/validationDMI.js
isomorphic/reference/inlineExamples/dataIntegration/java/velocityValidation.js
isomorphic/reference/inlineExamples/dataIntegration/json/contactsData.js
isomorphic/reference/inlineExamples/dataIntegration/json/countries_small.js
isomorphic/reference/inlineExamples/dataIntegration/json/serverValidationErrors/serverResponse.js
isomorphic/reference/inlineExamples/dataIntegration/json/serverValidationErrors/serverValidationErrors.js
isomorphic/reference/inlineExamples/dataIntegration/json/simpleJSON.js
isomorphic/reference/inlineExamples/dataIntegration/json/xpathBinding.js
isomorphic/reference/inlineExamples/dataIntegration/json/yahooWebServices.js
isomorphic/reference/inlineExamples/dataIntegration/xml/contacts.ds.xml
isomorphic/reference/inlineExamples/dataIntegration/xml/contactsData.xml
isomorphic/reference/inlineExamples/dataIntegration/xml/googleSOAPSearch.js
isomorphic/reference/inlineExamples/dataIntegration/xml/newsFeed.ds.xml
isomorphic/reference/inlineExamples/dataIntegration/xml/operationBinding_dataURL.js
isomorphic/reference/inlineExamples/dataIntegration/xml/responses/country_add.xml
isomorphic/reference/inlineExamples/dataIntegration/xml/responses/country_add_rest.xml
isomorphic/reference/inlineExamples/dataIntegration/xml/responses/country_fetch.xml
isomorphic/reference/inlineExamples/dataIntegration/xml/responses/country_fetch_rest.xml
isomorphic/reference/inlineExamples/dataIntegration/xml/responses/country_remove.xml
isomorphic/reference/inlineExamples/dataIntegration/xml/responses/country_remove_rest.xml
isomorphic/reference/inlineExamples/dataIntegration/xml/responses/country_update.xml
isomorphic/reference/inlineExamples/dataIntegration/xml/responses/country_update_rest.xml
isomorphic/reference/inlineExamples/dataIntegration/xml/restDS_operationBinding.js
isomorphic/reference/inlineExamples/dataIntegration/xml/rssFeed.js
isomorphic/reference/inlineExamples/dataIntegration/xml/rssFeed.xml
isomorphic/reference/inlineExamples/dataIntegration/xml/schemaChaining.js
isomorphic/reference/inlineExamples/dataIntegration/xml/serverValidationErrors/serverResponse.xml
isomorphic/reference/inlineExamples/dataIntegration/xml/serverValidationErrors/serverValidationErrors.js
isomorphic/reference/inlineExamples/dataIntegration/xml/supplyItem.xsd
isomorphic/reference/inlineExamples/dataIntegration/xml/weatherForecastSearch.js
isomorphic/reference/inlineExamples/dataIntegration/xml/wsdlWebServiceOperations.js
isomorphic/reference/inlineExamples/dataIntegration/xml/xmlSchemaImport.js
isomorphic/reference/inlineExamples/dataIntegration/xml/xpathBinding.js
isomorphic/reference/inlineExamples/dataIntegration/xml/yahooWebServices.js
isomorphic/reference/inlineExamples/serverExamples/hibernate/advancedFilter/advancedFilterHibernate.js
isomorphic/reference/inlineExamples/serverExamples/hibernate/autoTransactions/autoTransactions.js
isomorphic/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/Address.hbm.xml
isomorphic/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/Address.java
isomorphic/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/FlatUser.hbm.xml
isomorphic/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/FlatUser.java
isomorphic/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/flattenedBeans.js
isomorphic/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/flattenedBeans_flatUserHB.ds.xml
isomorphic/reference/inlineExamples/serverExamples/hibernate/hibernateConnector.js
isomorphic/reference/inlineExamples/serverExamples/hibernate/largeValueMap/ValMapOrderItem.hbm.xml
isomorphic/reference/inlineExamples/serverExamples/hibernate/largeValueMap/ValMapOrderItem.java
isomorphic/reference/inlineExamples/serverExamples/hibernate/largeValueMap/ValMapSupplyItem.hbm.xml
isomorphic/reference/inlineExamples/serverExamples/hibernate/largeValueMap/ValMapSupplyItem.java
isomorphic/reference/inlineExamples/serverExamples/hibernate/largeValueMap/largeValueMapHibernate.js
isomorphic/reference/inlineExamples/serverExamples/hibernate/largeValueMap/largeValueMap_orderItemHB.ds.xml
isomorphic/reference/inlineExamples/serverExamples/hibernate/masterDetail/Order.hbm.xml
isomorphic/reference/inlineExamples/serverExamples/hibernate/masterDetail/Order.java
isomorphic/reference/inlineExamples/serverExamples/hibernate/masterDetail/OrderItem.hbm.xml
isomorphic/reference/inlineExamples/serverExamples/hibernate/masterDetail/OrderItem.java
isomorphic/reference/inlineExamples/serverExamples/hibernate/masterDetail/masterDetail.js
isomorphic/reference/inlineExamples/serverExamples/hibernate/masterDetail/masterDetail_orderHB.ds.xml
isomorphic/reference/inlineExamples/serverExamples/hibernate/masterDetail/masterDetail_orderItemHB.ds.xml
isomorphic/reference/inlineExamples/serverExamples/hibernate/queuing/User.hbm.xml
isomorphic/reference/inlineExamples/serverExamples/hibernate/queuing/User.java
isomorphic/reference/inlineExamples/serverExamples/hibernate/queuing/queuing.js
isomorphic/reference/inlineExamples/serverExamples/hibernate/queuing/queuing_order.ds.xml
isomorphic/reference/inlineExamples/serverExamples/hibernate/queuing/queuing_userHB.ds.xml
isomorphic/reference/inlineExamples/serverExamples/hibernate/vb_Hibernate.js
isomorphic/reference/inlineExamples/serverExamples/hibernate/worldHB.ds.xml
isomorphic/reference/inlineExamples/serverExamples/other/batchUpload/batchUploadExample.js
isomorphic/reference/inlineExamples/serverExamples/other/batchUpload/supplyItemTest.csv
isomorphic/reference/inlineExamples/serverExamples/other/customDataSource/UserDataSource.java
isomorphic/reference/inlineExamples/serverExamples/other/customDataSource/customDataSource.js
isomorphic/reference/inlineExamples/serverExamples/other/customDataSource/customDataSource_user.ds.xml
isomorphic/reference/inlineExamples/serverExamples/other/ormDataSource/Country.hbm.xml
isomorphic/reference/inlineExamples/serverExamples/other/ormDataSource/Country.java
isomorphic/reference/inlineExamples/serverExamples/other/ormDataSource/ORMDataSource.java
isomorphic/reference/inlineExamples/serverExamples/other/ormDataSource/ormDataSource.js
isomorphic/reference/inlineExamples/serverExamples/other/ormDataSource/ormDataSource_country.ds.xml
isomorphic/reference/inlineExamples/serverExamples/other/reusableORMDataSource/Country.hbm.xml
isomorphic/reference/inlineExamples/serverExamples/other/reusableORMDataSource/Country.java
isomorphic/reference/inlineExamples/serverExamples/other/reusableORMDataSource/ReusableORMDataSource.java
isomorphic/reference/inlineExamples/serverExamples/other/reusableORMDataSource/SupplyItemORM.hbm.xml
isomorphic/reference/inlineExamples/serverExamples/other/reusableORMDataSource/SupplyItemORM.java
isomorphic/reference/inlineExamples/serverExamples/other/reusableORMDataSource/reusableORMDataSource.js
isomorphic/reference/inlineExamples/serverExamples/other/reusableORMDataSource/reusableORMDataSource_country.ds.xml
isomorphic/reference/inlineExamples/serverExamples/other/reusableORMDataSource/reusableORMDataSource_supplyItem.ds.xml
isomorphic/reference/inlineExamples/serverExamples/other/vb_Javabean.js
isomorphic/reference/inlineExamples/serverExamples/sql/basicConnector.js
isomorphic/reference/inlineExamples/serverExamples/sql/customExport/CustomExportDMI.java
isomorphic/reference/inlineExamples/serverExamples/sql/customExport/customExport.js
isomorphic/reference/inlineExamples/serverExamples/sql/customExport/worldDSExportCustom.ds.xml
isomorphic/reference/inlineExamples/serverExamples/sql/dynamicReporting/dynamicReporting.js
isomorphic/reference/inlineExamples/serverExamples/sql/dynamicReporting/dynamicReporting_orderItem.ds.xml
isomorphic/reference/inlineExamples/serverExamples/sql/largeValueMap/largeValueMap.js
isomorphic/reference/inlineExamples/serverExamples/sql/largeValueMap/largeValueMap_orderItem.ds.xml
isomorphic/reference/inlineExamples/serverExamples/sql/queuedAdd/queuedAdd_order.ds.xml
isomorphic/reference/inlineExamples/serverExamples/sql/queuedAdd/queuedAdd_orderItem.ds.xml
isomorphic/reference/inlineExamples/serverExamples/sql/queuedAdd/queuedMasterDetailAdd.js
isomorphic/reference/inlineExamples/serverExamples/sql/upload/mediaLibrary.ds.xml
isomorphic/reference/inlineExamples/serverExamples/sql/upload/upload.js
isomorphic/reference/inlineExamples/serverExamples/sql/userSpecificData/CartDMI.java
isomorphic/reference/inlineExamples/serverExamples/sql/userSpecificData/cartItem.ds.xml
isomorphic/reference/inlineExamples/serverExamples/sql/userSpecificData/userSpecificData.js
isomorphic/reference/inlineExamples/serverExamples/sql/vb_Database.js
isomorphic/reference/inlineExamples/serverExamples/transactions/autoTransactions/autoTransactions.js
isomorphic/reference/inlineExamples/serverExamples/transactions/jdbcOperations/JDBCOperations.java
isomorphic/reference/inlineExamples/serverExamples/transactions/jdbcOperations/countryTransactions.ds.xml
isomorphic/reference/inlineExamples/serverExamples/transactions/jdbcOperations/jdbcOperations.js
isomorphic/reference/inlineExamples/serverExamples/transactions/jdbcOperations/lastUpdated.ds.xml
isomorphic/reference/inlineExamples/serverExamples/transactions/rollback/rbCountryTransactions.ds.xml
isomorphic/reference/inlineExamples/serverExamples/transactions/rollback/rollback.js
isomorphic/reference/inlineExamples/serverExamples/validation/ValidatorDMI.java
isomorphic/system/reference/inlineExamples/dataIntegration/java/SupplyItem.hbm.xml
isomorphic/system/reference/inlineExamples/dataIntegration/java/SupplyItem.java
isomorphic/system/reference/inlineExamples/dataIntegration/java/SupplyItemDMI.java
isomorphic/system/reference/inlineExamples/dataIntegration/java/SupplyItemDao.java
isomorphic/system/reference/inlineExamples/dataIntegration/java/SupplyItemFetch.java
isomorphic/system/reference/inlineExamples/dataIntegration/java/applicationContext.xml
isomorphic/system/reference/inlineExamples/dataIntegration/java/blockingErrors.js
isomorphic/system/reference/inlineExamples/dataIntegration/java/dmi.js
isomorphic/system/reference/inlineExamples/dataIntegration/java/hasRelatedValidation.js
isomorphic/system/reference/inlineExamples/dataIntegration/java/hibernateProduction.js
isomorphic/system/reference/inlineExamples/dataIntegration/java/hibernatePrototyping.js
isomorphic/system/reference/inlineExamples/dataIntegration/java/javaBeans.js
isomorphic/system/reference/inlineExamples/dataIntegration/java/serverValidation.js
isomorphic/system/reference/inlineExamples/dataIntegration/java/uniqueCheckValidation.js
isomorphic/system/reference/inlineExamples/dataIntegration/java/validationDMI.js
isomorphic/system/reference/inlineExamples/dataIntegration/java/velocityValidation.js
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/advancedFilter/advancedFilterHibernate.js
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/autoTransactions/autoTransactions.js
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/Address.hbm.xml
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/Address.java
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/FlatUser.hbm.xml
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/FlatUser.java
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/flattenedBeans.js
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/flattenedBeans_flatUserHB.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/hibernateConnector.js
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/largeValueMap/ValMapOrderItem.hbm.xml
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/largeValueMap/ValMapOrderItem.java
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/largeValueMap/ValMapSupplyItem.hbm.xml
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/largeValueMap/ValMapSupplyItem.java
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/largeValueMap/largeValueMapHibernate.js
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/largeValueMap/largeValueMap_orderItemHB.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/masterDetail/Order.hbm.xml
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/masterDetail/Order.java
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/masterDetail/OrderItem.hbm.xml
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/masterDetail/OrderItem.java
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/masterDetail/masterDetail.js
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/masterDetail/masterDetail_orderHB.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/masterDetail/masterDetail_orderItemHB.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/queuing/User.hbm.xml
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/queuing/User.java
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/queuing/queuing.js
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/queuing/queuing_order.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/queuing/queuing_userHB.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/vb_Hibernate.js
isomorphic/system/reference/inlineExamples/serverExamples/hibernate/worldHB.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/other/batchUpload/batchUploadExample.js
isomorphic/system/reference/inlineExamples/serverExamples/other/batchUpload/supplyItemTest.csv
isomorphic/system/reference/inlineExamples/serverExamples/other/customDataSource/UserDataSource.java
isomorphic/system/reference/inlineExamples/serverExamples/other/customDataSource/customDataSource.js
isomorphic/system/reference/inlineExamples/serverExamples/other/customDataSource/customDataSource_user.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/other/ormDataSource/Country.hbm.xml
isomorphic/system/reference/inlineExamples/serverExamples/other/ormDataSource/Country.java
isomorphic/system/reference/inlineExamples/serverExamples/other/ormDataSource/ORMDataSource.java
isomorphic/system/reference/inlineExamples/serverExamples/other/ormDataSource/ormDataSource.js
isomorphic/system/reference/inlineExamples/serverExamples/other/ormDataSource/ormDataSource_country.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/other/reusableORMDataSource/Country.hbm.xml
isomorphic/system/reference/inlineExamples/serverExamples/other/reusableORMDataSource/Country.java
isomorphic/system/reference/inlineExamples/serverExamples/other/reusableORMDataSource/ReusableORMDataSource.java
isomorphic/system/reference/inlineExamples/serverExamples/other/reusableORMDataSource/SupplyItemORM.hbm.xml
isomorphic/system/reference/inlineExamples/serverExamples/other/reusableORMDataSource/SupplyItemORM.java
isomorphic/system/reference/inlineExamples/serverExamples/other/reusableORMDataSource/reusableORMDataSource.js
isomorphic/system/reference/inlineExamples/serverExamples/other/reusableORMDataSource/reusableORMDataSource_country.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/other/reusableORMDataSource/reusableORMDataSource_supplyItem.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/other/vb_Javabean.js
isomorphic/system/reference/inlineExamples/serverExamples/sql/basicConnector.js
isomorphic/system/reference/inlineExamples/serverExamples/sql/customExport/CustomExportDMI.java
isomorphic/system/reference/inlineExamples/serverExamples/sql/customExport/customExport.js
isomorphic/system/reference/inlineExamples/serverExamples/sql/customExport/worldDSExportCustom.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/sql/dynamicReporting/dynamicReporting.js
isomorphic/system/reference/inlineExamples/serverExamples/sql/dynamicReporting/dynamicReporting_orderItem.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/sql/largeValueMap/largeValueMap.js
isomorphic/system/reference/inlineExamples/serverExamples/sql/largeValueMap/largeValueMap_orderItem.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/sql/queuedAdd/queuedAdd_order.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/sql/queuedAdd/queuedAdd_orderItem.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/sql/queuedAdd/queuedMasterDetailAdd.js
isomorphic/system/reference/inlineExamples/serverExamples/sql/upload/mediaLibrary.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/sql/upload/upload.js
isomorphic/system/reference/inlineExamples/serverExamples/sql/userSpecificData/CartDMI.java
isomorphic/system/reference/inlineExamples/serverExamples/sql/userSpecificData/cartItem.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/sql/userSpecificData/userSpecificData.js
isomorphic/system/reference/inlineExamples/serverExamples/sql/vb_Database.js
isomorphic/system/reference/inlineExamples/serverExamples/transactions/autoTransactions/autoTransactions.js
isomorphic/system/reference/inlineExamples/serverExamples/transactions/jdbcOperations/JDBCOperations.java
isomorphic/system/reference/inlineExamples/serverExamples/transactions/jdbcOperations/countryTransactions.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/transactions/jdbcOperations/jdbcOperations.js
isomorphic/system/reference/inlineExamples/serverExamples/transactions/jdbcOperations/lastUpdated.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/transactions/rollback/rbCountryTransactions.ds.xml
isomorphic/system/reference/inlineExamples/serverExamples/transactions/rollback/rollback.js
isomorphic/system/reference/inlineExamples/serverExamples/validation/ValidatorDMI.java
--- a/isomorphic/reference/inlineExamples/dataIntegration/java/SupplyItem.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.SupplyItem" table="supplyItem">
-        <id name="itemID">
-            <generator class="native"/>
-        </id>
-        <property name="itemName" />
-        <property name="SKU" />
-        <property name="description" />
-        <property name="category" />
-        <property name="units" />
-        <property name="unitCost" type="double" />
-        <property name="inStock" type="boolean" />
-        <property name="nextShipment" type="date" />
-    </class>
-</hibernate-mapping>
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/dataIntegration/java/SupplyItem.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Java server integration example
-//
-// SupplyItem Bean
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples;
-
-import java.util.Date;
-import java.io.Serializable;
-
-// a typical Java Bean which can be stored by many different ORM (object-relational mapping)
-// systems, including Hibernate, Toplink, JDO, EJB3, etc.
-public class SupplyItem implements Serializable {
-    // a zero-argument constructor is not required, but does enable certain convenience
-    // features (see the docs for DMI)
-    public SupplyItem() { }
-
-    // when receiving data from client-side SmartClient components, SmartClient will call these
-    // setters to modify properties.  The setters are found via the Java Beans naming
-    // convention, for example, a DataSource field named "category" will be applied via a
-    // setter called setCategory().
-    public void setItemID(Long id) { itemID = id; }
-    public void setSKU(String sku) { SKU = sku; }
-    public void setCategory(String c) { category = c; }
-    public void setItemName(String name) { itemName = name; }
-    public void setDescription(String d) { description = d; }
-    public void setUnitCost(Double cost) { unitCost = cost; }
-    public void setUnits(String newUnits) { units = newUnits; }
-    public void setInStock(Boolean val) { inStock = val; }
-    public void setNextShipment(Date date) { nextShipmentDate = date; }
-
-    // SmartClient will call these getters when serializing a Java Bean to be transmitted to
-    // client-side components.
-    public Long getItemID() { return itemID; }
-    public String getSKU() { return SKU; }
-    public String getCategory() { return category; }
-    public String getItemName() { return itemName; }
-    public String getDescription() { return description; }
-    public Double getUnitCost() { return unitCost; }
-    public String getUnits() { return units; }
-    public Boolean getInStock() { return inStock; }
-    public Date getNextShipment() { return nextShipmentDate; }
-
-    // this bean has no business logic.  It simply stores data in these instance variables.
-    protected Long itemID;
-    protected String SKU;
-    protected String category;
-    protected String itemName;
-    protected String description;
-    protected Double unitCost;
-    protected String units;
-    protected Boolean inStock;
-    protected Date nextShipmentDate;
-}
-
--- a/isomorphic/reference/inlineExamples/dataIntegration/java/SupplyItemDMI.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,113 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-//
-// SupplyItemDMI implementation
-//
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples;
-
-import java.util.*;
-import javax.servlet.*;
-import javax.servlet.http.*;
-
-import com.isomorphic.log.*;
-import com.isomorphic.util.*;
-import com.isomorphic.datasource.*;
-
-// the <serverObject> declaration in supplyItemDMI.ds.xml directs the SmartClient Java
-// server libraries to find the SupplyItemFetch class.  
-// Several ways of finding or creating the DMI target are supported, including via Spring, or
-// via session or request attributes.  See ServerObject.lookupStyle in the SmartClient Reference.
-// You can also provide your own servlet, invoking SmartClient DMI from a Spring Controller or
-// Struts Action.
-public class SupplyItemDMI {
-
-    Logger log = new Logger(SupplyItemDMI.class.getName());
-
-    // By default, for a DSRequest of type "fetch", a method named "fetch" is invoked.  You can
-    // customize this via the <serverObject> declaration.
-    public DSResponse fetch(DSRequest dsRequest) 
-        throws Exception 
-    {
-        log.info("procesing DMI fetch operation");
-
-        // this implementation shows data paging (returning only ranges of requested records)
-        long startRow = dsRequest.getStartRow();
-        long endRow = dsRequest.getEndRow();
-
-        long totalRows = SupplyItemStore.getMatchingRowcount((Long)dsRequest.getFieldValue("itemID"),
-                                                             (String)dsRequest.getFieldValue("itemName"));
-
-        // Fetch a List of matching SupplyItem Beans from some pre-existing Java object model
-        // provided by you, represented by "SupplyItemStore" in this example
-        List matchingItems =
-            SupplyItemStore.findMatchingItems((Long)dsRequest.getFieldValue("itemID"),
-                                              (String)dsRequest.getFieldValue("itemName"),
-                                              (int)startRow, (int)endRow);
-
-        DSResponse dsResponse = new DSResponse();
-        dsResponse.setTotalRows(totalRows);
-        dsResponse.setStartRow(startRow);
-
-        endRow = Math.min(endRow, totalRows);
-        dsResponse.setEndRow(endRow);
-        
-        // just return the List of matching beans
-        dsResponse.setData(matchingItems);
-
-        return dsResponse;
-    }
- 
-    // Declared parameters of the method are automatically provided.  For example, if your
-    // method declares a parameter of type HttpServletRequest, the current HttpServletRequest
-    // will be passed.
-    // If you declare a parameter that is a Java Bean, SmartClient will create an instance of
-    // the bean and apply the DSRequest data to the bean via Java reflection, matching
-    // DataSource fields to Java setter methods.  For example, for the DataSource field
-    // "itemName", SupplyItem.setItemName() is called.
-    public SupplyItem add(SupplyItem record)
-        throws Exception
-    {
-        log.info("procesing DMI add operation");
-
-        // most ORM systems can store a new Object with a single call like this.
-        SupplyItemStore.storeItem(record);
-
-        // return the record-as-saved so SmartClient can update client-side caches.  This
-        // pattern ensures client-side components receive server-generated fields (such as an
-        // auto-generated primaryKey value).  SmartClient can then update caches in place
-        // instead of re-fetching data.
-        return record;
-    }
-
-    // The "update" method declares a parameter of type "Map" and so receives DSRequest.data as
-    // a Java Map.  For an "update" operation, the data includes updated fields and always
-    // includes the field declared as primaryKey:true.
-    public SupplyItem update(Map record)
-        throws Exception
-    {
-        log.info("procesing DMI update operation");
-
-        // look up the existing data by primary key
-        SupplyItem existingRecord = SupplyItemStore.getItemByID((Long)record.get("itemID"));
-
-        // DataTools.setProperties() is a SmartClient API that applies a Map of properties to a
-        // Bean via reflection, matching Map keys to setter methods on the Bean.
-        DataTools.setProperties(record, existingRecord);
-
-        // store it, and return the record-as-saved so SmartClient can update client-side caches.  
-        SupplyItemStore.storeItem(existingRecord);
-        return existingRecord;
-    }
-
-
-    public SupplyItem remove(SupplyItem record) 
-        throws Exception
-    {
-        log.info("procesing DMI remove operation");
-
-        // on a removal, just return
-        return SupplyItemStore.removeItem(record.getItemID());
-    }
-}
--- a/isomorphic/reference/inlineExamples/dataIntegration/java/SupplyItemDao.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,164 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Minimal Java server integration example
-//
-// Spring HelloWorld example
-//
-// Simple invocation of a spring-managed bean directly from the client via RPC DMI
-//
-//----------------------------------------------------------------------
-package com.isomorphic.examples.spring;
-
-import java.io.*;
-import java.util.*;
-
-import com.isomorphic.log.Logger;
-import com.isomorphic.examples.SupplyItem;
-import com.isomorphic.util.DataTools;
-import com.isomorphic.datasource.*;
-import com.isomorphic.util.ErrorReport;
-
-import org.hibernate.*;
-import org.hibernate.criterion.*;
-
-public class SupplyItemDao {
-
-    Logger log = new Logger(SupplyItemDao.class.getName());
-
-    // autoconfigured by Spring
-    private SessionFactory sessionFactory;
-    public void setSessionFactory(SessionFactory sessionFactory) {
-        this.sessionFactory = sessionFactory;
-    }
-
-    public DSResponse fetch(DSRequest dsRequest) 
-        throws Exception 
-    {
-        log.info("procesing DMI fetch operation");
-        DSResponse dsResponse = new DSResponse(dsRequest == null ? (DataSource)null :
-                                                                   dsRequest.getDataSource());
-
-        Session hibernateSession = sessionFactory.getCurrentSession();
-
-        // DataSource protocol: get filter criteria
-        String itemName = (String)dsRequest.getFieldValue("itemName");
-                 
-        // DataSource protocol: get requested row range
-        long startRow = (int)dsRequest.getStartRow();
-        long endRow = (int)dsRequest.getEndRow();
-
-        Criteria criteria = hibernateSession.createCriteria(SupplyItem.class);
-        Criterion itemNameRestriction = null;
-        if (itemName != null) {
-            itemNameRestriction = Restrictions.like("itemName", itemName, MatchMode.ANYWHERE);
-            criteria.add(itemNameRestriction);
-        }
-        
-        // determine total available rows 
-        // this is used by e.g. the ListGrid to auto-size its scrollbar
-        criteria.setProjection(Projections.rowCount());
-        Object rowCount = criteria.uniqueResult();
-        long totalRows = 0;
-        // Later versions of Hibernate return a Long rather than an Integer here, for all
-        // those occasions when a fetch returns more than 2.1 billion rows...
-        if (rowCount instanceof Integer) {
-            totalRows = ((Integer)rowCount).intValue();
-        } else if (rowCount instanceof Long) {
-            totalRows = ((Long)rowCount).longValue();
-        }
-
-        // clamp endRow to available rows and slice out requested range
-        endRow = Math.min(endRow, totalRows);
-                 
-        // rebuilt the criteria minus the rowCount projection
-        criteria = hibernateSession.createCriteria(SupplyItem.class);                
-        if (itemName != null) criteria.add(itemNameRestriction);
-
-        // limit number of rows returned to just what the ListGrid asked for
-        criteria.setFirstResult((int)startRow);
-        criteria.setMaxResults((int)(endRow - startRow));
-        List matchingItems = criteria.list();
-
-        // DataSource protocol: return matching item beans
-        dsResponse.setData(matchingItems);
-        // tell client what rows are being returned, and what's available
-        dsResponse.setStartRow(startRow);
-        dsResponse.setEndRow(endRow);
-        dsResponse.setTotalRows(totalRows);        
-
-        return dsResponse;
-    }
- 
-    public DSResponse add(DSRequest dsRequest, SupplyItem item)
-        throws Exception
-    {
-        log.info("procesing DMI add operation");
-
-        DSResponse dsResponse = new DSResponse();
-
-        // perform validation
-        ErrorReport errorReport = dsRequest.getDataSource().validate(DataTools.getProperties(item), false);
-        if (errorReport != null) {
-           dsResponse.setStatus(DSResponse.STATUS_VALIDATION_ERROR);
-           dsResponse.setErrorReport(errorReport);
-           System.out.println("Errors: " + DataTools.prettyPrint(errorReport));
-           return dsResponse;
-        }
-
-        
-        Session hibernateSession = sessionFactory.getCurrentSession();
-        hibernateSession.saveOrUpdate(item);
-        dsResponse.setData(item);
-        return dsResponse;
-    }
-    
-
-    public DSResponse update(DSRequest dsRequest, Map newValues)
-        throws Exception
-    {
-        log.info("procesing DMI update operation");
-
-        DSResponse dsResponse = new DSResponse();
-
-        // perform validation
-        ErrorReport errorReport = dsRequest.getDataSource().validate(newValues, false);
-        if (errorReport != null) {
-           dsResponse.setStatus(DSResponse.STATUS_VALIDATION_ERROR);
-           dsResponse.setErrorReport(errorReport);
-           System.out.println("Errors: " + DataTools.prettyPrint(errorReport));
-           return dsResponse;
-        }
-
-        // primary key
-        Serializable id = (Serializable)dsRequest.getFieldValue("itemID");
-
-        Session hibernateSession = sessionFactory.getCurrentSession();
-        SupplyItem item = (SupplyItem)hibernateSession.get(SupplyItem.class, id);
-
-        log.warn("fetched item: " + DataTools.prettyPrint(item));
-
-        // apply new values to the as-saved bean
-        DataTools.setProperties(newValues, item);
-
-        log.warn("Saving record: " + DataTools.prettyPrint(item));
-
-        // persist
-        hibernateSession.saveOrUpdate(item);
-        dsResponse.setData(item);
-        return dsResponse;
-    }
-
-
-    public SupplyItem remove(SupplyItem item) 
-        throws Exception
-    {
-        log.info("procesing DMI remove operation");
-        
-        Session hibernateSession = sessionFactory.getCurrentSession();
-        hibernateSession.delete(item);
-
-        return item;
-    }
-    
-
-}
--- a/isomorphic/reference/inlineExamples/dataIntegration/java/SupplyItemFetch.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-//
-// SupplyItemFetch implementation
-//
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples;
-
-import java.util.*;
-
-import com.isomorphic.log.*;
-import com.isomorphic.util.*;
-import com.isomorphic.datasource.*;
-
-
-
-public class SupplyItemFetch {
-
-    // This method receives a SmartClient DSRequest object and returns a valid DSResponse,
-    // fulfilling the "fetch" operation for the SupplyItem DataSource.
-    // There are multiple ways to direct incoming requests to this method - SmartClient DMI is
-    // one - this example focuses on fulfilling the request.
-    public DSResponse fetch(DSRequest dsRequest) 
-        throws Exception 
-    {
-        // for a fetch, the DSRequest contains search criteria.
-        // Fetch a List of matching SupplyItem Beans from some pre-existing Java object model
-        // provided by you, represented by "SupplyItemStore" in this example.
-        List matchingItems =
-            SupplyItemStore.findMatchingItems((Long)dsRequest.getFieldValue("itemID"),
-                                              (String)dsRequest.getFieldValue("itemName"));
-
-        // provide the List of Beans as the data for the DSResponse.  SmartClient automatically
-        // converts these Beans to JavaScript Objects and provides them to the component that
-        // made the request.  All you need to do is name your DataSource fields after Java Bean
-        // properties.
-        DSResponse dsResponse = new DSResponse(dsRequest == null ? (DataSource)null :
-                                                                   dsRequest.getDataSource());
-        dsResponse.setData(matchingItems);
-        return dsResponse;
-    }
-}
--- a/isomorphic/reference/inlineExamples/dataIntegration/java/applicationContext.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
-
-  <!-- Bean used by RPC DMI example - just a simple invocation of a spring-managed bean directly
-  from the client. -->
-  <bean id="helloWorld" class="com.isomorphic.examples.spring.HelloWorld">
-      <property name="responsePrefix" value="Hi "/>
-  </bean>
-
-  <!-- Beans used by DMI validation autoTests -->
-  <!--  -->
-
-  <!-- Bean used by the autoDerive schema from Spring bean autoTest -->
-  <!--  -->
-
-
-
-  <!-- Beans used by Hibernate Data Binding example -->
-  <bean id="supplyItemDaoTarget" class="com.isomorphic.examples.spring.SupplyItemDao">
-    <property name="sessionFactory" ref="hibernateSessionFactory"/>
-  </bean>
-
-  <!-- Transaction proxy for supplyItemDMI -->
-  <bean id="supplyItemDao" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
-     <property name="transactionManager" ref="txManager"/>
-     <property name="target" ref="supplyItemDaoTarget"/>
-     <property name="transactionAttributes">
-         <props>
-             <prop key="fetch">PROPAGATION_REQUIRED</prop>
-             <prop key="add">PROPAGATION_REQUIRED</prop>
-             <prop key="update">PROPAGATION_REQUIRED</prop>
-             <prop key="remove">PROPAGATION_REQUIRED</prop>
-         </props>
-     </property>
-  </bean>
-
-  <!-- Transaction manager for supplyItemDMI -->
-  <bean id="txManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
-    <property name="sessionFactory" ref="hibernateSessionFactory"/>
-  </bean>
-    
-  <!-- Hibernate SessionFactory -->
-  <bean id="hibernateSessionFactory" 
-        class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
-    <property name="configLocation" value="classpath:hibernate.cfg.xml"/>
-    <property name="mappingLocations" value="classpath:com/isomorphic/examples/SupplyItem.hbm.xml"/>
-  </bean>
-
-</beans>
--- a/isomorphic/reference/inlineExamples/dataIntegration/java/blockingErrors.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-isc.DynamicForm.create({
-    ID: "boundForm",
-    dataSource: "complaint",
-    wrapItemTitles: false,
-    fields: [
-        {type:"header", defaultValue:"Shipment Complaint Form"},
-        {name: "trackingNumber", stopOnError: true},
-        {name: "receiptDate", useTextField: true},
-        {name: "comment", editorType: "textArea"}
-    ]
-});
--- a/isomorphic/reference/inlineExamples/dataIntegration/java/dmi.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-isc.Label.create({
-    ID:"helpText",
-	contents:"<ul>" +
-	"<li>click a record in the grid to view and edit that record in the form</li>" +
-	"<li>click <b>Save</b> to save changes to an edited record in the form</li>" +
-	"<li>click <b>Clear</b> to clear all fields in the form</li>" +
-	"<li>click <b>Filter</b> to filter (substring match) the grid based on the value of the 'Item' form value only.</li>" +
-	"<li>click <b>Fetch</b> to fetch records (exact match) for the grid based on the value of the 'Item' form value only.</li>" +
-	"<li>click <b>Delete</b> to delete all selected records</li>" +
-	"<li>double-click a record in the grid to edit inline (press Return, or arrow/tab to another record, to save)</li>" +
-	"</ul>"
-});
-
-// databound ListGrid
-//   * click records to edit in boundForm and view in boundViewer
-//   * double-click record to edit inline (Return or arrow/tab off current row to save)
-isc.ListGrid.create({
-	ID:"boundList",
-    dataSource: supplyItemDMI,
-	height:200,
-	canEdit:true,
-    selectionChanged : function (record, state) {
-        if (this.selection.anySelected()) {
-            deleteBtn.enable();
-            saveBtn.setDisabled(this.selection.multipleSelected());
-            boundForm.editRecord(record);
-            boundViewer.viewSelectedData(this);
-        } else {
-            deleteBtn.disable();
-            saveBtn.disable();
-        }
-    }
-});
-
-// databound SearchForm
-//   * click boundList records to edit
-isc.SearchForm.create({
-	ID:"boundForm",
-    dataSource: supplyItemDMI,
-	numCols:"6",
-	autoFocus:false,
-    useAllDataSourceFields: true
-});
-
-// toolbar to perform various actions using the boundForm values (see helpText above)
-isc.Toolbar.create({
-    ID: "boundFormToolbar",
-	membersMargin:10,
-    buttonConstructor: "IButton",
-    height: 22,
-	buttons:[
-		{title:"Save", click:"boundForm.saveData()", ID:"saveBtn"},
-		{title:"Clear", click:"boundForm.clearValues();boundForm.editNewRecord();saveBtn.enable()"},
-		{title:"Filter", click:"boundList.filterData(boundForm.getValuesAsCriteria());"},
-		{title:"Fetch", 
-         click:"boundList.fetchData(boundForm.getValuesAsCriteria());"},
-		{title:"Delete", ID:"deleteBtn", disabled: true, 
-         click:"boundList.removeSelectedData();boundList.deselectAllRecords()"}
-	]
-});
-		
-// databound DetailViewer
-//   * click boundList records to display
-isc.DetailViewer.create({
-	ID:"boundViewer",
-    dataSource: supplyItemDMI
-});
-
-isc.VStack.create({
-	width:"100%",
-	membersMargin:20,
-	members:[ helpText, boundList, boundForm, boundFormToolbar, boundViewer]
-});
-
-boundList.filterData();
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/dataIntegration/java/hasRelatedValidation.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-isc.DynamicForm.create({
-    ID: "boundForm",
-    dataSource: "complaint",
-    wrapItemTitles: false,
-    fields: [
-        {type:"header", defaultValue:"Shipment Complaint Form"},
-        {name: "trackingNumber", validateOnExit: true},
-        {name: "receiptDate", useTextField: true, validateOnExit: true},
-        {name: "comment", editorType: "textArea"},
-        {name: "submitBtn", title: "Submit", type: "button", click: "form.validate()"}
-    ]
-});
--- a/isomorphic/reference/inlineExamples/dataIntegration/java/hibernateProduction.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-isc.Label.create({
-    ID:"helpText",
-	contents:"<ul>" +
-	"<li>click a record in the grid to view and edit that record in the form</li>" +
-	"<li>click <b>Save</b> to save changes to an edited record in the form</li>" +
-	"<li>click <b>Clear</b> to clear all fields in the form</li>" +
-	"<li>click <b>Filter</b> to filter (substring match) the grid based on the value of the 'Item' form value only.</li>" +
-	"<li>click <b>Fetch</b> to fetch records (exact match) for the grid based on the value of the 'Item' form value only.</li>" +
-	"<li>click <b>Delete</b> to delete all selected records</li>" +
-	"<li>double-click a record in the grid to edit inline (press Return, or arrow/tab to another record, to save)</li>" +
-	"</ul>"
-});
-
-// databound ListGrid
-//   * click records to edit in boundForm and view in boundViewer
-//   * double-click record to edit inline (Return or arrow/tab off current row to save)
-isc.ListGrid.create({
-	ID:"boundList",
-    dataSource: supplyItemSpringDMI,
-	height:200,
-	canEdit:true,
-    selectionChanged : function (record, state) {
-        if (this.selection.anySelected()) {
-            deleteBtn.enable();
-            saveBtn.setDisabled(this.selection.multipleSelected());
-            boundForm.editRecord(record);
-            boundViewer.viewSelectedData(this);
-        } else {
-            deleteBtn.disable();
-            saveBtn.disable();
-        }
-    }
-});
-
-// databound SearchForm
-//   * click boundList records to edit
-isc.SearchForm.create({
-	ID:"boundForm",
-    dataSource: supplyItemSpringDMI,
-	numCols:"6",
-	autoFocus:false,
-    useAllDataSourceFields: true
-});
-
-// toolbar to perform various actions using the boundForm values (see helpText above)
-isc.Toolbar.create({
-    ID: "boundFormToolbar",
-	membersMargin:10,
-    buttonConstructor: "IButton",
-    height: 22,
-	buttons:[
-		{title:"Save", click:"boundForm.saveData()", ID:"saveBtn"},
-		{title:"Clear", click:"boundForm.clearValues();boundForm.editNewRecord();saveBtn.enable()"},
-		{title:"Filter", click:"boundList.filterData(boundForm.getValuesAsCriteria());"},
-		{title:"Fetch", 
-         click:"boundList.fetchData(boundForm.getValuesAsCriteria());"},
-		{title:"Delete", ID:"deleteBtn", disabled: true, 
-         click:"boundList.removeSelectedData();boundList.deselectAllRecords()"}
-	]
-});
-		
-// databound DetailViewer
-//   * click boundList records to display
-isc.DetailViewer.create({
-	ID:"boundViewer",
-    dataSource: supplyItemSpringDMI
-});
-
-isc.VStack.create({
-	width:"100%",
-	membersMargin:20,
-	members:[ helpText, boundList, boundForm, boundFormToolbar, boundViewer]
-});
-
-boundList.filterData();
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/dataIntegration/java/hibernatePrototyping.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-isc.Label.create({
-    ID:"helpText",
-	contents:"<ul>" +
-	"<li>click a record in the grid to view and edit that record in the form</li>" +
-	"<li>click <b>Save</b> to save changes to an edited record in the form</li>" +
-	"<li>click <b>Clear</b> to clear all fields in the form</li>" +
-	"<li>click <b>Filter</b> to filter (substring match) the grid based on the value of the 'Item' form value only.</li>" +
-	"<li>click <b>Fetch</b> to fetch records (exact match) for the grid based on the value of the 'Item' form value only.</li>" +
-	"<li>click <b>Delete</b> to delete all selected records</li>" +
-	"<li>double-click a record in the grid to edit inline (press Return, or arrow/tab to another record, to save)</li>" +
-	"</ul>"
-});
-
-// databound ListGrid
-//   * click records to edit in boundForm and view in boundViewer
-//   * double-click record to edit inline (Return or arrow/tab off current row to save)
-isc.ListGrid.create({
-	ID:"boundList",
-    dataSource: supplyItemHB,
-	height:200,
-	canEdit:true,
-    selectionChanged : function (record, state) {
-        if (this.selection.anySelected()) {
-            deleteBtn.enable();
-            saveBtn.setDisabled(this.selection.multipleSelected());
-            boundForm.editRecord(record);
-            boundViewer.viewSelectedData(this);
-        } else {
-            deleteBtn.disable();
-            saveBtn.disable();
-        }
-    }
-});
-
-// databound SearchForm
-//   * click boundList records to edit
-isc.SearchForm.create({
-	ID:"boundForm",
-    dataSource: supplyItemHB,
-	numCols:"6",
-	autoFocus:false,
-    useAllDataSourceFields: true
-});
-
-// toolbar to perform various actions using the boundForm values (see helpText above)
-isc.Toolbar.create({
-    ID: "boundFormToolbar",
-	membersMargin:10,
-    buttonConstructor: "IButton",
-    height: 22,
-	buttons:[
-		{title:"Save", click:"boundForm.saveData()", ID:"saveBtn"},
-		{title:"Clear", click:"boundForm.clearValues();boundForm.editNewRecord();saveBtn.enable()"},
-		{title:"Filter", click:"boundList.filterData(boundForm.getValuesAsCriteria());"},
-		{title:"Fetch", 
-         click:"boundList.fetchData(boundForm.getValuesAsCriteria());"},
-		{title:"Delete", ID:"deleteBtn", disabled: true, 
-         click:"boundList.removeSelectedData();boundList.deselectAllRecords()"}
-	]
-});
-		
-// databound DetailViewer
-//   * click boundList records to display
-isc.DetailViewer.create({
-	ID:"boundViewer",
-    dataSource: supplyItemHB
-});
-
-isc.VStack.create({
-	width:"100%",
-	membersMargin:20,
-	members:[ helpText, boundList, boundForm, boundFormToolbar, boundViewer]
-});
-
-boundList.filterData();
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/dataIntegration/java/javaBeans.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-isc.ListGrid.create({
-    ID: "boundGrid",
-    dataSource: "supplyItemDMI",
-    width: "100%",
-    height: 300
-});
-
-boundGrid.filterData({itemName: "account"});
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/dataIntegration/java/serverValidation.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-isc.DynamicForm.create({ 
-    ID: "dynamicForm",
-    dataSource: "supplyItem",
-    // pre-fill some values
-    values: {
-        unitCost: -1.234,
-        SKU: "my SKU"
-    }
-});
-
-isc.IButton.create({
-    ID: "saveButton",
-    title: "Save",
-    click: "dynamicForm.saveData()"
-});
-
-
-isc.IButton.create({
-    ID: "clearErrorsButton",
-    title: "Clear Errors",
-    click: "dynamicForm.clearErrors(true)"
-});
-
-isc.IButton.create({
-    ID: "disableValidationButton",
-    autoFit: true,
-    title: "Disable Validation",
-    click: function () {
-        dynamicForm.disableValidation = !dynamicForm.disableValidation;
-        this.setTitle((dynamicForm.disableValidation ? "Enable" : "Disable")+" Validation");
-    }
-});
-
-isc.HStack.create({
-    ID: "buttons",
-    height: 24,
-    membersMargin: 10,
-    members: [saveButton, clearErrorsButton, disableValidationButton]    
-});
-
-isc.VLayout.create({
-    membersMargin: 10,
-    members: [dynamicForm, buttons]
-});
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/dataIntegration/java/uniqueCheckValidation.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-isc.DynamicForm.create({
-    ID: "boundForm",
-    dataSource: "queuing_userHB",
-    wrapItemTitles: false,
-    fields: [
-        {type:"header", defaultValue:"Registration Form"},
-        {name: "email", required: true, validateOnExit: true},
-        {name: "firstName", title: "First name"},
-        {name: "surname", title: "Last name"},
-        {name: "department", title: "Department"},
-        {name: "validateBtn", title: "Validate", type: "button", click: "form.validate()"}
-    ]
-});
--- a/isomorphic/reference/inlineExamples/dataIntegration/java/validationDMI.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-isc.DynamicForm.create({
-    dataSource:"validationDMI_orderForm",
-    fields: [
-        { type:"header", defaultValue:"Add an item to your Order" },
-        { name:"itemId", title:"Item", editorType:"ComboBoxItem", optionDataSource:"StockItem",
-          valueField:"id", displayField:"description" },
-        { name:"quantity", validateOnExit:true },
-        { name:"instructions", editorType:"TextAreaItem" },
-        { type:"submit", title:"Submit Order" }
-    ]
-});
--- a/isomorphic/reference/inlineExamples/dataIntegration/java/velocityValidation.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-isc.DynamicForm.create({
-    dataSource:"velocity_orderForm",
-    fields: [
-        { type:"header", defaultValue:"Add an item to your Order" },
-        { name:"itemId", title:"Item", editorType:"ComboBoxItem", optionDataSource:"StockItem",
-          valueField:"id", displayField:"description" },
-        { name:"quantity", validateOnExit:true },
-        { name:"instructions", editorType:"TextAreaItem" },
-        { type:"submit", title:"Submit Order" }
-    ]
-});
--- a/isomorphic/reference/inlineExamples/dataIntegration/json/contactsData.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-[
-    {
-        name:"Bob Smith",
-        email:"bob@bobco.com",
-        organization:"Bob Co.",
-        phone:"555-1212",
-        address:{street:"55 bob lane", city:"New York", state:"NY", zip:"10021"}
-    },
-    {
-        name:"Emily Smith",
-        email:"emily@bobco.com",
-        organization:"Bob Co.",
-        phone:"555-1212",
-        address:{street:"55 bob lane", city:"New York", state:"NY", zip:"10021"}
-    },
-    {
-        name:"Jim Smith",
-        email:"jim@acmerockets.com",
-        organization:"Acme rockets",
-        phone:"655-2345",
-        address:{street:"66 New Montgomery St.", city:"San Francisco", state:"CA", zip:"94105"}
-    }
-];
--- a/isomorphic/reference/inlineExamples/dataIntegration/json/countries_small.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-[
-    {
-        continent:"North America", 
-        name:"Bermuda", 
-        datacode:"BD", 
-        total_area:50, 
-        population:62099, 
-        gdp_total:1700, 
-        government:"dependent territory of the UK", 
-        capital:"Hamilton"
-    }, 
-    {
-        continent:"North America", 
-        name:"United States", 
-        datacode:"US", 
-        total_area:9372610, 
-        population:266476278, 
-        gdp_total:7247700, 
-        indep_date:new Date(-6106035600000), 
-        government:"federal republic", 
-        capital:"Washington"
-    }, 
-    {
-        continent:"Europe", 
-        name:"Monaco", 
-        datacode:"MN", 
-        total_area:1.9, 
-        population:31719, 
-        gdp_total:788, 
-        indep_date:new Date(-17387884800000), 
-        government:"constitutional monarchy", 
-        capital:"Monaco"
-    }, 
-    {
-        continent:"Europe", 
-        name:"Norway", 
-        datacode:"NO", 
-        total_area:324220, 
-        population:4383807, 
-        gdp_total:106200, 
-        indep_date:new Date(-2025450000000), 
-        government:"constitutional monarchy", 
-        capital:"Oslo"
-    }
-]
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/dataIntegration/json/serverValidationErrors/serverResponse.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-{
-    response : {
-        status: "validation_error",
-        errors: {
-            userName: "A user with this userName already exists"
-        }
-    }
-}
--- a/isomorphic/reference/inlineExamples/dataIntegration/json/serverValidationErrors/serverValidationErrors.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-isc.DataSource.create({
-    ID: "users",
-    dataFormat: "json",
-    dataURL: "/isomorphic/system/reference/inlineExamples/dataIntegration/json/serverValidationErrors/serverResponse.js",
-    fields: [
-        {name: "userName", title: "Username", type: "text", required: true, length: 50},
-        {name: "firstName", title: "First Name", type: "text", required: true, length: 50},
-        {name: "lastName", title: "Last Name", type: "text", required: true, length: 50},
-        {name: "email", title: "Email", type: "text", required: true, length: 100},
-        {name: "password", title: "Password", type: "password", required: true, length: 20}
-    ],
-    transformResponse : function (dsResponse, dsRequest, jsonData) {
-        var status = isc.XMLTools.selectObjects(jsonData, "/response/status");
-        if (status != "success") {
-            dsResponse.status = isc.RPCResponse.STATUS_VALIDATION_ERROR;
-            var errors = isc.XMLTools.selectObjects(jsonData, "/response/errors");
-            dsResponse.errors = errors;
-        }
-    }
-});
-
-isc.DynamicForm.create({
-    ID: "boundForm",
-    dataSource: "users",
-    values : {
-        userName: "bsmith",
-        firstName: "Bob",
-        lastName: "Smith",
-        email: "bob@smith.com",
-        password: "sekrit"
-    }
-});
-
-isc.VLayout.create({
-    members: [
-        boundForm,
-        isc.IButton.create({
-            title: "Save",
-            click : function () {
-                if (boundForm.validate()) boundForm.saveData();
-            }
-        })
-    ]
-});
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/dataIntegration/json/simpleJSON.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-isc.DataSource.create({
-    ID:"countries",
-    dataFormat:"json",
-    dataURL:"/isomorphic/system/reference/inlineExamples/dataIntegration/json/countries_small.js",
-    fields:[
-        {title:"Name", name:"name"},
-        {title:"Population", name:"population"},
-        {title:"Total Area", name:"total_area"},
-        {title:"Government", name:"government"}
-    ]
-});
-
-
-isc.ListGrid.create({
-    width: "100%",
-    height: 150,
-    dataSource: "countries",
-    autoFetchData: true
-});
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/dataIntegration/json/xpathBinding.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-isc.DataSource.create({
-    ID:"contacts",
-    dataFormat:"json",
-    dataURL:"/isomorphic/system/reference/inlineExamples/dataIntegration/json/contactsData.js",
-    fields:[
-        {name:"name"},
-        {name:"email"},
-        {name:"organization"},
-        {name:"phone"},
-        {name:"street", valueXPath:"address/street" },
-        {name:"city", valueXPath:"address/city" },
-        {name:"state", valueXPath:"address/state"},
-        {name:"zip", valueXPath:"address/zip" }
-    ]
-});
-
-isc.ListGrid.create({
-    ID: "boundGrid",
-	dataSource: "contacts",
-	width: "100%",
-	autoFetchData: true
-});
--- a/isomorphic/reference/inlineExamples/dataIntegration/json/yahooWebServices.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-isc.XJSONDataSource.create({
-    ID:"yahooImageSearch",
-    recordXPath:"/ResultSet/Result",
-    dataURL:"http://api.search.yahoo.com/ImageSearchService/V1/imageSearch?appid=YahooDemo&output=json",
-    fields:[
-        {imageHeight:"imageHeight", imageWidth:"imageWidth", width:"150", type:"image", 
-                   valueXPath:"Thumbnail/Url",name:"Thumbnail"},
-        {type:"integer", hidden:true, valueXPath:"Thumbnail/Width", name:"imageWidth"},
-        {type:"integer", hidden:true, valueXPath:"Thumbnail/Height", name:"imageHeight"},
-        {name:"Title"},
-        {name:"Summary"},
-        {target:"_blank", type:"link", title:"Full Image", valueXPath:"Url", name:"FullImage"}
-    ]
-});
-
-isc.SearchForm.create({
-    ID:"searchForm",
-	top: 40,
-    numCols:3,
-    items : [
-        { name:"query", title:"Query", type:"text", defaultValue:"snowboarding" },
-        { type:"button", title:"Search", click:"form.doFetch()", startRow:false }
-    ],
-	doFetch : function () {
-	    imageGrid.fetchData(searchForm.getValuesAsCriteria());
-	}
-});
-
-isc.ListGrid.create({
-    ID:"imageGrid",
-    top:80,
-    width:"100%",
-    height:300,
-    wrapCells:true,
-    fixedRecordHeights:false,
-    showAllRecords:true,
-    alternateRecordStyles:true,
-    dataSource:"yahooImageSearch"
-});
-
-searchForm.doFetch();
-
-
-// required Yahoo attribution image
-isc.HTMLFlow.create({
-	ID: "YahooAttribution",
-    height:31,
-	contents: "<a href='http://developer.yahoo.net/about'>"
-			  +"<img src='http://l.yimg.com/a/i/us/nt/bdg/websrv_88_1.gif' border='0'>"
-			  +"</a>"
-});
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/contacts.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<DataSource 
-    ID="contacts"
-	dataURL="/isomorphic/system/reference/inlineExamples/dataIntegration/xml/contactsData.xml"
-	recordXPath="/contacts/contact"
->
-    <fields>
-	    <field name="name"/>
-	    <field name="email"/>
-	    <field name="organization"/>
-		<field name="phone"/>
-		<field name="street" valueXPath="address/street"/>
-		<field name="city" valueXPath="address/city"/>
-		<field name="state" valueXPath="address/state"/>
-		<field name="zip" valueXPath="address/zip"/>
-    </fields>
-</DataSource>
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/contactsData.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-<contacts>
-    <contact>
-	    <name>Bob Smith</name>
-		<email>bob@bobco.com</email>
-		<organization>Bob Co.</organization>
-		<phone>555-1212</phone>
-	    <address>
-		    <street>55 bob lane</street>
-			<city>New York</city>
-			<state>NY</state>
-			<zip>10021</zip>
-		</address>
-	</contact>
-    <contact>
-	    <name>Emily Smith</name>
-		<email>emily@bobco.com</email>
-		<organization>Bob Co.</organization>
-		<phone>555-1212</phone>
-	    <address>
-		    <street>55 bob lane</street>
-			<city>New York</city>
-			<state>NY</state>
-			<zip>10021</zip>
-		</address>
-	</contact>
-    <contact>
-	    <name>Jim Smith</name>
-		<email>jim@acmerockets.com</email>
-		<organization>Acme rockets</organization>
-		<phone>655-2345</phone>
-	    <address>
-		    <street>66 New Montgomery St.</street>
-			<city>San Francisco</city>
-			<state>CA</state>
-			<zip>94105</zip>
-		</address>
-	</contact>
-</contacts>
-    
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/googleSOAPSearch.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-isc.VLayout.create({
-	width: "100%",
-	height: "100%",
-	members: [
-
-isc.SearchForm.create({
-	ID: "searchForm",
-	numCols: 4,
-	wsdlLoaded: function () {
-		isc.clearPrompt();
-	    var service = isc.WebService.get("urn:GoogleSearch");
-		if (service == null) {
-			isc.warn("WSDL not currently available from Google (tried"
-					+"http://api.google.com/GoogleSearch.wsdl)");
-		}
-    
-        // bind the SearchForm to a DataSource representing the operation inputs
-		this.setDataSource(service.getInputDS("doGoogleSearch"));
-
-        // bind the ListGrid to a DataSource that will show selected operation outputs
-        var googleResults = isc.DataSource.create({
-            serviceNamespace : service.serviceNamespace,
-            wsOperation : "doGoogleSearch",
-            recordName : "ResultElement", 
-            fields : [
-                { name:"URL" },
-                { name:"snippet" },
-                { name:"title" }
-            ]
-        });
-        searchResults.setDataSource(googleResults);
-
-		this.setValues({
-		    key: "/90Hfy0p5FxaC8YOxKoQKFFFfeKUjJWp",
-			q: "[enter search here]",
-			start: 0,
-			maxResults: 10
-		});
-	}
-}),
-
-isc.IButton.create({
-	title: "Search",
-	click: "searchResults.fetchData(searchForm.getValuesAsCriteria())"
-}),
-
-isc.ListGrid.create({
-	ID: "searchResults",
-    fixedRecordHeights:false,
-    showAllRecords:true
-})
-
-]
-});
-
-isc.showPrompt("Loading WSDL from http://api.google.com/GoogleSearch.wsdl");
-isc.XMLTools.loadWSDL("http://api.google.com/GoogleSearch.wsdl", "if(window.searchForm) searchForm.wsdlLoaded()");
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/newsFeed.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<DataSource
-    ID="newsFeed"
-    dataURL="http://rss.slashdot.org/Slashdot/slashdot"
-    recordXPath="//default:item"
->
-    <fields>
-        <field name="title" />
-        <field name="link"  type="link" />
-    </fields>
-</DataSource>
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/operationBinding_dataURL.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,92 +0,0 @@
-isc.DataSource.create({
-    ID:"countryDS",
-    dataFormat:"xml",
-    recordXPath:"//country",
-    fields:[
-        {name:"countryCode", title:"Code", primaryKey:true, canEdit:"false"},
-        {name:"countryName", title:"Country"},
-        {name:"capital", title:"Capital"}
-    ],
-    operationBindings:[
-        {operationType:"fetch",
-         dataURL:"/isomorphic/system/reference/inlineExamples/dataIntegration/xml/responses/country_fetch.xml"
-         },
-        {operationType:"add",
-         dataURL:"/isomorphic/system/reference/inlineExamples/dataIntegration/xml/responses/country_add.xml"
-         },
-        {operationType:"update",
-         dataURL:"/isomorphic/system/reference/inlineExamples/dataIntegration/xml/responses/country_update.xml"
-         },
-        {operationType:"remove",
-         dataURL:"/isomorphic/system/reference/inlineExamples/dataIntegration/xml/responses/country_remove.xml"
-         }
-    ]
-});
-   
-isc.ListGrid.create({
-    ID: "countryList",
-    width:500, height:224, alternateRecordStyles:true,
-    emptyCellValue: "--",
-    dataSource: countryDS,
-    // display a subset of fields from the datasource
-    fields:[
-        {name:"countryCode"},
-        {name:"countryName"},
-        {name:"capital"},
-        {name:"continent"}
-    ],
-    sortFieldNum: 0, // sort by countryCode
-    dataPageSize: 50,
-    autoFetchData:true
-})
-
-
-isc.IButton.create({
-    left:0, top:240, width:150,
-    title:"Add new country",
-    click: function () {
-        countryList.addData(
-            {
-                countryCode: "A1",
-                countryName: "New Value",
-                capital:"New Value",
-                continent:"New Value"
-            }
-        );
-        this.disable();
-    }
-})
-
-isc.IButton.create({
-    left:175, top:240, width:150,
-    title:"Update country (US)",
-    
-    click: function () {
-        countryList.updateData(
-            {
-                countryCode: "US",
-                countryName:"Edited Value",
-                capital:"Edited Value",
-                continent:"Edited Value"
-            }
-        );
-        
-        countryList.selection.selectSingle({countryCode:"US"})
-        this.disable();
-    }
-});
-
-isc.IButton.create({
-    left:350, top:240, width:150,
-    title:"Remove country (UK)",
-    
-    click: function () {
-        countryList.removeData(
-            {
-                countryCode: "UK"
-            }
-        );
-        this.disable();
-    }
-});
-
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/responses/country_add.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<!-- XML response to an add request. Should contain details of the newly added
-     record as stored on the server. 
-     Normally this response would be generated dynamically on the server. -->
-<country>
-    <countryCode>A1</countryCode>
-    <countryName>Saved Value</countryName>
-    <capital>Saved Value</capital>
-    <continent>Saved Value</continent>
-</country>
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/responses/country_add_rest.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- XML response to an add request. Should contain details of the newly added
-     record as stored on the server. 
-     Normally this response would be generated dynamically on the server. -->
-<response>
-    <status>0</status>
-    <data>
-        <record>
-            <countryCode>A1</countryCode>
-            <countryName>Saved Value</countryName>
-            <capital>Saved Value</capital>
-            <continent>Saved Value</continent>
-        </record>
-    </data>
-</response>
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/responses/country_fetch.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,100 +0,0 @@
-<List>
-<country>
-    <continent>North America</continent>
-    <countryName>United States</countryName>
-    <countryCode>US</countryCode>
-    <area>9631420</area>
-    <population>298444215</population>
-    <gdp>12360000</gdp>
-    <independence>1776-07-04</independence>
-    <government>federal republic</government>
-    <government_desc>2</government_desc>
-    <capital>Washington, DC</capital>
-    <member_g8>true</member_g8>
-    <article>http://en.wikipedia.org/wiki/United_states</article>
-</country>
-<country>
-    <continent>Europe</continent>
-    <countryName>Germany</countryName>
-    <countryCode>GM</countryCode>
-    <area>357021</area>
-    <population>82422299</population>
-    <gdp>2504000</gdp>
-    <independence>1871-01-18</independence>
-    <government>federal republic</government>
-    <government_desc>2</government_desc>
-    <capital>Berlin</capital>
-    <member_g8>true</member_g8>
-    <article>http://en.wikipedia.org/wiki/Germany</article>
-</country>
-<country>
-    <continent>Europe</continent>
-    <countryName>United Kingdom</countryName>
-    <countryCode>UK</countryCode>
-    <area>244820</area>
-    <population>60609153</population>
-    <gdp>1830000</gdp>
-    <independence>1801-01-01</independence>
-    <government>constitutional monarchy</government>
-    <government_desc>1</government_desc>
-    <capital>London</capital>
-    <member_g8>true</member_g8>
-    <article>http://en.wikipedia.org/wiki/United_kingdom</article>
-</country>
-<country>
-    <continent>Europe</continent>
-    <countryName>France</countryName>
-    <countryCode>FR</countryCode>
-    <area>547030</area>
-    <population>60876136</population>
-    <gdp>1816000</gdp>
-    <government>republic</government>
-    <government_desc>5</government_desc>
-    <capital>Paris</capital>
-    <member_g8>true</member_g8>
-    <article>http://en.wikipedia.org/wiki/France</article>
-</country>
-<country>
-    <continent>South America</continent>
-    <countryName>Brazil</countryName>
-    <countryCode>BR</countryCode>
-    <area>8511965</area>
-    <population>188078227</population>
-    <gdp>1556000</gdp>
-    <independence>1822-09-07</independence>
-    <government>federative republic</government>
-    <government_desc>3</government_desc>
-    <capital>Brasilia</capital>
-    <member_g8>false</member_g8>
-    <article>http://en.wikipedia.org/wiki/Brazil</article>
-</country>
-<country>
-    <continent>North America</continent>
-    <countryName>Canada</countryName>
-    <countryCode>CA</countryCode>
-    <area>9984670</area>
-    <population>33098932</population>
-    <gdp>1114000</gdp>
-    <independence>1867-07-01</independence>
-    <government>constitutional monarchy with parliamentary democracy and federation</government>
-    <government_desc>1</government_desc>
-    <capital>Ottawa</capital>
-    <member_g8>true</member_g8>
-    <article>http://en.wikipedia.org/wiki/Canada</article>
-</country>
-<country>
-    <continent>North America</continent>
-    <countryName>Mexico</countryName>
-    <countryCode>MX</countryCode>
-    <area>1972550</area>
-    <population>107449525</population>
-    <gdp>1067000</gdp>
-    <independence>1810-09-16</independence>
-    <government>federal republic</government>
-    <government_desc>2</government_desc>
-    <capital>Mexico (Distrito Federal)</capital>
-    <member_g8>false</member_g8>
-    <article>http://en.wikipedia.org/wiki/Mexico</article>
-</country>
-
-</List>
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/responses/country_fetch_rest.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,105 +0,0 @@
-<response>
-  <status>0</status>
-  <startRow>0</startRow>
-  <endRow>7</endRow>
-  <totalRows>7</totalRows>
-  <data>
-    <record>
-        <continent>North America</continent>
-        <countryName>United States</countryName>
-        <countryCode>US</countryCode>
-        <area>9631420</area>
-        <population>298444215</population>
-        <gdp>12360000</gdp>
-        <independence>1776-07-04</independence>
-        <government>federal republic</government>
-        <government_desc>2</government_desc>
-        <capital>Washington, DC</capital>
-        <member_g8>true</member_g8>
-        <article>http://en.wikipedia.org/wiki/United_states</article>
-    </record>
-    <record>
-        <continent>Europe</continent>
-        <countryName>Germany</countryName>
-        <countryCode>GM</countryCode>
-        <area>357021</area>
-        <population>82422299</population>
-        <gdp>2504000</gdp>
-        <independence>1871-01-18</independence>
-        <government>federal republic</government>
-        <government_desc>2</government_desc>
-        <capital>Berlin</capital>
-        <member_g8>true</member_g8>
-        <article>http://en.wikipedia.org/wiki/Germany</article>
-    </record>
-    <record>
-        <continent>Europe</continent>
-        <countryName>United Kingdom</countryName>
-        <countryCode>UK</countryCode>
-        <area>244820</area>
-        <population>60609153</population>
-        <gdp>1830000</gdp>
-        <independence>1801-01-01</independence>
-        <government>constitutional monarchy</government>
-        <government_desc>1</government_desc>
-        <capital>London</capital>
-        <member_g8>true</member_g8>
-        <article>http://en.wikipedia.org/wiki/United_kingdom</article>
-    </record>
-    <record>
-        <continent>Europe</continent>
-        <countryName>France</countryName>
-        <countryCode>FR</countryCode>
-        <area>547030</area>
-        <population>60876136</population>
-        <gdp>1816000</gdp>
-        <government>republic</government>
-        <government_desc>5</government_desc>
-        <capital>Paris</capital>
-        <member_g8>true</member_g8>
-        <article>http://en.wikipedia.org/wiki/France</article>
-    </record>
-    <record>
-        <continent>South America</continent>
-        <countryName>Brazil</countryName>
-        <countryCode>BR</countryCode>
-        <area>8511965</area>
-        <population>188078227</population>
-        <gdp>1556000</gdp>
-        <independence>1822-09-07</independence>
-        <government>federative republic</government>
-        <government_desc>3</government_desc>
-        <capital>Brasilia</capital>
-        <member_g8>false</member_g8>
-        <article>http://en.wikipedia.org/wiki/Brazil</article>
-    </record>
-    <record>
-        <continent>North America</continent>
-        <countryName>Canada</countryName>
-        <countryCode>CA</countryCode>
-        <area>9984670</area>
-        <population>33098932</population>
-        <gdp>1114000</gdp>
-        <independence>1867-07-01</independence>
-        <government>constitutional monarchy with parliamentary democracy and federation</government>
-        <government_desc>1</government_desc>
-        <capital>Ottawa</capital>
-        <member_g8>true</member_g8>
-        <article>http://en.wikipedia.org/wiki/Canada</article>
-    </record>
-    <record>
-        <continent>North America</continent>
-        <countryName>Mexico</countryName>
-        <countryCode>MX</countryCode>
-        <area>1972550</area>
-        <population>107449525</population>
-        <gdp>1067000</gdp>
-        <independence>1810-09-16</independence>
-        <government>federal republic</government>
-        <government_desc>2</government_desc>
-        <capital>Mexico (Distrito Federal)</capital>
-        <member_g8>false</member_g8>
-        <article>http://en.wikipedia.org/wiki/Mexico</article>
-    </record>
-  </data>
-</response>
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/responses/country_remove.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<!-- XML response to an remove request. Should contain the primary key field of
-     the record that was removed from the server-side data set. 
-     Normally this response would be generated dynamically on the server. -->
-<country>
-    <countryCode>UK</countryCode>
-</country>
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/responses/country_remove_rest.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<!-- XML response to an remove request. Should contain the primary key field of
-     the record that was removed from the server-side data set. 
-     Normally this response would be generated dynamically on the server. -->
-<response>
-  <status>0</status>
-  <data>
-    <record>
-      <countryCode>UK</countryCode>
-    </record>
-  </data>
-</response>
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/responses/country_update.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-<!-- XML response to an update request. Should contain details of the updated record
-     which will be integrated into the client data cache. 
-     Normally this response would be generated dynamically on the server. -->
-<country>
-    <countryCode>US</countryCode>    
-    <continent>Saved Value</continent>
-    <countryName>Saved Value</countryName>
-    <capital>Saved Value</capital>
-    
-    <area>9631420</area>
-    <population>298444215</population>
-    <gdp>12360000</gdp>
-    <independence>1776-07-04</independence>
-    <government>federal republic</government>
-    <government_desc>2</government_desc>
-    <member_g8>true</member_g8>
-    <article>http://en.wikipedia.org/wiki/United_states</article>
-</country>
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/responses/country_update_rest.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<!-- XML response to an update request. Should contain details of the updated record
-     which will be integrated into the client data cache. 
-     Normally this response would be generated dynamically on the server. -->
-<response>
-  <status>0</status>
-  <data>
-    <record>
-      <countryCode>US</countryCode>    
-      <continent>Saved Value</continent>
-      <countryName>Saved Value</countryName>
-      <capital>Saved Value</capital>
-    
-      <area>9631420</area>
-      <population>298444215</population>
-      <gdp>12360000</gdp>
-      <independence>1776-07-04</independence>
-      <government>federal republic</government>
-      <government_desc>2</government_desc>
-      <member_g8>true</member_g8>
-      <article>http://en.wikipedia.org/wiki/United_states</article>
-  </record>
-  </data>
-</response>
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/restDS_operationBinding.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-isc.RestDataSource.create({
-    ID:"countryDS",
-    fields:[
-        {name:"countryCode", title:"Code", primaryKey:true, canEdit:false},
-        {name:"countryName", title:"Country"},
-        {name:"capital", title:"Capital"}
-    ],
-    
-    fetchDataURL:"/isomorphic/system/reference/inlineExamples/dataIntegration/xml/responses/country_fetch_rest.xml",
-    addDataURL :"/isomorphic/system/reference/inlineExamples/dataIntegration/xml/responses/country_add_rest.xml",
-    updateDataURL:"/isomorphic/system/reference/inlineExamples/dataIntegration/xml/responses/country_update_rest.xml",
-    removeDataURL:"/isomorphic/system/reference/inlineExamples/dataIntegration/xml/responses/country_remove_rest.xml"
-    
-        
-});
-   
-isc.ListGrid.create({
-    ID: "countryList",
-    width:500, height:224, alternateRecordStyles:true,
-    emptyCellValue: "--",
-    dataSource: countryDS,
-    // display a subset of fields from the datasource
-    fields:[
-        {name:"countryCode"},
-        {name:"countryName"},
-        {name:"capital"},
-        {name:"continent"}
-    ],
-    sortFieldNum: 0, // sort by countryCode
-    dataPageSize: 50,
-    autoFetchData:true
-})
-
-
-isc.IButton.create({
-    left:0, top:240, width:150,
-    title:"Add new country",
-    click: function () {
-        countryList.addData(
-            {
-                countryCode: "A1",
-                countryName: "New Value",
-                capital:"New Value",
-                continent:"New Value"
-            }
-        );
-        this.disable();
-    }
-})
-
-isc.IButton.create({
-    left:175, top:240, width:150,
-    title:"Update country (US)",
-    
-    click: function () {
-        countryList.updateData(
-            {
-                countryCode: "US",
-                countryName:"Edited Value",
-                capital:"Edited Value",
-                continent:"Edited Value"
-            }
-        );
-        
-        countryList.selection.selectSingle({countryCode:"US"})
-        this.disable();
-    }
-});
-
-isc.IButton.create({
-    left:350, top:240, width:150,
-    title:"Remove country (UK)",
-    
-    click: function () {
-        countryList.removeData(
-            {
-                countryCode: "UK"
-            }
-        );
-        this.disable();
-    }
-});
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/rssFeed.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-isc.DataSource.create({
-    ID: "newsFeed",
-    dataURL: "http://rss.slashdot.org/Slashdot/slashdot",
-    recordXPath: "//item | //default:item",
-    fields: [
-        { name: "title" },
-        { name: "link", type: "link" }
-    ]
-});
-
-isc.ListGrid.create({
-    ID: "newsViewer",
-	width: "100%",
-    height:"300",
-	dataSource:"newsFeed",
-	autoFetchData: "true"
-});
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/rssFeed.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<ListGrid
-    ID="newsViewer"
-    width="100%"
-    height="300"
-    dataSource="newsFeed"
-    autoFetchData="true"
-/>
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/schemaChaining.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-isc.IButton.create({
-    ID:"loadButton",
-    title: "Load Schema",
-    click : function () {
-        isc.XMLTools.loadXMLSchema("/isomorphic/system/reference/inlineExamples/dataIntegration/xml/supplyItem.xsd", 
-                                   this.getID()+".loadXMLSchemaReply(schemaSet)");
-    },
-    loadXMLSchemaReply : function (schemaSet) {
-        var schemaDS = schemaSet.getSchema("supplyItem");
-
-        var ds = isc.DataSource.create({
-            inheritsFrom:schemaDS,
-            useParentFieldOrder:true,
-            fields:[
-                {name:"itemId", hidden:true, primaryKey:true},
-                {name:"itemName", title:"item name"},
-                {name:"nextShipment", useTextField:true, title:"next shipment" }
-            ]
-        });
-        listGrid.setDataSource(ds);
-        dynamicForm.setDataSource(ds);
-
-        // to demonstrate grid editors, add sample data and start editing
-        listGrid.setData([{ itemId:123, itemName:"Sample Item" }]);        
-        listGrid.startEditing();
-
-        // to demonstrate validation, use values that will fail validation
-        dynamicForm.setValue("unitCost", -1.234);
-        dynamicForm.setValue("SKU", "thisSkuIsWayTooLong");
-        validateButton.enable();
-    }
-});
-
-
-isc.ListGrid.create({ ID: "listGrid", canEdit:true });
-
-isc.DynamicForm.create({ ID: "dynamicForm" });
-
-isc.IButton.create({
-    ID: "validateButton",
-    title: "Validate",
-    click: "dynamicForm.validate()",
-    enabled: false,
-    top: 450
-});
-
-isc.VLayout.create({
-    width:"100%",
-    height:"100%",
-    membersMargin:10,
-    members:[loadButton, listGrid, dynamicForm, validateButton]
-});
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/serverValidationErrors/serverResponse.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<response>
-    <status>validation_error</status>
-    <errors>
-        <userName>A user with this userName already exists</userName>
-    </errors>
-</response>
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/serverValidationErrors/serverValidationErrors.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-isc.DataSource.create({
-    ID: "users",
-    dataFormat: "xml",
-    dataURL: "/isomorphic/system/reference/inlineExamples/dataIntegration/xml/serverValidationErrors/serverResponse.xml",
-    fields: [
-        {name: "userName", title: "Username", type: "text", required: true, length: 50},
-        {name: "firstName", title: "First Name", type: "text", required: true, length: 50},
-        {name: "lastName", title: "Last Name", type: "text", required: true, length: 50},
-        {name: "email", title: "Email", type: "text", required: true, length: 100},
-        {name: "password", title: "Password", type: "password", required: true, length: 20}
-    ],
-    transformResponse : function (dsResponse, dsRequest, xmlData) {
-        var status = isc.XMLTools.selectString(xmlData, "/response/status");
-        if (status != "success") {
-            dsResponse.status = isc.RPCResponse.STATUS_VALIDATION_ERROR;
-            var errors = isc.XMLTools.selectNodes(xmlData, "/response/errors");
-            dsResponse.errors = isc.XMLTools.toJS(errors);
-        }
-    }
-});
-
-isc.DynamicForm.create({
-    ID: "boundForm",
-    dataSource: "users",
-    values : {
-        userName: "bsmith",
-        firstName: "Bob",
-        lastName: "Smith",
-        email: "bob@smith.com",
-        password: "sekrit"
-    }
-});
-
-isc.VLayout.create({
-    members: [
-        boundForm,
-        isc.IButton.create({
-            title: "Save",
-            click : function () {
-                if (boundForm.validate()) boundForm.saveData();
-            }
-        })
-    ]
-});
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/supplyItem.xsd	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" 
-            targetNamespace="urn:datasources.smartclient.com"
-            xmlns:tns="urn:datasources.smartclient.com"
-            xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
-    <xsd:complexType name="supplyItem">
-        <xsd:element name="itemName" minOccurs="1">
-            <xsd:simpleType>
-                <xsd:restriction base="xsd:string">
-                    <xsd:minLength value="1"/>
-                    <xsd:maxLength value="128"/>
-                </xsd:restriction>
-            </xsd:simpleType>
-        </xsd:element>
-        <xsd:element name="SKU" minOccurs="1">
-            <xsd:simpleType>
-                <xsd:restriction base="xsd:string">
-                    <xsd:minLength value="1"/>
-                    <xsd:maxLength value="10"/>
-                </xsd:restriction>
-            </xsd:simpleType>
-        </xsd:element>
-        <xsd:element name="description">
-            <xsd:simpleType>
-                <xsd:restriction base="xsd:string">
-                    <xsd:maxLength value="2000"/>
-                </xsd:restriction>
-            </xsd:simpleType>
-        </xsd:element>
-        <xsd:element name="category" minOccurs="1">
-            <xsd:simpleType>
-                <xsd:restriction base="xsd:string">
-                    <xsd:minLength value="1"/>
-                    <xsd:maxLength value="128"/>
-                </xsd:restriction>
-            </xsd:simpleType>
-        </xsd:element>
-
-        <xsd:element name="units" minOccurs="1">
-            <xsd:simpleType>
-                <xsd:restriction base="xsd:string">
-                    <xsd:enumeration value="Roll"/>
-                    <xsd:enumeration value="Ea"/>
-                    <xsd:enumeration value="Pkt"/>
-                    <xsd:enumeration value="Set"/>
-                    <xsd:enumeration value="Tube"/>
-                    <xsd:enumeration value="Pad"/>
-                    <xsd:enumeration value="Ream"/>
-                    <xsd:enumeration value="Tin"/>
-                    <xsd:enumeration value="Bag"/>
-                    <xsd:enumeration value="Ctn"/>
-                    <xsd:enumeration value="Box"/>
-                </xsd:restriction>
-                <xsd:restriction base="xsd:string">
-                    <xsd:minLength value="1"/>
-                </xsd:restriction>
-            </xsd:simpleType>  
-        </xsd:element>
-
-        <xsd:element name="unitCost">
-            <xsd:simpleType>
-                <xsd:restriction base="xsd:float">
-                    <xsd:minInclusive value="0"/>
-                    <xsd:fractionDigits value="2"/>
-                </xsd:restriction>
-            </xsd:simpleType>
-        </xsd:element>
-
-        <xsd:element name="inStock"        type="xsd:boolean"/>
-        <xsd:element name="nextShipment"   type="xsd:date"/>
-    </xsd:complexType>
-</xsd:schema>
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/weatherForecastSearch.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-isc.VLayout.create({
-	width: "100%",
-	height: "100%",
-	members: [
-
-isc.SearchForm.create({
-	ID: "searchForm",
-	wsdlLoaded: function () {
-		isc.clearPrompt();
-	    var service = isc.WebService.get("http://ws.cdyne.com/WeatherWS/");
-		if (service == null) {
-			isc.warn("WSDL not currently available from service (tried "
-					+"http://ws.cdyne.com/WeatherWS/Weather.asmx?wsdl)");
-		}
-    
-        // bind the SearchForm to a DataSource representing the operation inputs
-		this.setDataSource(service.getInputDS("GetCityForecastByZIP"));
-
-        // bind the ListGrid to a DataSource that will show selected operation outputs
-        var results = isc.DataSource.create({
-            serviceNamespace : service.serviceNamespace,
-            xmlNamespaces: {cdyne:"http://ws.cdyne.com/WeatherWS/"},
-            wsOperation : "GetCityForecastByZIP",
-            recordName:"Forecast",
-            fields : [
-                { name:"Date", type:"date", align:"left" },
-                { name:"Desciption" },
-                { name:"MorningLow", valueXPath:"cdyne:Temperatures/cdyne:MorningLow", width: 80},
-                { name:"DaytimeHigh", valueXPath:"cdyne:Temperatures/cdyne:DaytimeHigh", width: 80 }
-            ]
-        });
-        searchResults.setDataSource(results);
-	}
-	
-}),
-
-isc.IButton.create({
-	title: "Search",
-	click: "searchResults.fetchData(searchForm.getValuesAsCriteria())"
-}),
-
-isc.ListGrid.create({
-	ID: "searchResults",
-    fixedRecordHeights:false,
-    showAllRecords:true
-})
-
-]
-});
-
-isc.showPrompt("Loading WSDL from http://ws.cdyne.com/WeatherWS/Weather.asmx?wsdl");
-isc.XMLTools.loadWSDL("http://ws.cdyne.com/WeatherWS/Weather.asmx?wsdl", "searchForm.wsdlLoaded()");
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/wsdlWebServiceOperations.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-// form to take user input of zipcode, and display city returned from web service
-isc.DynamicForm.create({
-    ID:"zipForm",
-    left:50, top:50, numCols:3, cellSpacing:5,
-    items:[
-        {name:"ZipCode", keyPress: "if(keyName == 'Enter') form.callService()"},
-        {type:"button", startRow:false, title:"Find City", click:"form.callService()"},
-        {name:"City", type:"staticText"}
-    ],
-	callService: function () {
-        if (!this.zipCodeService) {
-            isc.say("Please try again in a moment  - still loading web service descriptor");
-            return;
-        }
-        this.setValue('City', 'Loading...');
-		// call the web service
-	    this.zipCodeService.callOperation(
-        	"GetInfoByZIP",                         // operation name
-    	    {USZip:zipForm.getValue("ZipCode")},    // inbound data for operation
-	        "//CITY",                               // XPath, Type, or ElementName to extract result
-    	    "zipForm.setValue('City', data[0])"     // script to execute when operation returns
-	    );
-	}
-});
-
-
-// load the zipcode-lookup web-service description
-isc.XMLTools.loadWSDL(
-    "http://www.webservicex.net/uszip.asmx?WSDL", // URL to load WSDL from
-    "if (window.zipForm) zipForm.zipCodeService = service" // script to execute when description is loaded.
-);
-
-
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/xmlSchemaImport.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-isc.IButton.create({
-    ID:"loadButton",
-    title: "Load Schema",
-    click : function () {
-        isc.XMLTools.loadXMLSchema("/isomorphic/system/reference/inlineExamples/dataIntegration/xml/supplyItem.xsd", 
-                                   this.getID()+".loadXMLSchemaReply(schemaSet)");
-    },
-    loadXMLSchemaReply : function (schemaSet) {
-        var ds = schemaSet.getSchema("supplyItem");
-        listGrid.setDataSource(ds);
-        dynamicForm.setDataSource(ds);
-
-        // to demonstrate grid editors, add sample data and start editing
-        listGrid.setData([{ itemId:123, itemName:"Sample Item" }]);        
-        listGrid.startEditing();
-
-        // to demonstrate validation, use values that will fail validation
-        dynamicForm.setValue("unitCost", -1.234);
-        dynamicForm.setValue("SKU", "thisSkuIsWayTooLong");
-        validateButton.enable();
-    }
-});
-
-
-isc.ListGrid.create({ ID: "listGrid", canEdit:true });
-
-isc.DynamicForm.create({ ID: "dynamicForm" });
-
-isc.IButton.create({
-    ID: "validateButton",
-    title: "Validate",
-    click: "dynamicForm.validate()",
-    enabled: false
-});
-
-isc.VLayout.create({
-    width:"100%",
-    height:"100%",
-    membersMargin:10,
-    members:[loadButton, listGrid, dynamicForm, validateButton]
-});
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/xpathBinding.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-isc.DataSource.create({
-    ID:"contacts",
-    dataFormat:"xml",
-    recordXPath:"//contact",
-    dataURL:"/isomorphic/system/reference/inlineExamples/dataIntegration/xml/contactsData.xml",
-    fields:[
-        {name:"name"},
-        {name:"email"},
-        {name:"organization"},
-        {name:"phone"},
-        {name:"street", valueXPath:"address/street"},
-        {name:"city", valueXPath:"address/city"},
-        {name:"state", valueXPath:"address/state"},
-        {name:"zip", valueXPath:"address/zip"}
-    ]
-});
-
-isc.ListGrid.create({
-    ID: "boundGrid",
-    dataSource: "contacts",
-    width: "100%",
-    autoFetchData: true
-});
--- a/isomorphic/reference/inlineExamples/dataIntegration/xml/yahooWebServices.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-isc.DataSource.create({
-    ID:"yahooImageSearch",
-    xmlNamespaces : {yahoo:"urn:yahoo:srchmi"},  
-    recordXPath:"/yahoo:ResultSet/yahoo:Result",
-    dataURL:"http://api.search.yahoo.com/ImageSearchService/V1/imageSearch",
-    fields:[
-        {imageHeight:"imageHeight", imageWidth:"imageWidth", width:"150", type:"image", 
-                   valueXPath:"yahoo:Thumbnail/yahoo:Url",name:"Thumbnail"},
-        {type:"integer", hidden:true, valueXPath:"yahoo:Thumbnail/yahoo:Width", 
-                    name:"imageWidth"},
-        {type:"integer", hidden:true, valueXPath:"yahoo:Thumbnail/yahoo:Height", 
-                     name:"imageHeight"},
-        {name:"Title"},
-        {name:"Summary"},
-        {target:"_blank", type:"link", title:"Full Image", valueXPath:"yahoo:Url", 
-                   name:"FullImage"}
-    ]
-});
-
-isc.SearchForm.create({
-    ID:"searchForm",
-	top: 40,
-    numCols:3,
-    items : [
-        { name:"query", title:"Query", type:"text", defaultValue:"snowboarding" },
-        { type:"button", title:"Search", click:"form.doFetch()", startRow:false },
-        // appid must part of form post
-        { type:"hidden", name: "appid", defaultValue:"YahooDemo"}
-
-    ],
-	doFetch : function () {
-	    imageGrid.fetchData(searchForm.getValuesAsCriteria());
-	}
-});
-
-isc.ListGrid.create({
-    ID:"imageGrid",
-    top:80,
-    width:"100%",
-    height:300,
-    wrapCells:true,
-    fixedRecordHeights:false,
-    showAllRecords:true,
-    alternateRecordStyles:true,
-    dataSource:"yahooImageSearch"
-});
-
-searchForm.doFetch();
-
-
-// required Yahoo attribution image
-isc.HTMLFlow.create({
-	ID: "YahooAttribution",
-    height:30,
-	contents: "<a href='http://developer.yahoo.net/about'>"
-			  +"<img src='http://l.yimg.com/a/i/us/nt/bdg/websrv_88_1.gif' border='0'>"
-			  +"</a>"
-});
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/advancedFilter/advancedFilterHibernate.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-isc.FilterBuilder.create({
-    ID:"advancedFilter",
-    dataSource:"supplyItemHB"
-});
-
-isc.ListGrid.create({
-    ID: "itemList",
-    width:550, height:224, alternateRecordStyles:true, 
-    dataSource: supplyItemHB,
-    fields:[
-        {name:"itemName", width: "35%"},
-        {name:"SKU", width: "15%"},
-        {name:"description", width: "35%"},
-        {name:"unitCost", width: "15%"}
-    ],
-    autoFetchData: true
-})
-
-isc.IButton.create({
-    ID:"filterButton",
-    title:"Filter",
-    click : function () {
-        itemList.filterData(advancedFilter.getCriteria());
-    }
-})
-
-isc.VStack.create({
-    membersMargin:10,
-    members:[ advancedFilter, filterButton, itemList ]
-})
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/autoTransactions/autoTransactions.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-isc.ListGrid.create({
-    ID: "allSupplyItemsList",
-    width: 300,
-    height: 224,
-    canDragRecordsOut: true,
-    dragDataAction: "move",
-    dataSource: supplyItemHB,
-    autoFetchData: true,
-    fields: [
-        {name:"itemName"},
-        {name:"SKU"}, 
-        {name:"category"}
-    ]
-});
-
-isc.ListGrid.create({
-    ID: "sundriesSupplyItemsList",
-    width: 300,
-    height: 224,
-    left: 320,
-    canAcceptDroppedRecords: true,
-    dataSource: supplyItemHB,
-    fields: [
-        {name:"itemName"},
-        {name:"SKU"}, 
-        {name:"category"}
-    ]
-});
-
-sundriesSupplyItemsList.fetchData({category: "Office Machine Sundries"});
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/Address.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.server.flattenedBeans.Address" table="flattenedBeans_address" >
-        <id name="id">
-            <generator class="native"/>
-        </id>
-        <property name="line1" type="string" />
-        <property name="line2" type="string" />
-        <property name="city" type="string" />
-        <property name="state" type="string" />
-        <property name="zip" type="string" />
-        <property name="country" type="string" />
-    </class>
-</hibernate-mapping>
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/Address.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Flattened Beans example
-//
-// Address Bean - to be managed by Hibernate
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.flattenedBeans;
-
-import java.io.Serializable;
-
-public class Address implements Serializable {
-
-    protected Long id;
-    protected String line1;
-    protected String line2;
-    protected String city;
-    protected String state;
-    protected String zip;
-    protected String country;
-
-    public Address() { }
-
-    // Getters
-    public Long getId() { return id; }
-    public String getLine1() { return line1; }
-    public String getLine2() { return line2; }
-    public String getCity() { return city; }
-    public String getState() { return state; }
-    public String getZip() { return zip; }
-    public String getCountry() { return country; }
-
-    // Setters
-    public void setId(Long value) { id = value; }
-    public void setLine1(String value) { line1 = value; }
-    public void setLine2(String value) { line2 = value; }
-    public void setCity(String value) { city = value; }
-    public void setState(String value) { state = value; }
-    public void setZip(String value) { zip = value; }
-    public void setCountry(String value) { country = value; }
-    
-    public boolean equals(Object other) {
-        if (this == other) return true;
-        if (!(other instanceof Address)) return false;
-        Address otherAddr = (Address)other;
-        if (this.id == null || otherAddr.id == null) return false;
-        return this.id.equals(otherAddr.id);
-    }
-    
-    public int hashCode() {
-        return 0;
-    }
-    
-}
-
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/FlatUser.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.server.flattenedBeans.FlatUser" table="flattenedBeans_flatUser" >
-        <id name="userId">
-            <generator class="native"/>
-        </id>
-        <property name="firstName" type="string" />
-        <property name="surname" type="string" />
-        <property name="email" type="string" />
-
-        <many-to-one name="address" 
-        			 column="addressId"
-        			 unique="true"
-                     cascade="all"
-                     lazy="false"
-                     fetch="join" />
-
-        </class>
-</hibernate-mapping>
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/FlatUser.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Data Selection example
-//
-// FlatUser Bean - to be managed by Hibernate
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.flattenedBeans;
-
-import java.io.Serializable;
-
-public class FlatUser implements Serializable {
-
-    protected Long userId;
-    protected String firstName;
-    protected String surname;
-    protected String email;
-    protected Address address = new Address();
-    protected String password;
-
-    // In a complete system, User objects are typically related to several other entities
-    // similar to the samples commented out below.  Naive data delivery systems send 
-    // all related entities to the browser unless extra code is written to define exactly
-    // what to send.  By contrast, SmartClient Server delivers just those fields defined in
-    // the DataSource, if DataSource.dropExtraFields is set.  Using the DataSource definition 
-    // to select and trim data in this way avoids extra work and makes it easy to audit 
-    // exactly what data is visible to users.
-    //
-    // Collection<Account> accounts;
-    // Collection<Project> projects;
-    
-    
-    public FlatUser() { }
-
-    // Getters
-    public Long getUserId() { return userId; }
-    public String getFirstName() { return firstName; }
-    public String getSurname() { return surname; }
-    public String getEmail() { return email; }
-    public Address getAddress() { return address; }
-    public String getPassword() { return password; }
-
-    // Setters
-    public void setUserId(Long value) { userId = value; }
-    public void setFirstName(String value) { firstName = value; }
-    public void setSurname(String value) { surname = value; }
-    public void setEmail(String value) { email = value; }
-    public void setAddress(Address value) { address = value; }
-    public void setPassword(String value) { password = value; }
-    
-}
-
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/flattenedBeans.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-
-isc.ListGrid.create({
-    ID: "userListGrid",
-    width: 600, height: 164,
-    autoDraw: true,
-    dataSource: "flattenedBeans_flatUserHB",
-    autoFetchData: true,
-    fields: [
-        { name: "firstName" },
-        { name: "surname" },
-        { name: "email" },
-        { name: "addressLine1" },
-        { name: "city" },
-        { name: "state" }
-    ],
-    selectionChanged: function (record, state) {
-        if (state) {
-            editorForm.editRecord(record);
-        }
-    }
-});
-
-isc.DynamicForm.create({
-    ID: "editorForm",
-    width: 280, top: 180,
-    dataSource: "flattenedBeans_flatUserHB",
-    fields: [
-        { name: "firstName", title: "First Name" },
-        { name: "surname", title: "Surname" },
-        { name: "email", title: "Email address" },
-        { name: "addressLine1", title: "Address Line 1" },
-        { name: "city", title: "City" },
-        { name: "state", title: "State" }
-    ]
-
-});
-
-isc.IButton.create({
-    title: "Add User", 
-    top: 190, left: 300,
-    click: "editorForm.editNewRecord();"
-});
-
-isc.IButton.create({
-    title: "Save Changes", 
-    top: 220, left: 300,
-    click: "editorForm.saveData();"
-});
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/flattenedBeans_flatUserHB.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<DataSource
-    ID="flattenedBeans_flatUserHB"
-    serverType="hibernate"
-    beanClassName="com.isomorphic.examples.server.flattenedBeans.FlatUser"
-    testFileName="/examples/shared/ds/serverExamples/test_data/flattenedBeans_flatUserHB.data.xml"
-    dropExtraFields="true"
->
-    <fields>
-        <field name="userId" type="sequence" primaryKey="true" canEdit="false" />
-        <field name="firstName" type="text" />
-        <field name="surname" type="text" />
-        <field name="email" type="text" />
-        <field name="addressLine1" type="text" valueXPath="address/line1" />
-        <field name="city" type="text" valueXPath="address/city" />
-        <field name="state" type="text" valueXPath="address/state" />
-        <field name="zip" type="text" valueXPath="address/zip" hidden="true" />
-        <field name="country" type="text" valueXPath="address/country" hidden="true" />
-    </fields>
-    
-</DataSource>
- 
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/hibernateConnector.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-
-isc.ListGrid.create({
-    ID: "worldList",
-    width:700, height:224, alternateRecordStyles:true, 
-    dataSource: worldHB,
-    autoFetchData: true,
-    showFilterEditor: true,
-    canEdit: true,
-    editEvent: "click",
-    canRemoveRecords: true,
-    fields: [
-        { name:"countryCode", title:"Code", width:50 },
-        { name:"countryName", title:"Country" },
-        { name:"capital", title:"Capital" },
-        { name:"government", title:"Government" },
-        { name:"continent", title:"Continent" },
-        { name:"independence", title:"Nationhood" },
-        { name:"area", title:"Area (km&amp;sup2;)" },
-        { name:"population", title:"Population" },
-        { name:"gdp", title:"GDP ($M)" }
-    ]
-});
-
-isc.Button.create({
-    ID: "newButton",
-    top: 230,
-    title: "Add New",
-    click: "worldList.startEditingNew();"
-});
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/largeValueMap/ValMapOrderItem.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping auto-import="false">
-    <class name="com.isomorphic.examples.server.largeValueMapHibernate.ValMapOrderItem" table="valMapOrderItem" >
-        <id name="pk">
-            <generator class="native"/>
-        </id>
-        <property name="orderID" type="long" />
-        <property name="orderDate" type="date" />
-        <property name="unitPrice" type="double" />
-        <property name="quantity" type="long" />
-
-        <many-to-one name="item" 
-        			 column="`itemID`"
-                     class="com.isomorphic.examples.server.largeValueMapHibernate.ValMapSupplyItem" 
-                     update="false"
-                     insert="false"
-                     lazy="false"
-                     fetch="join" />
-    </class>
-</hibernate-mapping>
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/largeValueMap/ValMapOrderItem.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Large Valuemap example (Hibernate)
-//
-// OrderItem Bean - to be managed by Hibernate
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.largeValueMapHibernate;
-
-import java.util.Date;
-import java.io.Serializable;
-
-public class ValMapOrderItem implements Serializable {
-
-    // this bean has no business logic.  It simply stores data in these instance variables.
-    protected Long pk;
-    protected Long orderID;
-    protected Date orderDate;
-    protected double unitPrice;
-    protected Long quantity;
-    protected ValMapSupplyItem item;
-
-    public ValMapOrderItem() { }
-
-    // Getters
-    public ValMapSupplyItem getItem() { return item; }
-    public Date getOrderDate() { return orderDate; }
-    public Long getOrderID() { return orderID; }
-    public Long getPk() { return pk; }
-    public Long getQuantity() { return quantity; }
-    public double getUnitPrice() { return unitPrice; }
-
-    // Setters
-    public void setItem(ValMapSupplyItem item) { this.item = item; }
-    public void setOrderDate(Date orderDate) { this.orderDate = orderDate; }
-    public void setOrderID(Long orderID) { 
-        this.orderID = orderID; 
-    }
-    public void setPk(Long pk) { this.pk = pk; }
-    public void setQuantity(Long quantity) { this.quantity = quantity; }
-    public void setUnitPrice(double unitPrice) { this.unitPrice = unitPrice; }
-    
-}
-
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/largeValueMap/ValMapSupplyItem.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.server.largeValueMapHibernate.ValMapSupplyItem" table="supplyItem">
-        <id name="itemID">
-            <generator class="native"/>
-        </id>
-        <property name="itemName" />
-        <property name="SKU" />
-        <property name="description" />
-        <property name="category" />
-        <property name="units" />
-        <property name="unitCost" type="double" />
-        <property name="inStock" type="boolean" />
-        <property name="nextShipment" type="date" />
-    </class>
-</hibernate-mapping>
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/largeValueMap/ValMapSupplyItem.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Java server integration example
-//
-// SupplyItem Bean - for the Hibernate Large Value Map example
-//
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.largeValueMapHibernate;
-
-import java.util.Date;
-import java.io.Serializable;
-
-public class ValMapSupplyItem implements Serializable {
-
-    public ValMapSupplyItem() { }
-
-    // when receiving data from client-side SmartClient components, SmartClient will call these
-    // setters to modify properties.  The setters are found via the Java Beans naming
-    // convention, for example, a DataSource field named "category" will be applied via a
-    // setter called setCategory().
-    public void setItemID(Long id) { itemID = id; }
-    public void setSKU(String sku) { SKU = sku; }
-    public void setCategory(String c) { category = c; }
-    public void setItemName(String name) { itemName = name; }
-    public void setDescription(String d) { description = d; }
-    public void setUnitCost(double cost) { unitCost = cost; }
-    public void setUnits(String newUnits) { units = newUnits; }
-    public void setInStock(boolean val) { inStock = val; }
-    public void setNextShipment(Date date) { nextShipmentDate = date; }
-
-    // SmartClient will call these getters when serializing a Java Bean to be transmitted to
-    // client-side components.
-    public Long getItemID() { return itemID; }
-    public String getSKU() { return SKU; }
-    public String getCategory() { return category; }
-    public String getItemName() { return itemName; }
-    public String getDescription() { return description; }
-    public double getUnitCost() { return unitCost; }
-    public String getUnits() { return units; }
-    public boolean getInStock() { return inStock; }
-    public Date getNextShipment() { return nextShipmentDate; }
-
-    // this bean has no business logic.  It simply stores data in these instance variables.
-    protected Long itemID;
-    protected String SKU;
-    protected String category;
-    protected String itemName;
-    protected String description;
-    protected double unitCost;
-    protected String units;
-    protected boolean inStock;
-    protected Date nextShipmentDate;
-}
-
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/largeValueMap/largeValueMapHibernate.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-isc.ListGrid.create({
-    ID: "orderItemList",
-    width:700, height:224, alternateRecordStyles:true, 
-    dataSource: largeValueMap_orderItemHB,
-    fields:[
-        {name: "orderID"},
-        {name: "item", title: "Item Name", displayField: "itemName", width: "50%"},
-        {name: "quantity"},
-        {name: "unitPrice"}
-    ],
-    autoFetchData: true
-});
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/largeValueMap/largeValueMap_orderItemHB.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<DataSource
-    ID="largeValueMap_orderItemHB"
-    serverType="hibernate"
-    beanClassName="com.isomorphic.examples.server.largeValueMapHibernate.ValMapOrderItem"
->
-    <fields>
-        <field name="pk" type="sequence" primaryKey="true" hidden="true" />
-        <field name="orderID" type="long" />
-        <field name="orderDate" type="date" />
-        <field name="itemID" type="text" valueXPath="item/itemID" />
-        <field name="unitPrice" type="double" />
-        <field name="quantity" type="long" />
-        <field name="itemName" type="text" valueXPath="item/itemName" />
-    </fields>
-    
-</DataSource>
- 
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/masterDetail/Order.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.server.masterDetail.Order" table="masterDetail_order" >
-        <id name="orderID" type="long">
-            <generator class="native"/>
-        </id>
-        <property name="customerName" type="string" />
-        <property name="orderDate" type="date" />
-
-        <set name="items" cascade="all" lazy="true">
-        	<key column="orderID"/>
-        	<one-to-many class="com.isomorphic.examples.server.masterDetail.OrderItem"/>
-        </set>        
-        <property name="trackingNumber" type="long" />
-        
-    </class>
-</hibernate-mapping>
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/masterDetail/Order.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Master-Detail load and save example (Hibernate)
-//
-// Order Bean - to be managed by Hibernate
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.masterDetail;
-
-import java.io.Serializable;
-import java.util.Date;
-import java.util.Set;
-
-public class Order implements Serializable {
-
-    protected long orderID;
-    protected String customerName;
-    protected Date orderDate;
-    protected long trackingNumber;
-    protected Set items;
-
-    public Order() { }
-
-    // Getters
-    public String getCustomerName() { return customerName; }
-    public Date getOrderDate() { return orderDate; }
-    public long getOrderID() { return orderID; }
-    public long getTrackingNumber() { return trackingNumber; }
-    public Set getItems() { return items; }
-
-    // Setters
-    public void setCustomerName(String customerName) { this.customerName = customerName; }
-    public void setOrderDate(Date orderDate) { this.orderDate = orderDate; }
-    public void setOrderID(long orderID) { this.orderID = orderID; }
-    public void setTrackingNumber(long trackingNumber) { this.trackingNumber = trackingNumber; }
-    public void setItems(Set items) { this.items = items; }
-
-}
-
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/masterDetail/OrderItem.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.server.masterDetail.OrderItem" table="masterDetail_orderItem" >
-        <id name="pk" type="long">
-            <generator class="native"/>
-        </id>
-        <property name="itemDescription" type="string" />
-        <property name="quantity" type="long" />
-        <property name="unitPrice" type="float"  />
-        
-    </class>
-</hibernate-mapping>
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/masterDetail/OrderItem.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Master-Detail load and save example (Hibernate)
-//
-// OrderItem Bean - to be managed by Hibernate
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.masterDetail;
-
-import java.util.Date;
-import java.io.Serializable;
-
-public class OrderItem implements Serializable {
-
-    // this bean has no business logic.  It simply stores data in these instance variables.
-    protected Long pk;
-    protected Order order;
-    protected String itemDescription;
-    protected float unitPrice;
-    protected Long quantity;
-
-    public OrderItem() { }
-
-    // Getters
-    public String getItemDescription() { return itemDescription; }
-    public Order getOrder() { return order; }
-    public Long getPk() { return pk; }
-    public Long getQuantity() { return quantity; }
-    public float getUnitPrice() { return unitPrice; }
-
-    // Setters
-    public void setItemDescription(String itemDescription) { this.itemDescription = itemDescription; }
-    public void setOrder(Integer orderID) { this.order = order; }
-    public void setPk(Long pk) { this.pk = pk; }
-    public void setQuantity(Long quantity) { this.quantity = quantity; }
-    public void setUnitPrice(float unitPrice) { this.unitPrice = unitPrice; }
-    
-}
-
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/masterDetail/masterDetail.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,86 +0,0 @@
-isc.Label.create({
-    ID: "ordersLabel",
-    contents: "Order",
-    width: "90%",
-    height: 25,
-    autoDraw: true,
-    baseStyle: "exampleSeparator"
-});
-
-isc.ListGrid.create({
-    ID: "ordersList",
-    top: 40,
-    height: 170,
-    width: 500,
-    autoDraw: true,
-    dataSource: "masterDetail_orderHB",
-    fields: [
-        { name: "orderID", width: "25%" },
-        { name: "customerName" },
-        { name: "orderDate", width: "25%" }
-    ],
-    autoFetchData: true,
-    selectionChanged: function(record, state) {
-        if (state) {
-            orderForm.editRecord(record);
-            orderItemsList.setData(record.items);
-        }
-    }
-});
-
-isc.Label.create({
-    ID: "orderDetailsLabel",
-    contents: "Order Details",
-    width: "90%",
-    top: 240,
-    height: 25,
-    autoDraw: true,
-    baseStyle: "exampleSeparator"
-});
-
-
-isc.DynamicForm.create({
-    ID: "orderForm",
-    dataSource: "masterDetail_orderHB",
-    autoDraw: false,
-    fields: [
-        { name: "orderID", title: "Order ID", disabled: true },
-        { name: "customerName", title: "Customer Name" },
-        { name: "orderDate", title: "Order Date", type: "date" },
-        { name: "trackingNumber", title: "Tracking #", type: "integer" }
-    ]
-});
-
-isc.ListGrid.create({
-    ID: "orderItemsList",
-    autoDraw: false,
-    height: 130,
-    dataSource: "masterDetail_orderItemHB",
-    canEdit: true,
-    saveLocally: true,
-    saveByCell: true,
-    fields: [
-        { name: "itemDescription" },
-        { name: "quantity", width:"25%" },
-        { name: "unitPrice", width: "25%" }
-    ]
-});
-
-isc.VLayout.create({
-    top: 275,
-    width: 500,
-    autoDraw: true,
-    membersMargin: 5,
-    members: [ 
-        orderForm, 
-        orderItemsList,
-        isc.IButton.create({
-            title: "Save",
-            click: function() {
-                orderForm.setValue("items", orderItemsList.data);
-                orderForm.saveData();
-            }
-        })
-    ]
-});
-
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/masterDetail/masterDetail_orderHB.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<DataSource
-    ID="masterDetail_orderHB"
-    serverType="hibernate"
-    tableName="masterDetail_order"
-    beanClassName="com.isomorphic.examples.server.masterDetail.Order"
-    testFileName="/examples/shared/ds/serverExamples/test_data/masterDetail_order.data.xml"
->
-    <fields>
-        <field name="orderID" type="sequence" primaryKey="true" canEdit="false" />
-        <field name="customerName" type="text" />
-        <field name="orderDate" type="date" />
-
-        <field name="items" title= "Order Items" multiple="true"
-               type="masterDetail_orderItemHB" 
-               javaClass="com.isomorphic.examples.server.masterDetail.OrderItem"
-        />
-        <field name="trackingNumber" type="integer" />
-    </fields>
-    
-</DataSource>
- 
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/masterDetail/masterDetail_orderItemHB.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<DataSource
-    ID="masterDetail_orderItemHB"
-    serverType="hibernate"
-    tableName="masterDetail_orderItem"
-    beanClassName="com.isomorphic.examples.server.masterDetail.OrderItem"
->
-    <fields>
-        <field name="pk" type="sequence" primaryKey="true" hidden="true" />
-        <field name="orderID" type="integer" canEdit="false" />
-        <field name="itemDescription" type="text" />
-        <field name="quantity" type="integer" />
-        <field name="unitPrice" type="float" />
-    </fields>
-    
-</DataSource>
- 
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/queuing/User.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.server.queuing.User" table="queuing_user" >
-        <id name="userID">
-            <generator class="native"/>
-        </id>
-        <property name="firstName" type="string" />
-        <property name="surname" type="string" />
-        <property name="department" type="string" />
-        <property name="email" type="string" />
-    </class>
-</hibernate-mapping>
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/queuing/User.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Simple queuing example
-//
-// User Bean - to be managed by Hibernate
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.queuing;
-
-import java.io.Serializable;
-
-public class User implements Serializable {
-
-    protected Long userID;
-    protected String firstName;
-    protected String surname;
-    protected String department;
-    protected String email;
-
-    public User() { }
-
-    // Getters
-    public Long getUserID() { return userID; }
-    public String getFirstName() { return firstName; }
-    public String getSurname() { return surname; }
-    public String getDepartment() { return department; }
-    public String getEmail() { return email; }
-
-    // Setters
-    public void setUserID(Long value) { userID = value; }
-    public void setFirstName(String value) { firstName = value; }
-    public void setSurname(String value) { surname = value; }
-    public void setDepartment(String value) { department = value; }
-    public void setEmail(String value) { email = value; }
-    
-}
-
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/queuing/queuing.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,96 +0,0 @@
-isc.DynamicForm.create({
-    ID: "findOrdersForm",
-    width: 400, 
-    fields: [
-        { name: "userID", title: "User ID", defaultValue: 1, width: 50,
-          hint: "Note:&nbsp;sample&nbsp;data&nbsp;only exists for user ID 1" },
-        { type: "button", title: "Find Orders", click: "findOrdersForm.findOrders()"}
-    ],
-    findOrders: function () {
-
-        sectionStack.draw();
-        
-        isc.RPCManager.startQueue();
-        userDetailViewer.fetchData(findOrdersForm);
-        ordersListGrid.fetchData(findOrdersForm);
-        isc.RPCManager.sendQueue();
-    }
-
-});
-
-isc.SectionStack.create({
-    ID: "sectionStack",
-    visibilityMode: "multiple",
-    autoDraw: false,
-    top: 100, width: 400, height: 300,
-    sections: [
-        { 
-            title: "User Details",
-            expanded: true,
-            items: [
-                isc.DetailViewer.create({
-                    ID: "userDetailViewer",
-                    autoDraw: false,
-                    dataSource: "queuing_userHB",
-                    useAllDataSourceFields: true
-                })
-            ]
-        },
-        {
-            title: "Orders",
-            expanded: true,
-            items: [
-                isc.ListGrid.create({
-                    ID: "ordersListGrid",
-                    autoDraw: false,
-                    dataSource: "queuing_order",
-                    showFilterEditor: true,
-                    fields: [
-                        { name: "orderID" },
-                        { name: "customerName" },
-                        { name: "orderDate" },
-                        { name: "totalValue" }
-                    ],
-                    dataPageSize: 10,  // Deliberately small, to force paging
-                    // Disable draw ahead to force paging with tiny dataPageSize
-                    drawAheadRatio: 1.0,
-                    drawAllMaxCells: 0  
-                })
-            ]
-        } 
-    ]
-});
-
-
-// ---------------------------------------------------------------------------------------
-// The code that follows is just to illustrate when SmartClient has contacted the server,
-// to underline the point about queuing. It is not part of the example.
-
-isc.RPCManager.addClassProperties({
-    queueSent: function (requests) {
-        if (serverCount) this.updateServerContactLabel(requests);
-    },
-    updateServerContactLabel: function (requests) {
-        serverCount.incrementAndUpdate(requests);
-        // Flash the label
-        var bgColor = serverCount.backgroundColor;
-        serverCount.setBackgroundColor("ffff77");
-        isc.Timer.setTimeout("if (serverCount) serverCount.setBackgroundColor('" + bgColor +"');", 500);
-    }
-
-});
-
-isc.Label.create({
-    ID: "serverCount",
-    top: 100, padding: 10, left: 420,
-    width: 300, height: 40,
-    border: "1px solid grey",
-    contents: "<b>Number of server trips: 0<br>No queues sent</b>",
-    count: 0,
-    incrementAndUpdate: function (requests) {
-        this.count++;
-        this.setContents("<b>Number of server trips: " + this.count + 
-                         "<br>Last queue contained " + requests.length + " request(s)</b>"); 
-    }
-});
-
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/queuing/queuing_order.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<DataSource
-    ID="queuing_order"
-    serverType="sql"
-    tableName="queuing_order"
-    testFileName="/examples/shared/ds/serverExamples/test_data/queuing_order.data.xml"
->
-    <fields>
-        <field name="orderID" type="integer" primaryKey="true" canEdit="false" />
-        <field name="userID" type="integer" />
-        <field name="customerName" type="text" />
-        <field name="orderDate" type="date" />
-        <field name="totalValue" type="float" />
-    </fields>
-    
-</DataSource>
- 
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/queuing/queuing_userHB.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-<DataSource
-    ID="queuing_userHB"
-    serverType="hibernate"
-    beanClassName="com.isomorphic.examples.server.queuing.User"
-    testFileName="/examples/shared/ds/serverExamples/test_data/queuing_user.data.xml"
->
-    <fields>
-        <field name="userID" type="sequence" primaryKey="true" canEdit="false" />
-        <field name="firstName" type="text" required="true"/>
-        <field name="surname" type="text" required="true"/>
-        <field name="department" type="text" />
-        <field name="email" type="text" required="true">
-          <validators>
-            <validator type="isUnique"/>
-          </validators>
-        </field>
-    </fields>
-    
-</DataSource>
- 
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/vb_Hibernate.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-isc.Canvas.create({
-    ID:"outerCanvas",
-    width:"100%",
-    height:"100%"
-});
-isc.ListGrid.create({
-    ID:"screenshotGrid",
-    parentElement:"outerCanvas",
-    width:120,
-    height:100,
-    showHeaderContextMenu:false,
-    fields : [ { name:"screen", title:"Screenshot" } ],
-    leaveScrollbarGap:false,
-    data : [
-        { screen:"Hibernate Browser", src: "vb_HibernateBrowser.png", description: 
-          "The Hibernate Browser connects to Hibernate and allows you to browse through " +
-          "your mapped entities and the data in corresponding tables.  Once you have located the " +
-          "entity you wish to connect to, simply click it and then click Next; Visual Builder " +
-          "will instantly create a DataSource and put you in the DataSource Editor for fine " +
-          "tuning (see the other screenshot)" 
-        },
-        { screen:"DataSource Editor", src: "vb_HibernateDSEditor.png", description:
-          "This image shows the details of the DataSource that Visual Builder created from the " +
-          "entity selected on the Hibernate Browser tab.  You can change any aspect of the DataSource " +
-          "here, but you don't need to: DataSources created by Visual Builder from Hibernate beans " +
-          "are ready to go immediately"
-        }
-    ],
-    recordClick : function (grid, record) { this.showShot(record) },
-    showShot : function (record) {
-        outerCanvas.addChild(
-            isc.Img.create({
-                ID: "vb_screenshot",
-                top : 120,
-                width: 1015,
-                height: 625,
-                showShadow:true,
-                shadowOffset:10,
-                shadowSoftness:5,
-                src : "screenshots/" + record.src
-            })
-        )
-        outerCanvas.addChild(
-            isc.HTMLPane.create({
-                ID: "vb_description",
-                left:140, width:400, height:210,
-                contents:record.description
-            })
-        )
-    }
-});
-screenshotGrid.showShot(screenshotGrid.data.get(0));
-
--- a/isomorphic/reference/inlineExamples/serverExamples/hibernate/worldHB.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-<DataSource
-    ID="worldHB"
-    serverType="hibernate"
-    tableName="worldDS"
->
-    <fields>
-        <field name="pk"            type="sequence"   hidden="true"            primaryKey="true" />
-        <field name="countryCode"   type="text"       title="Code"             required="true"   />
-        <field name="countryName"   type="text"       title="Country"          required="true"   />
-        <field name="capital"       type="text"       title="Capital"          />
-        <field name="government"    type="text"       title="Government"       length="500"      />
-        <field name="continent"     type="text"       title="Continent"        >
-            <valueMap>
-                <value>Europe</value>
-                <value>Asia</value>
-                <value>North America</value>
-                <value>Australia/Oceania</value>
-                <value>South America</value>
-                <value>Africa</value>
-            </valueMap>
-        </field>
-        <field name="independence"  type="date"       title="Nationhood"          />
-        <field name="area"          type="float"      title="Area (km&amp;sup2;)" />
-        <field name="population"    type="integer"    title="Population"          />
-        <field name="gdp"           type="float"      title="GDP ($M)"            />
-        <field name="member_g8"     type="boolean"    title="G8"                  />
-    </fields>
-</DataSource>
--- a/isomorphic/reference/inlineExamples/serverExamples/other/batchUpload/batchUploadExample.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-isc.BatchUploader.create({
-    ID:"uploader",
-    height: 400,
-    uploadDataSource: supplyItemHB,
-    // BatchUploader supports extra fields, which are uploaded along with the file 
-    // data and can be accessed from the HttpSession on the server side; here we
-    // define some fields to be used in this way
-    uploadFormFields: [
-        { name: "stringValue", title: "String Value", type: "text" },
-        { name: "numericValue", title: "Numeric Value", type: "number" }
-    ],
-    // We have limited vertical screen space when running in the Feature Explorer, 
-    // so we force the embedded grid to be quite short in an attempt to avoid 
-    // the need for page scrolling
-    gridProperties: {
-        height: 200
-    }
-});
-
-isc.VStack.create({
-    left:20,
-    width:"70%",
-    membersMargin:20,
-    members:[
-
-        isc.Label.create({
-            ID:"helpText",
-            contents: "<ul>" +
-                "<li>Download the example <code>supplyItemTest.csv</code> file <a href=" + 
-                isc.Page.getURL("[ISOMORPHIC]/system/reference") + 
-                "/inlineExamples/serverExamples/other/batchUpload/supplyItemTest.csv>here</a>" +
-                "<li>Click the 'Browse' button and use the file picker to select the " +
-                "<code>supplyItemTest.csv</code> file that you just downloaded.</li>" +
-                "<li>The BatchUploader will upload and validate the contents of that CSV file against the " +
-                "DataSource declared on the BatchUploader, which in this case is supplyItemHB.</li>" +
-                "<li>Validated data will then be streamed back down to the client and displayed in an " +
-                "editable ListGrid, so you can review and correct errors.</li>" +
-                "<li>Click 'Commit' to save the data back to the DataSource's persistent store (in this " +
-                "case, a database table accessed via Hibernate).</li>" +
-                "<li>This end-to-end functionality is encapsulated by the BatchUploader, and requires " + 
-                "no application code.</li></ul>"
-        }),
-        
-        uploader
-
-    ]
-});
-
--- a/isomorphic/reference/inlineExamples/serverExamples/other/batchUpload/supplyItemTest.csv	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-"nextShipment","category","itemName","itemID","unitCost","description","SKU","inStock","units"
-"2009-01-21","Widget","Large grey widget",,0.41,"","45300","","EACH"
-"2008-11-17","Gizmo","Small blue gizmo",,-0.47,"","90600","","Ea"
-"","Gizmo","Large green gizmo",,0.61,"","135900","","Ea"
-"","Widget","Small red widget",,0.58,"","190000","","Ea"
--- a/isomorphic/reference/inlineExamples/serverExamples/other/customDataSource/UserDataSource.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,167 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Custom DataSource example
-//
-// This class shows how to easily implement a completely customized 
-// DataSource that simply plugs into the SmartClient Server framework
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.customDataSource;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import com.isomorphic.datasource.BasicDataSource;
-import com.isomorphic.datasource.DSRequest;
-import com.isomorphic.datasource.DSResponse;
-import com.isomorphic.util.DataTools;
-
-public class UserDataSource extends BasicDataSource {
-
-    // Override all four CRUD operations - create, retrieve, update and delete 
-    // (add, fetch, update and remove in SmartClient terminology).
-    
-    // Note that the parameters sent by the client arrive here already converted to Java Maps
-    // by the SmartClient Server - with SmartClient Pro, Power and Enterprise Editions, there's 
-    // no need to worry about conversion to and from XML or JSON even in a custom DS 
-    // implementation
-   
-    public DSResponse executeAdd(DSRequest req) throws Exception {
-        Map map = req.getValues();
-        map = createRecord(map);
-        DSResponse resp = new DSResponse();
-        resp.setData(map);
-        resp.setStatus(0);
-        return resp;
-    }
-
-    public DSResponse executeFetch(DSRequest req) throws Exception {
-        List records = fetchRecords(req.getCriteria());
-        DSResponse resp = new DSResponse();
-        resp.setData(records);
-        resp.setStatus(0);
-        return resp;
-    }
-
-    public DSResponse executeRemove(DSRequest req) throws Exception {
-        Map removedRecord = removeRecord(req.getValues().get(getPrimaryKey()));
-        DSResponse resp = new DSResponse();
-        if (removedRecord != null) {
-            resp.setStatus(DSResponse.STATUS_SUCCESS);
-            resp.setData(removedRecord);
-        } else {
-            resp.setStatus(DSResponse.STATUS_FAILURE);
-            resp.setData(req.getOldValues());
-        }
-        return resp;
-    }
-
-    public DSResponse executeUpdate(DSRequest req) throws Exception {
-        Map updatedRecord = updateRecord(req.getValues());
-        DSResponse resp = new DSResponse();
-        if (updatedRecord != null) {
-            resp.setStatus(DSResponse.STATUS_SUCCESS);
-            resp.setData(updatedRecord);
-        } else {
-            resp.setStatus(DSResponse.STATUS_FAILURE);
-            resp.setData(req.getOldValues());
-        }
-        return resp;
-    }
-
-// -----------------------------------------------------------------------------------------
-// Code for actual data creation and manipulation.
-//
-// You can replace code below to implement any data access approah you actually want to use.
-//
-// -----------------------------------------------------------------------------------------
-
-    private static List data = new ArrayList();
-    private static int nextId;
-
-    // Hard-coded data store
-    static {
-        String[] userName = { "Charles Madigen", "Ralph Brogan", "Grigori Ognev", "Tamara Kane",
-                              "Betsy Rosenbaum", "Gene Porter", "Prya Sambhus", "Ren Xian" };
-        String[] jobTitle = { "Chief Operating Officer", "Manager Systems", "Technician",
-                              "Manager Site Services", "Secretary", "Manager Purchasing",
-                              "Line Worker", "Mobile Equipment Operator" };
-        String[] email    = { "charles.madigen", "ralph.brogan", "grigori.ognev", "tamara.kane",
-                              "elizabeth.rosenbaum", "gene.porter", "prya.sambhus", "ren.xian" };
-        String[] type     = { "full time", "contract", "part time", "full time", "part time",
-                              "contract", "part time", "full time" };
-        float[] salary      = { 20395, 18076, 12202, 21227, 11632, 17702, 12985, 16402 };
-
-        for (int i = 0; i < userName.length; i++) {
-            Map map = new HashMap();
-            map.put("employeeId", new Integer(i + 1));
-            map.put("userName", userName[i]);
-            map.put("job", jobTitle[i]);
-            map.put("email", email[i] + "@server.com");
-            map.put("employeeType", type[i]);
-            map.put("salary", new Float(salary[i]));
-
-            data.add(map);
-        }
-        nextId = data.size() + 1;
-    }
-
-    // Sets autoincrement id and adds new record to list.
-    private Map createRecord (Map values) {
-        values.put(getPrimaryKey(), new Integer(nextId++));
-        data.add(values);
-        return values;
-    }
-
-    // Returns full data list.
-    // This sample does not support server side sorting/filtering.
-    private List fetchRecords (Map criteria) {
-        return data;
-    }
-
-    // Finds record by id. Removes it if found.
-    // Returns removed record or null if there was no such record.
-    private Map removeRecord (Object id) {
-        Number idNum = (Number) id;
-        Map map = findById(idNum);
-        boolean removed = false;
-        if (map != null) {
-            removed = data.remove(map);
-        }
-        if (removed) {
-            return map;
-        } else {
-            return null;
-        }
-    }
-
-    // Finds record by id. Updates it if found.
-    // Returns updated record or null if there was no such record.
-    private Map updateRecord (Map values) {
-        Number idNum = (Number) values.get(getPrimaryKey());
-        Map map = findById(idNum);
-        if (map != null) {
-            DataTools.mapMerge(values, map);
-            return map;
-        } else {
-            return null;
-        }
-    }
-
-    // Finds record by id.
-    private Map findById (Number id) {
-        if (id != null) {
-            Integer integerId = id.intValue();
-            for (int i = 0; i < data.size(); i++) {
-                Map record = (Map)data.get(i);
-                if (integerId.equals(record.get(getPrimaryKey()))) {
-                    return record;
-                }
-            }
-        }
-        return null;
-    }
-
-}
--- a/isomorphic/reference/inlineExamples/serverExamples/other/customDataSource/customDataSource.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-isc.ListGrid.create({
-    ID: "userList",
-    width: 600,
-    height: 224,
-    dataSource: customDataSource_user,
-    canEdit: true,
-    canRemoveRecords: true,
-    leaveScrollbarGap: false,
-    dataFetchMode: "local",
-    autoFetchData: true,
-    fields: [
-        { name: "userName" },
-        { name: "job" },
-        { name: "email" },
-        { name: "employeeType" },
-        { name: "salary" }
-    ]
-    
-});
-
-isc.IButton.create({
-    ID: "addButton",
-    width: 110, top: 240,
-    title: "Create User",
-    click: "userList.startEditingNew();"
-});
--- a/isomorphic/reference/inlineExamples/serverExamples/other/customDataSource/customDataSource_user.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<DataSource
-    ID="customDataSource_user"
-    serverConstructor="com.isomorphic.examples.server.customDataSource.UserDataSource"
->
-    <fields>
-        <field name="userName"        type="text"           length="128"      required="true"/>
-        <field name="employeeId"      type="sequence"       primaryKey="true" hidden="true"/>
-        <field name="job"             title="Job Title"     type="text"       length="128"/> 
-        <field name="email"           title="Email"         type="text"       length="128"/>
-        <field name="employeeType"    title="Employee Type" type="text"       length="40"/>
-        <field name="salary"          title="Salary"        type="float"/>
-    </fields>
-    
-</DataSource>
- 
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/other/ormDataSource/Country.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.Country" table="countryDS" >
-        <id name="pk" type="long">
-            <generator class="native"/>
-        </id>
-        <property name="countryCode" type="string" />
-        <property name="countryName" type="string" />
-        <property name="capital" type="string" />
-        <property name="area" type="float" />
-        <property name="population" type="long" />
-        <property name="gdp" type="float" />
-    </class>
-</hibernate-mapping>
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/other/ormDataSource/Country.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Java server integration example
-//
-// Country Bean
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples;
-
-public class Country {
-
-    private Long pk;
-    private String countryCode;
-    private String countryName;
-    private String capital;
-    private Float area;
-    private Long population;
-    private Float gdp;
-    
-    public Country() {
-    }
-
-    public Float getArea() { return area; }
-    public String getCapital() { return capital; }
-    public String getCountryCode() { return countryCode; }
-    public String getCountryName() { return countryName; }
-    public Float getGdp() { return gdp; }
-    public Long getPk() { return pk; }
-    public Long getPopulation() { return population; }
-
-    public void setArea(Float area) { this.area = area; }
-    public void setCapital(String capital) { this.capital = capital; }
-    public void setCountryCode(String countryCode) { this.countryCode = countryCode; }
-    public void setCountryName(String countryName) { this.countryName = countryName; }
-    public void setGdp(Float gdp) { this.gdp = gdp; }
-    public void setPk(Long pk) { this.pk = pk; }
-    public void setPopulation(Long population) { this.population = population; }
-    
-}
--- a/isomorphic/reference/inlineExamples/serverExamples/other/ormDataSource/ORMDataSource.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,180 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-//
-// Example of a custom DataSource implementation.  This class demonstrates 
-// how to write an adapter to plug support for an ORM system (Hibernate, in
-// this case) into SmartClient Server.  Note that this is just an example to 
-// demonstrate the principles involved - SmartClient Server already has 
-// considerably more sophisticated Hibernate support than this, built-in
-//
-// NOTE: In the interests of clarity and brevity, this example intentionally 
-// omits exception handling
-//
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.ormDataSource;
-
-
-import java.io.*;
-import java.util.*;
-
-import org.hibernate.*;
-import org.hibernate.cfg.Configuration;
-
-import com.isomorphic.datasource.*;
-import com.isomorphic.examples.Country;
-
-public class ORMDataSource extends BasicDataSource {
-
-    // Override all four CRUD operations - create, retrieve, update and delete
-    // (add, fetch, update and remove in SmartClient terminology).
-
-    // Note that the parameters sent by the client arrive here already converted to Java Maps
-    // by the SmartClient Server - with SmartClient Pro, Power and Enterprise Editions, there's
-    // no need to worry about conversion to and from XML or JSON even in a custom DS
-    // implementation
-
-    public DSResponse executeAdd(DSRequest req) throws Exception {
-        Map map = req.getValues();
-        map = createRecord(map);
-        DSResponse resp = new DSResponse();
-        resp.setData(map);
-        resp.setStatus(0);
-        return resp;
-    }
-
-    public DSResponse executeFetch(DSRequest req) throws Exception {
-        List records = fetchRecords(req.getCriteria());
-        DSResponse resp = new DSResponse();
-        resp.setData(records);
-        resp.setStatus(0);
-        return resp;
-    }
-
-    public DSResponse executeRemove(DSRequest req) throws Exception {
-        Map removedRecord = removeRecord(req.getValues().get(getPrimaryKey()));
-        DSResponse resp = new DSResponse();
-        if (removedRecord != null) {
-            resp.setStatus(DSResponse.STATUS_SUCCESS);
-            resp.setData(removedRecord);
-        } else {
-            resp.setStatus(DSResponse.STATUS_FAILURE);
-            resp.setData(req.getOldValues());
-        }
-        return resp;
-    }
-
-    public DSResponse executeUpdate(DSRequest req) throws Exception {
-        Map updatedRecord = updateRecord(req.getValues());
-        DSResponse resp = new DSResponse();
-        if (updatedRecord != null) {
-            resp.setStatus(DSResponse.STATUS_SUCCESS);
-            resp.setData(updatedRecord);
-        } else {
-            resp.setStatus(DSResponse.STATUS_FAILURE);
-            resp.setData(req.getOldValues());
-        }
-        return resp;
-    }
-
-// -----------------------------------------------------------------------------------------
-// Code for actual data creation and manipulation.
-//
-// You can replace code below to implement any data access approah you actually want to use.
-//
-// -----------------------------------------------------------------------------------------
-
-    // Creates record and saves it.
-    private Map createRecord (Map values) {
-        Country record = new Country();
-        setProperties(values, record);
-        Session ses = null;
-        Transaction tx = null;
-        try {
-            ses = getSession();
-            tx = ses.beginTransaction();
-            ses.saveOrUpdate(record);
-            tx.commit();
-            return getProperties(record);
-        } finally {
-            if (tx != null) {
-                if (tx.isActive()) tx.rollback();
-            }
-            if (ses != null) ses.close();
-        }
-    }
-
-    // Returns full data list.
-    // This sample does not support server side sorting/filtering.
-    private List fetchRecords (Map criteria) {
-        Session ses = null;
-        Transaction tx = null;
-        try {
-            ses = getSession();
-            tx = ses.beginTransaction();
-            Query q = ses.createQuery("from com.isomorphic.examples.Country");
-            List records = q.list();
-            tx.commit();
-            return records;
-        } finally {
-            if (tx != null) {
-                if (tx.isActive()) tx.rollback();
-            }
-            if (ses != null) ses.close();
-        }
-    }
-
-    // Finds record by id. Removes it.
-    // Returns removed record.
-    private Map removeRecord (Object id) {
-        Session ses = null;
-        Transaction tx = null;
-        try {
-            ses = getSession();
-            tx = ses.beginTransaction();
-            Object record = ses.get(Country.class, (Serializable) id);
-            ses.delete(record);
-            tx.commit();
-            return getProperties(record);
-        } finally {
-            if (tx != null) {
-                if (tx.isActive()) tx.rollback();
-            }
-            if (ses != null) ses.close();
-        }
-    }
-
-    // Finds record by id. Updates it.
-    // Returns updated record.
-    private Map updateRecord (Map values) {
-        Object id = values.get(getPrimaryKey());
-        Session ses = null;
-        Transaction tx = null;
-        try {
-            ses = getSession();
-            tx = ses.beginTransaction();
-            Object record = ses.get(Country.class, (Serializable) id);
-            setProperties(values, record);
-            ses.saveOrUpdate(record);
-            tx.commit();
-            return getProperties(record);
-        } finally {
-            if (tx != null) {
-                if (tx.isActive()) tx.rollback();
-            }
-            if (ses != null) ses.close();
-        }
-    }
-
-    private static Configuration hibernateConfig = null;
-    private static SessionFactory sessionFactory = null;
-
-    private static synchronized Session getSession() {
-        if (sessionFactory == null) {
-            hibernateConfig = new Configuration();
-            sessionFactory = hibernateConfig.configure().buildSessionFactory();
-        }
-        return sessionFactory.openSession();
-    }
-
-}
--- a/isomorphic/reference/inlineExamples/serverExamples/other/ormDataSource/ormDataSource.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-isc.ListGrid.create({
-    ID: "countryList",
-    width: 600,
-    height: 224,
-    dataSource: ormDataSource_country,
-    canEdit: true,
-    canRemoveRecords: true,
-    dataFetchMode: "local",
-    autoFetchData: true,
-    useAllDataSourceFields: true
-});
-
-isc.IButton.create({
-    ID: "addButton",
-    width: 110, top: 240,
-    title: "Create Country",
-    click: "countryList.startEditingNew();"
-});
--- a/isomorphic/reference/inlineExamples/serverExamples/other/ormDataSource/ormDataSource_country.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<DataSource
-    ID="ormDataSource_country"
-    serverConstructor="com.isomorphic.examples.server.ormDataSource.ORMDataSource"
-    mappedBeanClass="com.isomorphic.examples.server.ormDataSource.Country"
->
-    <fields>
-        <field name="pk"            type="sequence"   hidden="true"            primaryKey="true" />
-        <field name="countryCode"   type="text"       title="Code"             required="true"   />
-        <field name="countryName"   type="text"       title="Country"          required="true"   />
-        <field name="capital"       type="text"       title="Capital"          />
-        <field name="area"          type="float"      title="Area (km&amp;sup2;)" />
-        <field name="population"    type="integer"    title="Population"          />
-        <field name="gdp"           type="float"      title="GDP ($M)"            />
-    </fields>
-    
-</DataSource>
- 
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/other/reusableORMDataSource/Country.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.Country" table="countryDS" >
-        <id name="pk" type="long">
-            <generator class="native"/>
-        </id>
-        <property name="countryCode" type="string" />
-        <property name="countryName" type="string" />
-        <property name="capital" type="string" />
-        <property name="area" type="float" />
-        <property name="population" type="long" />
-        <property name="gdp" type="float" />
-    </class>
-</hibernate-mapping>
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/other/reusableORMDataSource/Country.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Java server integration example
-//
-// Country Bean
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples;
-
-public class Country {
-
-    private Long pk;
-    private String countryCode;
-    private String countryName;
-    private String capital;
-    private Float area;
-    private Long population;
-    private Float gdp;
-    
-    public Country() {
-    }
-
-    public Float getArea() { return area; }
-    public String getCapital() { return capital; }
-    public String getCountryCode() { return countryCode; }
-    public String getCountryName() { return countryName; }
-    public Float getGdp() { return gdp; }
-    public Long getPk() { return pk; }
-    public Long getPopulation() { return population; }
-
-    public void setArea(Float area) { this.area = area; }
-    public void setCapital(String capital) { this.capital = capital; }
-    public void setCountryCode(String countryCode) { this.countryCode = countryCode; }
-    public void setCountryName(String countryName) { this.countryName = countryName; }
-    public void setGdp(Float gdp) { this.gdp = gdp; }
-    public void setPk(Long pk) { this.pk = pk; }
-    public void setPopulation(Long population) { this.population = population; }
-    
-}
--- a/isomorphic/reference/inlineExamples/serverExamples/other/reusableORMDataSource/ReusableORMDataSource.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,244 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-//
-// Example of a custom DataSource implementation.  This class demonstrates 
-// how to write an adapter to plug support for an ORM system (Hibernate, in
-// this case) into SmartClient Server.  Note that this is just an example to 
-// demonstrate the principles involved - SmartClient Server already has 
-// considerably more sophisticated Hibernate support than this, built-in
-//
-// NOTE: In the interests of clarity and brevity, this example intentionally 
-// omits exception handling
-//
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.reusableORMDataSource;
-
-
-import java.io.*;
-import java.util.*;
-
-import org.hibernate.*;
-import org.hibernate.cfg.Configuration;
-import org.hibernate.criterion.*;
-import org.xml.sax.InputSource;
-
-import com.isomorphic.datasource.*;
-import com.isomorphic.util.DataTools;
-import com.isomorphic.xml.XML;
-
-public class ReusableORMDataSource extends BasicDataSource {
-
-    protected String entityName;
-    protected Session currentSession;
-
-    protected static Configuration hibernateConfig;
-    protected static SessionFactory sessionFactory;
-
-    // We are only overriding execute() to provide a central point for initialization and 
-    // session/transaction management - for actual data operations, it is more appropriate to 
-    // override executeFetch(), et al, as we do further down in this class
-    public DSResponse execute(DSRequest req) throws Exception {
-        
-        // Initialize the Hibernate Configuration if necessary
-        if (hibernateConfig == null) {
-            createConfig();
-        }
-
-        if (entityName == null) {
-            // Pick up the fully-qualified class name from the DataSource definition. The property 
-            // can be called anything you like - here, we are expecting to find a "mappedBeanClass" 
-            // property in the DataSource definition
-            entityName = getProperty("mappedBeanClass");
-            if (hibernateConfig.getClassMapping(entityName) == null) {
-                // Config problem - the bean named in the .ds.xml file is not mapped in Hibernate
-            }
-        }
-
-        this.currentSession = sessionFactory.openSession();
-        Transaction tx = currentSession.beginTransaction();
-        
-        try {
-            return super.execute(req);
-        } finally {
-            tx.commit();
-            currentSession.close();
-        }
-    }
-
-	// Implementation of basic DataSource operations 
-	// --------------------------------------------------------------------------------------------
-	public DSResponse executeFetch(DSRequest req) throws Exception {
-
-        DSResponse dsResponse = new DSResponse();
-        dsResponse.setSuccess();
-        
-        List criterions = new ArrayList();
-        
-        // Implement simple filter criteria
-        Map rCriteria = req.getCriteria();
-        if (rCriteria != null) {
-            boolean isFilter = "substring".equals(req.getOperationProperty("textMatchStyle"));
-            for (Iterator i = rCriteria.keySet().iterator(); i.hasNext();) {
-                String fieldName = (String)i.next();
-                Object value = rCriteria.get(fieldName);
-                Criterion criterion = null;
-                
-                String fieldType = getField(fieldName).getType();
-                // Support OR on multiple values 
-                if (value instanceof List) {
-                    criterion = Restrictions.disjunction();
-                    for (Iterator j = ((List)value).iterator(); j.hasNext();) {
-                        ((Disjunction)criterion).add(Restrictions.eq(fieldName, j.next()));
-                    }
-                } else {
-                    if (isFilter && ("text".equals(fieldType) || "string".equals(fieldType))) {
-                        criterion = Restrictions.like(fieldName, value.toString(), MatchMode.ANYWHERE);
-                    } else {
-                        // exact equality
-                        criterion = Restrictions.eq(fieldName, value);
-                    }
-                }
-                criterions.add(criterion);
-            }
-        }
-        
-        Criteria criteria = currentSession.createCriteria(entityName);
-        addAllCriterions(criteria, criterions);
-        
-        // Implement data paging
-        long totalRows = -1;
-        if (req.isPaged()) {
-            if (req.getEndRow() != DSRequest.ENDROW_UNSET) {
-                // if specified, endRow overrides batchSize
-                if (req.getEndRow() - req.getStartRow() > req.getBatchSize()) {
-                    req.setBatchSize(req.getEndRow() - req.getStartRow());
-                }
-            }
-            
-            criteria.setProjection(Projections.rowCount());
-            Object rowCount = criteria.uniqueResult();
-            totalRows = 0;
-            // Later versions of Hibernate return a Long rather than an Integer here, for all
-            // those occasions when a fetch returns more than 2.1 billion rows...
-            if (rowCount instanceof Integer) {
-                totalRows = ((Integer)rowCount).intValue();
-            } else if (rowCount instanceof Long) {
-                totalRows = ((Long)rowCount).longValue();
-            }
-
-            // rebuild criteria, minus the count projection for the actual query
-            criteria = currentSession.createCriteria(entityName);
-            addAllCriterions(criteria, criterions);
-            
-            criteria.setMaxResults((int)req.getBatchSize());
-            criteria.setFirstResult((int)req.getStartRow());
-        }
-        
-        List results = null;
-        
-        // Implement sorting
-        List sortBy = req.getSortByFields();
-        for (Iterator i = sortBy.iterator(); i.hasNext();) {
-            String sortByField = (String)i.next();
-            if (sortByField.startsWith("-")) {
-                // leading minus means sort in descending order
-                criteria.addOrder(Order.desc(sortByField.substring(1)));
-            } else {
-                criteria.addOrder(Order.asc(sortByField));
-            }
-        }
-            
-        // Run the query
-        results = criteria.list();
-        // if we're not paged, we're returning all rows
-        if (totalRows == -1) totalRows = results.size();
-        dsResponse.setTotalRows(totalRows);
-        
-        // set startRow/endRow
-        long startRow = 0;
-        long endRow = 0;
-        if (totalRows != 0) {
-            startRow = req.getStartRow();
-            endRow = startRow + results.size();
-        }
-        dsResponse.setStartRow(startRow);
-        dsResponse.setEndRow(endRow);
-        
-        // DataSource protocol: return list of matching records
-        dsResponse.setData(results);
-        return dsResponse;
-    }
-
-    public DSResponse executeAdd(DSRequest req) throws Exception {
-
-        DSResponse dsResponse = new DSResponse();
-        dsResponse.setSuccess();
-        
-        Object record = Class.forName(entityName).newInstance();
-        // populate the record from the submitted values
-        DataTools.setProperties(req.getValues(), record);
-
-        currentSession.saveOrUpdate(entityName, record);
-        
-        // DataSource protocol: return the committed bean to the client for cache update
-        dsResponse.setData(record);
-        return dsResponse;
-    }
-    
-    public DSResponse executeRemove(DSRequest req) throws Exception {
-
-        DSResponse dsResponse = new DSResponse();
-        dsResponse.setSuccess();
-        
-        Object primaryKey = getPrimaryKey();
-        
-        Serializable id = (Serializable)req.getFieldValue(primaryKey);
-        Object record = currentSession.get(entityName, id);
-        currentSession.delete(entityName, record);
-        
-        // DataSource protocol: return the primary key of the deleted record to the client for
-        // cache update    
-        dsResponse.setData(req.getCriteria());
-        return dsResponse;
-    }
-
-    public DSResponse executeUpdate(DSRequest req) throws Exception {
-
-        DSResponse dsResponse = new DSResponse();
-        dsResponse.setSuccess();
-
-        String primaryKey = getPrimaryKey();
-        
-        Serializable id = (Serializable)req.getFieldValue(primaryKey);
-        Object record = null;
-        if (id != null) {
-            record = currentSession.get(entityName, id);
-        } else {
-            // Error: the primary key value was not supplied in the update request
-        }
-        
-        // populate the record from the submitted values
-        DataTools.setProperties(req.getValues(), record);
-        currentSession.saveOrUpdate(entityName, record);
-
-        // DataSource protocol: return the committed bean to the client for cache update
-        dsResponse.setData(record);
-        return dsResponse;
-    } 
-
-    private Criteria addAllCriterions(Criteria criteria, List criterions) {
-        for (Iterator i = criterions.iterator(); i.hasNext(); ) {
-            criteria.add((Criterion)i.next());
-        }
-        return criteria;
-    }
-
-    // This method is static and synchronized to avoid threading issues when multiple requests
-    // are sent during server startup
-    private static synchronized void createConfig() {
-        hibernateConfig = new Configuration();
-        sessionFactory = hibernateConfig.configure().buildSessionFactory();
-    }
-
-}
--- a/isomorphic/reference/inlineExamples/serverExamples/other/reusableORMDataSource/SupplyItemORM.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.server.reusableORMDataSource.SupplyItemORM" table="supplyItem">
-        <id name="itemID">
-            <generator class="native"/>
-        </id>
-        <property name="itemName" />
-        <property name="SKU" />
-        <property name="description" />
-        <property name="category" />
-        <property name="units" />
-        <property name="unitCost" type="double" />
-        <property name="inStock" type="boolean" />
-        <property name="nextShipment" type="date" />
-    </class>
-</hibernate-mapping>
--- a/isomorphic/reference/inlineExamples/serverExamples/other/reusableORMDataSource/SupplyItemORM.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Java server integration example
-//
-// SupplyItemORM Bean
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.reusableORMDataSource;
-
-import java.util.Date;
-import java.io.Serializable;
-
-// a typical Java Bean which can be stored by many different ORM (object-relational mapping)
-// systems, including Hibernate, Toplink, JDO, EJB3, etc.
-public class SupplyItemORM implements Serializable {
-    // a zero-argument constructor is not required, but does enable certain convenience
-    // features (see the docs for DMI)
-    public SupplyItemORM() { }
-
-    // when receiving data from client-side SmartClient components, SmartClient will call these
-    // setters to modify properties.  The setters are found via the Java Beans naming
-    // convention, for example, a DataSource field named "category" will be applied via a
-    // setter called setCategory().
-    public void setItemID(Long id) { itemID = id; }
-    public void setSKU(String sku) { SKU = sku; }
-    public void setCategory(String c) { category = c; }
-    public void setItemName(String name) { itemName = name; }
-    public void setDescription(String d) { description = d; }
-    public void setUnitCost(Double cost) { unitCost = cost; }
-    public void setUnits(String newUnits) { units = newUnits; }
-    public void setInStock(Boolean val) { inStock = val; }
-    public void setNextShipment(Date date) { nextShipmentDate = date; }
-
-    // SmartClient will call these getters when serializing a Java Bean to be transmitted to
-    // client-side components.
-    public Long getItemID() { return itemID; }
-    public String getSKU() { return SKU; }
-    public String getCategory() { return category; }
-    public String getItemName() { return itemName; }
-    public String getDescription() { return description; }
-    public Double getUnitCost() { return unitCost; }
-    public String getUnits() { return units; }
-    public Boolean getInStock() { return inStock; }
-    public Date getNextShipment() { return nextShipmentDate; }
-
-    // this bean has no business logic.  It simply stores data in these instance variables.
-    protected Long itemID;
-    protected String SKU;
-    protected String category;
-    protected String itemName;
-    protected String description;
-    protected Double unitCost;
-    protected String units;
-    protected Boolean inStock;
-    protected Date nextShipmentDate;
-}
-
--- a/isomorphic/reference/inlineExamples/serverExamples/other/reusableORMDataSource/reusableORMDataSource.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-isc.DynamicForm.create({
-    values: {dataSource: "Select A DataSource"},
-    items: [
-        {name: "dataSource",
-         width: 210,
-         showTitle: false,
-         editorType: "select",
-         valueMap: ["reusableORMDataSource_supplyItem", "reusableORMDataSource_country"],
-         change: function (form, item, value, oldValue) {
-                    if (!this.valueMap.contains(value)) return false;
-                    else {
-                        list.setDataSource(value);
-                        list.filterData();
-                    }
-                 }
-        }
-    ]
-});
-
-isc.ListGrid.create({
-    ID: "list",
-    width: 600,
-    height: 224,
-    top: 40,
-    dataSource: reusableORMDataSource_supplyItem,
-    canEdit: true,
-    canRemoveRecords: true,
-    autoFetchData: true,
-    showFilterEditor: true,
-    dataPageSize: 25   // keep this fairly small to more easily demonstrate that pagination and
-                       // server-side sort/filter are working on the custom dataSource
-});
-
-isc.IButton.create({
-    ID: "addButton",
-    top: 280,
-    width: 150,
-    title: "Create new record",
-    click: "list.startEditingNew();"
-});
--- a/isomorphic/reference/inlineExamples/serverExamples/other/reusableORMDataSource/reusableORMDataSource_country.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<DataSource
-    ID="reusableORMDataSource_country"
-    serverConstructor="com.isomorphic.examples.server.reusableORMDataSource.ReusableORMDataSource"
-    mappedBeanClass="com.isomorphic.examples.Country"
->
-    <fields>
-        <field name="pk"            type="sequence"   hidden="true"            primaryKey="true" />
-        <field name="countryCode"   type="text"       title="Code"             required="true"   />
-        <field name="countryName"   type="text"       title="Country"          required="true"   />
-        <field name="capital"       type="text"       title="Capital"          />
-        <field name="area"          type="float"      title="Area (km&amp;sup2;)" />
-        <field name="population"    type="integer"    title="Population"          />
-        <field name="gdp"           type="float"      title="GDP ($M)"            />
-    </fields>
-    
-</DataSource>
- 
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/other/reusableORMDataSource/reusableORMDataSource_supplyItem.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-<DataSource
-    ID="reusableORMDataSource_supplyItem"
-    serverConstructor="com.isomorphic.examples.server.reusableORMDataSource.ReusableORMDataSource"
-    mappedBeanClass="com.isomorphic.examples.server.reusableORMDataSource.SupplyItemORM"
->
-    <fields>
-        <field name="itemID"        type="sequence"     hidden="true"           primaryKey="true" />
-        <field name="itemName"      type="text"         title="Item"            length="128"        required="true" />
-        <field name="SKU"           type="text"         title="SKU"             length="10"         required="true" />
-        <field name="description"   type="text"         title="Description"     length="2000" />
-        <field name="category"      type="text"         title="Category"        length="128"        required="true" />
-        <field name="units"         type="enum"         title="Units"           length="5">
-            <valueMap>
-                <value>Roll</value>
-                <value>Ea</value>
-                <value>Pkt</value>
-                <value>Set</value>
-                <value>Tube</value>
-                <value>Pad</value>
-                <value>Ream</value>
-                <value>Tin</value>
-                <value>Bag</value>
-                <value>Ctn</value>
-                <value>Box</value>
-            </valueMap>
-        </field>
-        <field name="unitCost"      type="float"        title="Unit Cost"       required="true" />
-        <field name="inStock"       type="boolean"      title="In stock"        />
-        <field name="nextShipment"  type="date"         title="Next shipment"   />
-    </fields>
-    
-</DataSource>
- 
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/other/vb_Javabean.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-isc.Canvas.create({
-    ID:"outerCanvas",
-    width:"100%",
-    height:"100%"
-});
-isc.ListGrid.create({
-    ID:"screenshotGrid",
-    parentElement:"outerCanvas",
-    width:120,
-    height:100,
-    showHeaderContextMenu:false,
-    fields : [ { name:"screen", title:"Screenshot" } ],
-    leaveScrollbarGap:false,
-    data : [
-        { screen:"Javabean Wizard", src: "vb_JavabeanWizard.png", description: 
-          "The Javabean Wizard allows you to generate a basic DataSource definition from any " +
-          "Javabean or POJO with Javabean-like semantics.  The generated DataSources are not " +
-          "functional out of the box; they requires a custom DataSource implementation on the " +
-          "server-side.  Once that is done, however, you typically only need to set the " +
-          "<code>serverConstructor</code> property to make the generated DataSource functional."
-        },
-        { screen:"DataSource Editor", src: "vb_JavabeanWizard2.png", description:
-          "This image shows the details of the DataSource that Visual Builder created from the " +
-          "Javabean we entered on the previous screen.  You can change any aspect of the DataSource " +
-          "here, but the only thing that is actually required is the <code>serverConstructor</code>."
-        }
-    ],
-    recordClick : function (grid, record) { this.showShot(record) },
-    showShot : function (record) {
-        outerCanvas.addChild(
-            isc.Img.create({
-                ID: "vb_beanWizard1",
-                top : 120,
-                width: 1015,
-                height: 625,
-                showShadow:true,
-                shadowOffset:10,
-                shadowSoftness:5,
-                src : "screenshots/" + record.src
-            })
-        )
-        outerCanvas.addChild(
-            isc.HTMLPane.create({
-                ID: "vb_beanWizard2",
-                left:140, width:400, height:210,
-                contents:record.description
-            })
-        )
-    }
-});
-screenshotGrid.showShot(screenshotGrid.data.get(0));
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/basicConnector.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-
-isc.ListGrid.create({
-    ID: "worldList",
-    width:700, height:224, alternateRecordStyles:true, 
-    dataSource: worldDS,
-    autoFetchData: true,
-    showFilterEditor: true,
-    canEdit: true,
-    editEvent: "click",
-    canRemoveRecords: true,
-    fields: [
-        { name:"countryCode", title:"Code", width:50 },
-        { name:"countryName", title:"Country" },
-        { name:"capital", title:"Capital" },
-        { name:"government", title:"Government" },
-        { name:"continent", title:"Continent" },
-        { name:"independence", title:"Nationhood" },
-        { name:"area", title:"Area (km&amp;sup2;)" },
-        { name:"population", title:"Population" },
-        { name:"gdp", title:"GDP ($M)" }
-    ]
-});
-
-isc.Button.create({
-    ID: "newButton",
-    top: 230,
-    title: "Add New",
-    click: "worldList.startEditingNew();"
-});
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/customExport/CustomExportDMI.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-//
-// CustomExportDMI implementation for the Custom Export example
-//
-// This example shows one way to insert your own logic into SmartClient's 
-// normal client/server flow to export data using a DataSource to collect
-// data and reformatting it prior to export. 
-//
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.customExport;
-
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import javax.servlet.http.HttpServletRequest;
-
-import com.isomorphic.datasource.DSRequest;
-import com.isomorphic.datasource.DSResponse;
-import com.isomorphic.log.Logger;
-
-public class CustomExportDMI {
-
-	private static Logger log = new Logger(DSRequest.class.getName());
-
-    public static DSResponse customExport(DSRequest dsRequest, HttpServletRequest servletRequest)
-    throws Exception
-    {
-        DSResponse response = dsRequest.execute();
-
-        List data = response.getDataList();
-
-        List fields = (List)dsRequest.getExportFields();
-
-        fields.add("gdppercapita");
-
-        dsRequest.setExportFields(fields);
-
-        for (Iterator i = data.iterator(); i.hasNext(); ) {
-            Map record = (Map)i.next();
-            Date dateField = (Date)record.get("independence");
-            if (dateField != null) {
-            	String field = dateField.toString();
-            	record.put("independence", field);
-            }
-            double population = Double.parseDouble(record.get("population").toString());
-            double gdp = Double.parseDouble(record.get("gdp").toString());
-            double gdppercapita = (gdp * (double)1000000000) / population;
-
-        	record.put("gdppercapita", new Long(Math.round(gdppercapita)));
-        }
-
-        response.setData(data);
-
-        return response;      
-    }
-}
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/customExport/customExport.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-isc.ListGrid.create({
-    ID: "countryList",
-    width:500, height:250, top:50, alternateRecordStyles:true,
-    dataSource: worldDSExportCustom,
-    autoFetchData: true,
-    fields:[
-        {name:"countryName", title:"Country"},
-        {name:"capital", title:"Capital"},
-        {name:"continent", title:"Continent"},
-        {name:"independence", title:"Nationhood"},
-        {name:"population", title:"Population", formatCellValue:"isc.Format.toUSString(value)"}
-    ],
-    showFilterEditor: true
-});
-
-isc.DynamicForm.create({
-    ID: "exportForm",
-    width:300,
-    fields: [
-        { name: "exportType", title: "Export Type", type:"select", width:"*",
-            defaultToFirstOption: true,
-            valueMap: { 
-                "csv" : "CSV (Excel)" , 
-                "xml" : "XML", 
-                "json" : "JSON",
-                "xls" : "XLS (Excel97)",
-                "ooxml" : "OOXML (Excel2007)"
-            }
-        },
-        { name: "showInWindow", title: "Show in Window", type: "boolean", align:"left" }
-    ]
-});
-
-isc.Button.create({
-   ID: "exportButton",
-   title: "Export",
-   left: 320,
-   click: function () {
-       var exportAs = exportForm.getField("exportType").getValue();
-       var showInWindow = exportForm.getField("showInWindow").getValue();
-       if (exportAs == "json") {
-           // JSON exports are server-side only, so use the OperationBinding on the DataSource
-           countryList.exportData({ operationId: "customJSONExport", 
-               exportDisplay: showInWindow ? "window" : "download"});
-       } else {
-           // exportAs is not JSON, so we can do that with requestProperties
-           countryList.exportData({ operationId: "customExport", exportAs: exportAs,
-               exportDisplay: showInWindow ? "window" : "download"
-           });
-       }
-   }
-});
-
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/customExport/worldDSExportCustom.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-<DataSource
-    ID="worldDSExportCustom"
-    tableName="worldDS"
-    serverType="sql"
-    recordName="country"
-    testFileName="/examples/shared/ds/test_data/world.data.xml"
->
-    <fields>
-        <field name="pk"            type="sequence"    hidden="true"            primaryKey="true" />
-        <field name="countryCode"   type="text"       title="Code"             required="true"   />
-        <field name="countryName"   type="text"       title="Country"          required="true"   />
-        <field name="capital"       type="text"       title="Capital"          />
-        <field name="government"    type="text"       title="Government"       length="500"      />
-        <field name="continent"     type="text"       title="Continent"        >
-            <valueMap>
-                <value>Europe</value>
-                <value>Asia</value>
-                <value>North America</value>
-                <value>Australia/Oceania</value>
-                <value>South America</value>
-                <value>Africa</value>
-            </valueMap>
-        </field>
-        <field name="independence"  type="date"       title="Nationhood"          />
-        <field name="area"          type="float"      title="Area (km&amp;sup2;)" />
-        <field name="population"    type="integer"    title="Population"          />
-        <field name="gdp"           type="float"      title="GDP ($M)"            />
-    </fields>
-    
-    <operationBindings>
-        <operationBinding operationType="fetch" operationId="customJSONExport" >
-            <serverObject className="com.isomorphic.examples.server.customExport.CustomExportDMI" lookupStyle="new" />
-            <serverMethod>customExport</serverMethod>
-            <exportResults>true</exportResults>
-            <exportAs>json</exportAs>
-            <exportFilename>Results.txt</exportFilename>
-            <lineBreakStyle>dos</lineBreakStyle>
-        </operationBinding>
-        <operationBinding operationType="fetch" operationId="customExport" >
-            <serverObject className="com.isomorphic.examples.server.customExport.CustomExportDMI" lookupStyle="new" />
-            <serverMethod>customExport</serverMethod>
-        </operationBinding>
-    </operationBindings>
-</DataSource>
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/dynamicReporting/dynamicReporting.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-isc.DynamicForm.create({
-    ID: "orderItemCriteriaForm",
-    numCols: 2, width: 400,
-    autoDraw: false,
-    fields: [
-        {name: "startDate", type: "date", title: "Start&nbsp;Date", defaultValue: new Date(2009, 1, 1)},
-        {name: "endDate", type: "date", title: "End&nbsp;Date", defaultValue: new Date(2009, 1, 28)},
-        {
-            name: "filterButton",
-            title: "Filter",
-            type: "button",
-            endRow: false, startRow: false,
-            click: function() {
-                var criteria = orderItemSummaryList.data.criteria;
-                if (!criteria) criteria = {};
-                isc.DataSource.combineCriteria(criteria, orderItemCriteriaForm.getValuesAsCriteria());
-                orderItemSummaryList.data.invalidateCache();
-                orderItemSummaryList.filterData(criteria);
-            }
-        }
-    ]
-});
-
-isc.ListGrid.create({
-    ID: "orderItemSummaryList",
-    width:650, height:184, alternateRecordStyles:true, 
-    autoDraw: false,
-    dataSource: dynamicReporting_orderItem,
-    fetchOperation: "summary",
-    dataPageSize: 15,  // Deliberately small, to show server-side paging and filtering
-    drawAllMaxCells: 0,  // Disable this performance feature, again to force server visits
-    fields:[
-        {name: "itemID", displayField: "itemName", align: "left",
-         title: "Item Name", width: "50%", 
-         filterEditorType: "TextItem", 
-         filterEditorProperties: {fetchMissingValues: false}
-        },
-        {name: "SKU"},
-        {name: "unitCost"},
-        {name: "quantity", title: "Total qty"},
-        {name: "totalSales", formatCellValue: function(value) {
-            return Math.round(value*100)/100;
-        }
-        }
-    ],
-    showFilterEditor: true
-});
-
-isc.IButton.create({
-	ID: "orderItemExportButton",
-	title: "Export Data",
-	click: "orderItemSummaryList.exportData({operationId: 'summary'});"
-});
-
-isc.VLayout.create({
-    membersMargin: 20,
-    members: [orderItemCriteriaForm, orderItemSummaryList, orderItemExportButton]
-});
-
-orderItemSummaryList.fetchData(orderItemCriteriaForm);
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/dynamicReporting/dynamicReporting_orderItem.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-<DataSource
-    ID="dynamicReporting_orderItem"
-    serverType="sql"
-    tableName="dynRepOrderItem"
-    testFileName="/examples/shared/ds/serverExamples/test_data/orderItem.data.xml"
-    qualifyColumnNames="false"
->
-    <fields>
-        <field name="orderID" type="integer" />
-        <field name="orderDate" type="date" />
-        <field name="itemID" type="integer" />
-        <field name="quantity" type="integer" />
-        <field name="itemName" type="text" customSQL="true" /> 
-        <field name="SKU" type="text" customSQL="true"  />
-        <field name="unitCost" type="float" customSQL="true"  />
-        <field name="startDate" type="date" customSQL="true" />
-        <field name="endDate" type="date" customSQL="true" />
-        <field name="totalSales" type="float" customSQL="true" />
-    </fields>
-    
-<operationBindings>
-    <!-- Special fetch operation - summarize order items in a given date range -->
-    <operationBinding 
-        operationId="summary"
-        operationType="fetch" 
-        customFields="itemName, totalSales, SKU, unitCost" 
-    >
-        <selectClause>
-            dynRepOrderItem.itemID, itemName, SKU, unitCost,
-            SUM(quantity) AS quantity,
-            SUM(quantity * unitCost) AS totalSales
-        </selectClause>
-        <tableClause>dynRepOrderItem, supplyItem</tableClause>
-        <whereClause><![CDATA[
-                dynRepOrderItem.itemID = supplyItem.itemID
-            AND orderDate >= $criteria.startDate
-            AND orderDate <= $criteria.endDate
-            ]]>
-        </whereClause>
-        <groupClause>
-            dynRepOrderItem.itemID, itemName,SKU, unitCost
-        </groupClause>
-        <groupWhereClause>($defaultWhereClause)</groupWhereClause>
-    </operationBinding>
-</operationBindings>
-    
-</DataSource>
- 
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/largeValueMap/largeValueMap.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-isc.ListGrid.create({
-    ID: "orderItemList",
-    width:700, height:224, alternateRecordStyles:true, 
-    dataSource: largeValueMap_orderItem,
-    fields:[
-        {name: "orderID"},
-        {name: "itemID", title: "Item Name", align: "left", width: "50%",  
-         displayField: "itemName", editorType: "SelectItem", filterEditorType: "ComboBoxItem"},
-        {name: "quantity"},
-        {name: "unitPrice"}
-    ],
-    autoFetchData: true,
-    canEdit: true,
-    showFilterEditor: true
-});
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/largeValueMap/largeValueMap_orderItem.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-<DataSource
-    ID="largeValueMap_orderItem"
-    serverType="sql"
-    tableName="valMapOrderItem"
-    testFileName="/examples/shared/ds/serverExamples/test_data/orderItem.data.xml"
->
-    <fields>
-        <field name="pk" type="sequence" primaryKey="true" hidden="true" />
-        <field name="orderID" type="integer" />
-        <field name="orderDate" type="date" />
-        <field name="itemID" type="integer" />
-        <field name="unitPrice" type="float" />
-        <field name="quantity" type="integer" />
-        <field name="itemName" type="text" tableName="supplyItem" />
-    </fields>
-    
-    <operationBindings>
-        <operationBinding operationType="fetch">
-            <tableClause>valMapOrderItem, supplyItem</tableClause>
-            <whereClause>valMapOrderItem.itemID = supplyItem.itemID AND ($defaultWhereClause)</whereClause>
-        </operationBinding>
-    </operationBindings>
-    
-</DataSource>
- 
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/queuedAdd/queuedAdd_order.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<DataSource
-    ID="queuedAdd_order"
-    serverType="sql"
-    tableName="queuedOrder"
-    testFileName="/examples/shared/ds/serverExamples/test_data/queuedOrder.data.xml"
->
-    <fields>
-        <field name="orderID" type="sequence" primaryKey="true" hidden="true" />
-        <field name="customerName" type="text" />
-        <field name="customerRef" type="text" />
-        <field name="orderDate" type="date" />
-        <field name="shippingCost" type="float" />
-    </fields>
-    
-</DataSource>
- 
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/queuedAdd/queuedAdd_orderItem.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<DataSource
-    ID="queuedAdd_orderItem"
-    serverType="sql"
-    tableName="queuedOrderItem"
-    testFileName="/examples/shared/ds/serverExamples/test_data/queuedOrderItem.data.xml"
->
-    <fields>
-        <field name="pk" type="sequence" primaryKey="true" hidden="true" />
-        <field name="orderID" type="integer" />
-        <field name="itemID" type="text" foreignKey="supplyItem.itemID" />
-        <field name="quantity" type="integer" />
-    </fields>
-    
-<operationBindings>
-    
-    <operationBinding operationType="add">
-        <values fieldName="orderID" value="$responseData.last('queuedAdd_order','add').orderID" />
-    </operationBinding>
-
-</operationBindings>
-    
-</DataSource>
- 
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/queuedAdd/queuedMasterDetailAdd.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,98 +0,0 @@
-isc.DynamicForm.create({
-    ID: "orderForm",
-    autoDraw: false,
-    dataSource: queuedAdd_order,
-    useAllDataSourceFields: true
-});
-
-isc.ListGrid.create({
-    ID: "orderItemsList",
-    width: 500,
-    height: 224,
-    dataSource: queuedAdd_orderItem,
-    canEdit: true,
-    autoDraw: false,
-    autoSaveEdits: false,
-    fields: [
-        {name:"quantity", title:"Qty", type:"integer", width:30},
-        {name:"categoryName", title:"Category", editorType:"select", 
-         changed:"this.grid.clearEditValue(this.rowNum, 'itemName');",
-         editorProperties : { optionDataSource:"supplyCategory" }
-        },
-        {name: "itemID", title:"Item", editorType: "select", 
-         optionDataSource: "supplyItem", valueField: "itemID", displayField: "itemName",
-         editorProperties:{
-             getPickListFilterCriteria : function () {
-                var category = this.grid.getEditedCell(this.rowNum, "categoryName");
-                return {category:category};
-             }
-         }
-        }
-        
-    ]
-});
-
-isc.IButton.create({
-    ID: "addButton",
-    autoDraw: false,
-    width: 110,
-    title: "Add Order Line",
-    click: "orderItemsList.startEditingNew({quantity:1})"
-});
-
-isc.IButton.create({
-    ID: "saveButton",
-    autoDraw: false,
-    width: 100,
-    title: "Save Order",
-    click: function() {
-        isc.RPCManager.startQueue();
-        orderForm.saveData();
-        orderItemsList.saveAllEdits();
-        isc.RPCManager.sendQueue();
-        orderForm.editNewRecord();
-        orderItemsList.setData(null);
-    }
-});
-
-isc.VLayout.create({
-    membersMargin: 20,
-    members: [ 
-        orderForm, 
-        orderItemsList, 
-        isc.HLayout.create({membersMargin:10, members:[addButton, saveButton]})
-    ]
-});
-
-// ---------------------------------------------------------------------------------------
-// The code that follows is just to illustrate when SmartClient has contacted the server,
-// to underline the point about queuing. It is not part of the example.
-
-isc.RPCManager.addClassProperties({
-    queueSent: function (requests) {
-        if (serverCount) this.updateServerContactLabel(requests);
-    },
-    updateServerContactLabel: function (requests) {
-        serverCount.incrementAndUpdate(requests);
-        // Flash the label
-        var bgColor = serverCount.backgroundColor;
-        serverCount.setBackgroundColor("ffff77");
-        isc.Timer.setTimeout("if (serverCount) serverCount.setBackgroundColor('" + bgColor +"');", 500);
-    }
-
-});
-
-isc.Label.create({
-    ID: "serverCount",
-    top: 140, padding: 10, left: 520,
-    width: 260, height: 40,
-    border: "1px solid grey",
-    contents: "<b>Number of server trips: 0<br>No queues sent</b>",
-    count: 0,
-    incrementAndUpdate: function (requests) {
-        this.count++;
-        this.setContents("<b>Number of server trips: " + this.count + 
-                         "<br>Last queue contained " + requests.length + " request(s)</b>"); 
-    }
-});
-
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/upload/mediaLibrary.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-
-<DataSource ID="mediaLibrary" dataFormat="iscServer" serverType="sql" tableName="mediaLibrary">
-    <fields>
-        <field name="pk" type="sequence" hidden="true" primaryKey="true"/>
-        <field name="title"/>
-        <field name="image" type="imageFile" maxFileSize="51200" />
-    </fields>
-</DataSource>
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/upload/upload.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,108 +0,0 @@
-
-var firstTime=true;
-
-isc.DynamicForm.create({
-    ID: "uploadForm",
-    dataSource: mediaLibrary,
-    fields: [
-        { name: "title" },
-        { name: "image", type: "imageFile", hint: "Maximum file-size is 50k" },
-        { title: "Save", type: "button", 
-            click: function () {
-                this.form.saveData("if(dsResponse.status>=0) uploadForm.editNewRecord()");
-            }
-        }
-    ]
-});
-
-isc.DynamicForm.create({
-    ID: "searchForm",
-    width: "100%",
-    numCols: 3,
-    colWidths: [60, 200, "*"],
-    saveOnEnter:true, 
-    fields: [
-        { name: "title", title: "Title", type: "text", width: "*" },
-        { name: "search", title: "Search", type: "SubmitItem",
-            startRow: false, endRow: false
-        }
-    ],
-    submit : function () {
-        mediaTileGrid.fetchData(this.getValuesAsCriteria(), null, {textMatchStyle:"substring"});
-    } 
-});
-
-isc.IButton.create({
-    ID: "viewAsTiles",
-    title: "View as Tiles",
-    autoFit: true,
-    icon: "[ISO_DOCS_SKIN]/images/silkicons/application_view_tile.png",
-    value: true,
-    radioGroup: "views",
-    actionType: "checkbox",
-    click: function(){
-        showTileGrid();
-    }
-});
-
-isc.IButton.create({
-    ID:"viewAsList",
-    title: "View as List",
-    autoFit: true,
-    icon: "[ISO_DOCS_SKIN]/images/silkicons/application_view_detail.png",
-    radioGroup: "views",
-    actionType: "checkbox",
-    click: function(){
-        showListGrid();
-    }
-});
-
-isc.HLayout.create({
-    ID: "buttons",
-    width: 500,
-    membersMargin: 5,
-    padding: 5,
-    members: [viewAsTiles, viewAsList]
-});
-
-isc.TileGrid.create({
-        ID: "mediaTileGrid",
-        width: "100%",
-        height: 224,
-        tileWidth: 100,
-        tileHeight: 150,
-        dataSource: mediaLibrary,
-        autoFetchData: true
-});
-
-isc.ListGrid.create({
-        ID: "mediaListGrid",
-        width: "100%",
-        height: 224,
-        alternateRecordStyles: true,
-        dataSource: mediaLibrary
-});
-
-isc.VLayout.create({
-    ID:"mainLayout",
-    left: 350,
-    width:500,
-    height:250,
-    members:[searchForm, buttons, mediaTileGrid, mediaListGrid]
-});
-
-viewAsTiles.click();
-
-function showTileGrid() {
-    mediaListGrid.hide();
-    mediaTileGrid.show();
-}
-
-function showListGrid() {
-    if (firstTime) {
-        firstTime = false;
-        mediaListGrid.setData(mediaTileGrid.getData());
-    }
-    mediaTileGrid.hide();
-    mediaListGrid.show();
-}
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/userSpecificData/CartDMI.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-//
-// CartDMI implementation for the User-Specific Data example
-//
-// This example shows one way to insert your own logic into SmartClient's 
-// normal client/server flow.  All operations of the cartItem DataSource 
-// are routed to this class's enforceUserAccess() method, which simply 
-// stamps the user's session ID onto the DSRequest and then executes it
-// (which calls back into the normal SmartClient flow).  This provides a 
-// robust way to ensure that all DataSource requests have the requesting
-// session's ID passed to all operations; since cartItem is a SmartClient
-// SQL DataSource, the session ID will be used to filter fetch-type 
-// operations, and will be persisted in update- and add-type operations. 
-//
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.userSpecificData;
-
-import javax.servlet.http.HttpServletRequest;
-
-import com.isomorphic.datasource.DSRequest;
-import com.isomorphic.datasource.DSResponse;
-
-public class CartDMI {
-
-    public DSResponse enforceUserAccess(DSRequest dsRequest, HttpServletRequest servletRequest)
-    throws Exception
-    {
-        String sessionId = servletRequest.getSession().getId();
-        dsRequest.setFieldValue("sessionId", sessionId);
-        return dsRequest.execute();
-    }
-}
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/userSpecificData/cartItem.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-<DataSource
-    ID="cartItem"
-    serverType="sql"
-    tableName="cartItem"
-    testFileName="/examples/shared/ds/serverExamples/test_data/salesOrderItem.data.xml"
->
-    <fields>
-        <field name="pk" type="sequence" primaryKey="true" hidden="true" />
-        <field name="sessionId" type="text" />
-        <field name="itemID" type="integer" foreignKey="supplyItem.itemID" />
-        <field name="unitPrice" type="float" />
-        <field name="quantity" type="integer" />
-        <field name="itemName" type="text" tableName="supplyItem" />
-    </fields>
-    
-    <serverObject className="com.isomorphic.examples.server.userSpecificData.CartDMI"
-                  methodName="enforceUserAccess"/>
-
-    <operationBindings>
-        <operationBinding operationType="fetch">
-            <tableClause>cartItem, supplyItem</tableClause>
-            <whereClause>cartItem.itemID = supplyItem.itemID AND ($defaultWhereClause)</whereClause>
-        </operationBinding>
-    </operationBindings>
-    
-</DataSource>
- 
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/userSpecificData/userSpecificData.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-isc.ListGrid.create({
-    ID: "supplyItemList",
-    width:300, height:224, alternateRecordStyles:true, 
-    dataSource: supplyItem,
-    fields:[
-        {name: "itemID"},
-        {name: "itemName", width: "75%"}
-    ],
-    autoFetchData: true,
-    showFilterEditor: true,
-    canDragRecordsOut: true,
-    dragDataAction: "copy"
-});
-
-isc.ListGrid.create({
-    ID: "cartItemList",
-    width:400, left: 320, height:224, alternateRecordStyles:true, 
-    dataSource: cartItem,
-    fields:[
-        {name: "itemID", canEdit: false},
-        {name: "itemName", width: "50%", canEdit: false},
-        {name: "quantity", defaultValue: 1}
-    ],
-    autoFetchData: true,
-    showFilterEditor: true,
-    canAcceptDroppedRecords: true,
-    canRemoveRecords: true,
-    canEdit: true,
-    dropValues: {quantity: 1}
-});
--- a/isomorphic/reference/inlineExamples/serverExamples/sql/vb_Database.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-isc.Canvas.create({
-    ID:"outerCanvas",
-    width:"100%",
-    height:"100%"
-});
-isc.ListGrid.create({
-    ID:"screenshotGrid",
-    parentElement:"outerCanvas",
-    width:120,
-    height:100,
-    showHeaderContextMenu:false,
-    fields : [ { name:"screen", title:"Screenshot" } ],
-    leaveScrollbarGap:false,
-    data : [
-        { screen:"Database Browser", src: "vb_DatabaseBrowser.png", description: 
-          "The Database Browser connects to any configured database and allows you to browse through " +
-          "both schema and data.  Once you have located the table you wish to connect to, simply " +
-          "click it and then click Next; Visual Builder will instantly create a DataSource and " +
-          "put you in the DataSource Editor for fine tuning (see the other screenshot)" 
-        },
-        { screen:"DataSource Editor", src: "vb_DatabaseDSEditor.png", description:
-          "This image shows the details of the DataSource that Visual Builder created from the " +
-          "table selected on the Database Browser tab.  You can change any aspect of the DataSource " +
-          "here, but you don't need to: DataSources created by Visual Builder from database metadata " +
-          "are ready to go immediately"
-        }
-    ],
-    recordClick : function (grid, record) { this.showShot(record) },
-    showShot : function (record) {
-        outerCanvas.addChild(
-            isc.Img.create({
-                ID: "vb_screenshot",
-                top : 120,
-                width: 1015,
-                height: 625,
-                showShadow:true,
-                shadowOffset:10,
-                shadowSoftness:5,
-                src : "screenshots/" + record.src
-            })
-        )
-        outerCanvas.addChild(
-            isc.HTMLPane.create({
-                ID: "vb_description",
-                left:140, width:400, height:210,
-                contents:record.description
-            })
-        )
-    }
-});
-screenshotGrid.showShot(screenshotGrid.data.get(0));
-
--- a/isomorphic/reference/inlineExamples/serverExamples/transactions/autoTransactions/autoTransactions.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-isc.ListGrid.create({
-    ID: "allSupplyItemsList",
-    width: 300,
-    height: 224,
-    canDragRecordsOut: true,
-    dragDataAction: "move",
-    dataSource: supplyItem,
-    autoFetchData: true,
-    fields: [
-        {name:"itemName"},
-        {name:"SKU"}, 
-        {name:"category"}
-    ]
-});
-
-isc.ListGrid.create({
-    ID: "sundriesSupplyItemsList",
-    width: 300,
-    height: 224,
-    left: 320,
-    canAcceptDroppedRecords: true,
-    dataSource: supplyItem,
-    fields: [
-        {name:"itemName"},
-        {name:"SKU"}, 
-        {name:"category"}
-    ]
-});
-
-sundriesSupplyItemsList.fetchData({category: "Office Machine Sundries"});
--- a/isomorphic/reference/inlineExamples/serverExamples/transactions/jdbcOperations/JDBCOperations.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-//
-// DMI implementation for the Transactional User Operations sample
-//
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.transactions;
-
-import java.sql.*;
-import com.isomorphic.datasource.*;
-
-public class JDBCOperations {
-
-    public DSResponse goodJDBCUpdate(DSRequest req) throws Exception {
-        return update(req, "UPDATE lastUpdated SET lastUpdatedTime = ? WHERE pk = ?");
-    }
-
-    public DSResponse badJDBCUpdate(DSRequest req) throws Exception {
-        // Deliberately broken - misspelt column name
-        return update(req, "UPDATE lastUpdated SET lastUpatedTime = ? WHERE pk = ?");
-    }
-    
-    public DSResponse update(DSRequest req, String sql) throws Exception {
-        
-        // We must mark the DSRequest as transactional, so that SmartClient Server knows whether
-        // to mark it as failed if another transactional update fails
-        req.setPartOfTransaction(true);
-        
-        // We make the update part of the transaction by using the dataSource's transaction
-        // object, which in the case of a SQLDataSource will be a java.sql.Connection
-        Connection conn = (Connection)((BasicDataSource)req.getDataSource()).getTransactionObject(req);
-        PreparedStatement stmt = conn.prepareStatement(sql);
-        stmt.setTimestamp(1, new Timestamp(System.currentTimeMillis()));
-        Object pk = req.getValues().get("pk");
-        stmt.setInt(2, Integer.parseInt(pk.toString()));
-        stmt.executeUpdate();
-        stmt.close();
-        DSResponse resp = new DSResponse();
-        resp.setStatus(DSResponse.STATUS_SUCCESS);
-        return resp;
-    }
-}
--- a/isomorphic/reference/inlineExamples/serverExamples/transactions/jdbcOperations/countryTransactions.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-<DataSource
-    ID="countryTransactions"
-    serverType="sql"
-    tableName="countryDS"
-    testFileName="/examples/shared/ds/test_data/country.data.xml"
->
-    <fields>
-        <field name="pk"            type="sequence"   hidden="true"            primaryKey="true" />
-        <field name="countryCode"   type="text"       title="Code"             />
-        <field name="countryName"   type="text"       title="Country"          required="true" />
-        <field name="capital"       type="text"       title="Capital"          />
-        <field name="government"    type="text"       title="Government"       length="500"      />
-        <field name="member_g8"     type="boolean"    title="G8"               />
-        <field name="continent"     type="text"       title="Continent"        >
-            <valueMap>
-                <value>Europe</value>
-                <value>Asia</value>
-                <value>North America</value>
-                <value>Australia/Oceania</value>
-                <value>South America</value>
-                <value>Africa</value>
-            </valueMap>
-        </field>
-        <field name="independence"  type="date"       title="Nationhood"          />
-        <field name="area"          type="float"      title="Area (km&amp;sup2;)" />
-        <field name="population"    type="integer"    title="Population"          />
-        <field name="gdp"           type="float"      title="GDP ($M)"            />
-        <field name="article"       type="link"       title="Info"                />
-    </fields>
-    
-</DataSource>
--- a/isomorphic/reference/inlineExamples/serverExamples/transactions/jdbcOperations/jdbcOperations.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-isc.ListGrid.create({
-    ID: "countryList",
-    width: 300,
-    height: 224,
-    dataSource: countryTransactions,
-    autoFetchData: true,
-    canEdit: true,
-    autoSaveEdits: false,
-    fields: [
-        {name:"countryName"},
-        {name:"capital"}, 
-        {name:"continent"},
-        {name:"gdp"}
-    ],
-    editComplete: function () {
-        lastUpdated.fetchData({}, function (resp, data) {
-            lastUpdatedLabel.setContents(data[0].lastUpdatedTime);
-        });
-    },
-    editFailed: function () {
-        this.editComplete();
-    }
-});
-
-lastUpdatedLabel = isc.Label.create({
-    backgroundColor: "#aabbff",
-    left: 320, top: 102,
-    height: 20, width: 300
-});
-
-lastUpdated.fetchData({}, function (resp, data) {
-    lastUpdatedLabel.setContents(data[0].lastUpdatedTime);
-});
-
-isc.IButton.create({
-    ID: "countrySave",
-    top: 240, width: 80,
-    title: "Good Save",
-    click: function () {
-        isc.RPCManager.startQueue();
-        countryList.saveAllEdits();
-        lastUpdated.updateData({pk: 1}, null, {operationId: "goodJDBCUpdate"});
-        isc.RPCManager.sendQueue();
-    }
-});
-
-isc.IButton.create({
-    ID: "countryBadSave",
-    top: 240, left: 90, width: 80,
-    title: "Bad Save",
-    click: function () {
-        isc.RPCManager.startQueue();
-        countryList.saveAllEdits();
-        lastUpdated.updateData({pk: 1}, null, {operationId: "badJDBCUpdate"});
-        isc.RPCManager.sendQueue();
-    }
-});
\ No newline at end of file
--- a/isomorphic/reference/inlineExamples/serverExamples/transactions/jdbcOperations/lastUpdated.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-<DataSource
-    ID="lastUpdated"
-    serverType="sql"
-    tableName="lastUpdated"
-    testFileName="/examples/shared/ds/serverExamples/test_data/lastUpdated.data.xml"
->
-
-    <!-- This is a dummy dataSource, based on a table that contains a single row containing a
-         timestamp that is updated by various transaction samples to demonstrate that 
-         operations have been committed or rolled back  -->
-
-    <fields>
-        <field name="pk" type="integer" primaryKey="true" hidden="true" />
-        <field name="lastUpdatedTime"   type="datetime"  />
-    </fields>
-    
-    <operationBindings>
-        <operationBinding operationType="update" operationId="goodJDBCUpdate" 
-                          serverMethod="goodJDBCUpdate">
-            <serverObject 
-                lookupStyle="new" 
-                className="com.isomorphic.examples.server.transactions.JDBCOperations" 
-            />
-        </operationBinding>
-        <operationBinding operationType="update" operationId="badJDBCUpdate" 
-                          serverMethod="badJDBCUpdate">
-            <serverObject 
-                lookupStyle="new" 
-                className="com.isomorphic.examples.server.transactions.JDBCOperations" 
-            />
-        </operationBinding>
-    </operationBindings>
-    
-    
-</DataSource>
--- a/isomorphic/reference/inlineExamples/serverExamples/transactions/rollback/rbCountryTransactions.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-<DataSource
-    ID="rbCountryTransactions"
-    serverType="sql"
-    tableName="countryDS"
-    testFileName="/examples/shared/ds/test_data/country.data.xml"
->
-    <fields>
-        <field name="pk"            type="sequence"   hidden="true"            primaryKey="true" />
-        <field name="countryCode"   type="text"       title="Code"             />
-        <field name="countryName"   type="text"       title="Country"          required="true">
-            <validators>
-                <validator type="hasRelatedRecord" relatedDataSource="worldDS" relatedField="countryName" />
-            </validators>
-        </field>
-        <field name="capital"       type="text"       title="Capital"          />
-        <field name="government"    type="text"       title="Government"       length="500"      />
-        <field name="member_g8"     type="boolean"    title="G8"               />
-        <field name="continent"     type="text"       title="Continent"        >
-            <valueMap>
-                <value>Europe</value>
-                <value>Asia</value>
-                <value>North America</value>
-                <value>Australia/Oceania</value>
-                <value>South America</value>
-                <value>Africa</value>
-            </valueMap>
-        </field>
-        <field name="independence"  type="date"       title="Nationhood"          />
-        <field name="area"          type="float"      title="Area (km&amp;sup2;)" />
-        <field name="population"    type="integer"    title="Population"          />
-        <field name="gdp"           type="float"      title="GDP ($M)"            />
-        <field name="article"       type="link"       title="Info"                />
-    </fields>    
-    
-</DataSource>
--- a/isomorphic/reference/inlineExamples/serverExamples/transactions/rollback/rollback.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-isc.ListGrid.create({
-    ID: "countryList",
-    width: 300,
-    height: 224,
-    dataSource: rbCountryTransactions,
-    autoFetchData: true,
-    canEdit: true,
-    autoSaveEdits: false,
-    fields: [
-        {name:"countryName"},
-        {name:"capital"}, 
-        {name:"continent"},
-        {name:"gdp"}
-    ]
-});
-
-isc.IButton.create({
-    ID: "countrySave",
-    top: 240, width: 80,
-    title: "Save",
-    click: "countryList.saveAllEdits();"
-});
--- a/isomorphic/reference/inlineExamples/serverExamples/validation/ValidatorDMI.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-//
-// ValidatorDMI sample
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.validation;
-
-import java.util.*;
-import javax.servlet.*;
-import javax.servlet.http.*;
-
-import com.isomorphic.log.*;
-import com.isomorphic.util.*;
-import com.isomorphic.datasource.*;
-
-// the <serverObject> declaration in a <validator> delcaration in a DataSource .ds.xml file
-// directs the SmartClient Java server libraries to find the ValidatorDMI class.  
-// Several ways of finding or creating the DMI target are supported, including via Spring, or
-// via session or request attributes.  See ServerObject.lookupStyle in the SmartClient Reference.
-// You can also provide your own servlet, invoking SmartClient DMI from a Spring Controller or
-// Struts Action.
-public class ValidatorDMI {
-
-    Logger log = new Logger(ValidatorDMI.class.getName());
-
-    // the first four arguments (value, validator, fieldName, record) are required.
-    // After those four arguments, you can optionally declare further arguments for any of the
-    // objects that are available at validation time, in any order.  
-    //
-    // Here, we declare the four required arguments, and then a fifth argument of type
-    // "DataSource" - it receives the DataSource that this validator was declared in.
-    public boolean condition(Object value, Validator validator, 
-                             String fieldName, Map record, DataSource ds)
-        throws Exception 
-    {
-        log.warn("validating value: '" + value +
-                 "' for fieldName: '" + fieldName +
-                 "' in DataSource: '" + ds.getID() +
-                 "'\nin record: " + DataTools.prettyPrint(record) +
-                 "\nvalidator definition: " + DataTools.prettyPrint(validator));
-
-        int quantityOrdered = Integer.valueOf(value.toString()).intValue();
-
-        // look up the StockItem by id to see current quanity
-        DSRequest dsRequest = new DSRequest("StockItem", "fetch");
-        dsRequest.setCriteria(DataTools.buildMap("id", record.get("itemId")));
-
-        Map dataMap = dsRequest.execute().getDataMap();
-        if (dataMap == null) {
-            // No row found
-            return false;
-        }
-        
-        long quantityAvailable = ((Integer)dataMap.get("quantity")).intValue();
-
-        if (quantityOrdered > quantityAvailable) {
-            validator.addErrorMessageVariable("available", "" + quantityAvailable);
-            return false;
-        }
-        
-        return true;
-    }
-}
--- a/isomorphic/system/reference/inlineExamples/dataIntegration/java/SupplyItem.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.SupplyItem" table="supplyItem">
-        <id name="itemID">
-            <generator class="native"/>
-        </id>
-        <property name="itemName" />
-        <property name="SKU" />
-        <property name="description" />
-        <property name="category" />
-        <property name="units" />
-        <property name="unitCost" type="double" />
-        <property name="inStock" type="boolean" />
-        <property name="nextShipment" type="date" />
-    </class>
-</hibernate-mapping>
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/dataIntegration/java/SupplyItem.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Java server integration example
-//
-// SupplyItem Bean
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples;
-
-import java.util.Date;
-import java.io.Serializable;
-
-// a typical Java Bean which can be stored by many different ORM (object-relational mapping)
-// systems, including Hibernate, Toplink, JDO, EJB3, etc.
-public class SupplyItem implements Serializable {
-    // a zero-argument constructor is not required, but does enable certain convenience
-    // features (see the docs for DMI)
-    public SupplyItem() { }
-
-    // when receiving data from client-side SmartClient components, SmartClient will call these
-    // setters to modify properties.  The setters are found via the Java Beans naming
-    // convention, for example, a DataSource field named "category" will be applied via a
-    // setter called setCategory().
-    public void setItemID(Long id) { itemID = id; }
-    public void setSKU(String sku) { SKU = sku; }
-    public void setCategory(String c) { category = c; }
-    public void setItemName(String name) { itemName = name; }
-    public void setDescription(String d) { description = d; }
-    public void setUnitCost(Double cost) { unitCost = cost; }
-    public void setUnits(String newUnits) { units = newUnits; }
-    public void setInStock(Boolean val) { inStock = val; }
-    public void setNextShipment(Date date) { nextShipmentDate = date; }
-
-    // SmartClient will call these getters when serializing a Java Bean to be transmitted to
-    // client-side components.
-    public Long getItemID() { return itemID; }
-    public String getSKU() { return SKU; }
-    public String getCategory() { return category; }
-    public String getItemName() { return itemName; }
-    public String getDescription() { return description; }
-    public Double getUnitCost() { return unitCost; }
-    public String getUnits() { return units; }
-    public Boolean getInStock() { return inStock; }
-    public Date getNextShipment() { return nextShipmentDate; }
-
-    // this bean has no business logic.  It simply stores data in these instance variables.
-    protected Long itemID;
-    protected String SKU;
-    protected String category;
-    protected String itemName;
-    protected String description;
-    protected Double unitCost;
-    protected String units;
-    protected Boolean inStock;
-    protected Date nextShipmentDate;
-}
-
--- a/isomorphic/system/reference/inlineExamples/dataIntegration/java/SupplyItemDMI.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,113 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-//
-// SupplyItemDMI implementation
-//
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples;
-
-import java.util.*;
-import javax.servlet.*;
-import javax.servlet.http.*;
-
-import com.isomorphic.log.*;
-import com.isomorphic.util.*;
-import com.isomorphic.datasource.*;
-
-// the <serverObject> declaration in supplyItemDMI.ds.xml directs the SmartClient Java
-// server libraries to find the SupplyItemFetch class.  
-// Several ways of finding or creating the DMI target are supported, including via Spring, or
-// via session or request attributes.  See ServerObject.lookupStyle in the SmartClient Reference.
-// You can also provide your own servlet, invoking SmartClient DMI from a Spring Controller or
-// Struts Action.
-public class SupplyItemDMI {
-
-    Logger log = new Logger(SupplyItemDMI.class.getName());
-
-    // By default, for a DSRequest of type "fetch", a method named "fetch" is invoked.  You can
-    // customize this via the <serverObject> declaration.
-    public DSResponse fetch(DSRequest dsRequest) 
-        throws Exception 
-    {
-        log.info("procesing DMI fetch operation");
-
-        // this implementation shows data paging (returning only ranges of requested records)
-        long startRow = dsRequest.getStartRow();
-        long endRow = dsRequest.getEndRow();
-
-        long totalRows = SupplyItemStore.getMatchingRowcount((Long)dsRequest.getFieldValue("itemID"),
-                                                             (String)dsRequest.getFieldValue("itemName"));
-
-        // Fetch a List of matching SupplyItem Beans from some pre-existing Java object model
-        // provided by you, represented by "SupplyItemStore" in this example
-        List matchingItems =
-            SupplyItemStore.findMatchingItems((Long)dsRequest.getFieldValue("itemID"),
-                                              (String)dsRequest.getFieldValue("itemName"),
-                                              (int)startRow, (int)endRow);
-
-        DSResponse dsResponse = new DSResponse();
-        dsResponse.setTotalRows(totalRows);
-        dsResponse.setStartRow(startRow);
-
-        endRow = Math.min(endRow, totalRows);
-        dsResponse.setEndRow(endRow);
-        
-        // just return the List of matching beans
-        dsResponse.setData(matchingItems);
-
-        return dsResponse;
-    }
- 
-    // Declared parameters of the method are automatically provided.  For example, if your
-    // method declares a parameter of type HttpServletRequest, the current HttpServletRequest
-    // will be passed.
-    // If you declare a parameter that is a Java Bean, SmartClient will create an instance of
-    // the bean and apply the DSRequest data to the bean via Java reflection, matching
-    // DataSource fields to Java setter methods.  For example, for the DataSource field
-    // "itemName", SupplyItem.setItemName() is called.
-    public SupplyItem add(SupplyItem record)
-        throws Exception
-    {
-        log.info("procesing DMI add operation");
-
-        // most ORM systems can store a new Object with a single call like this.
-        SupplyItemStore.storeItem(record);
-
-        // return the record-as-saved so SmartClient can update client-side caches.  This
-        // pattern ensures client-side components receive server-generated fields (such as an
-        // auto-generated primaryKey value).  SmartClient can then update caches in place
-        // instead of re-fetching data.
-        return record;
-    }
-
-    // The "update" method declares a parameter of type "Map" and so receives DSRequest.data as
-    // a Java Map.  For an "update" operation, the data includes updated fields and always
-    // includes the field declared as primaryKey:true.
-    public SupplyItem update(Map record)
-        throws Exception
-    {
-        log.info("procesing DMI update operation");
-
-        // look up the existing data by primary key
-        SupplyItem existingRecord = SupplyItemStore.getItemByID((Long)record.get("itemID"));
-
-        // DataTools.setProperties() is a SmartClient API that applies a Map of properties to a
-        // Bean via reflection, matching Map keys to setter methods on the Bean.
-        DataTools.setProperties(record, existingRecord);
-
-        // store it, and return the record-as-saved so SmartClient can update client-side caches.  
-        SupplyItemStore.storeItem(existingRecord);
-        return existingRecord;
-    }
-
-
-    public SupplyItem remove(SupplyItem record) 
-        throws Exception
-    {
-        log.info("procesing DMI remove operation");
-
-        // on a removal, just return
-        return SupplyItemStore.removeItem(record.getItemID());
-    }
-}
--- a/isomorphic/system/reference/inlineExamples/dataIntegration/java/SupplyItemDao.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,164 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Minimal Java server integration example
-//
-// Spring HelloWorld example
-//
-// Simple invocation of a spring-managed bean directly from the client via RPC DMI
-//
-//----------------------------------------------------------------------
-package com.isomorphic.examples.spring;
-
-import java.io.*;
-import java.util.*;
-
-import com.isomorphic.log.Logger;
-import com.isomorphic.examples.SupplyItem;
-import com.isomorphic.util.DataTools;
-import com.isomorphic.datasource.*;
-import com.isomorphic.util.ErrorReport;
-
-import org.hibernate.*;
-import org.hibernate.criterion.*;
-
-public class SupplyItemDao {
-
-    Logger log = new Logger(SupplyItemDao.class.getName());
-
-    // autoconfigured by Spring
-    private SessionFactory sessionFactory;
-    public void setSessionFactory(SessionFactory sessionFactory) {
-        this.sessionFactory = sessionFactory;
-    }
-
-    public DSResponse fetch(DSRequest dsRequest) 
-        throws Exception 
-    {
-        log.info("procesing DMI fetch operation");
-        DSResponse dsResponse = new DSResponse(dsRequest == null ? (DataSource)null :
-                                                                   dsRequest.getDataSource());
-
-        Session hibernateSession = sessionFactory.getCurrentSession();
-
-        // DataSource protocol: get filter criteria
-        String itemName = (String)dsRequest.getFieldValue("itemName");
-                 
-        // DataSource protocol: get requested row range
-        long startRow = (int)dsRequest.getStartRow();
-        long endRow = (int)dsRequest.getEndRow();
-
-        Criteria criteria = hibernateSession.createCriteria(SupplyItem.class);
-        Criterion itemNameRestriction = null;
-        if (itemName != null) {
-            itemNameRestriction = Restrictions.like("itemName", itemName, MatchMode.ANYWHERE);
-            criteria.add(itemNameRestriction);
-        }
-        
-        // determine total available rows 
-        // this is used by e.g. the ListGrid to auto-size its scrollbar
-        criteria.setProjection(Projections.rowCount());
-        Object rowCount = criteria.uniqueResult();
-        long totalRows = 0;
-        // Later versions of Hibernate return a Long rather than an Integer here, for all
-        // those occasions when a fetch returns more than 2.1 billion rows...
-        if (rowCount instanceof Integer) {
-            totalRows = ((Integer)rowCount).intValue();
-        } else if (rowCount instanceof Long) {
-            totalRows = ((Long)rowCount).longValue();
-        }
-
-        // clamp endRow to available rows and slice out requested range
-        endRow = Math.min(endRow, totalRows);
-                 
-        // rebuilt the criteria minus the rowCount projection
-        criteria = hibernateSession.createCriteria(SupplyItem.class);                
-        if (itemName != null) criteria.add(itemNameRestriction);
-
-        // limit number of rows returned to just what the ListGrid asked for
-        criteria.setFirstResult((int)startRow);
-        criteria.setMaxResults((int)(endRow - startRow));
-        List matchingItems = criteria.list();
-
-        // DataSource protocol: return matching item beans
-        dsResponse.setData(matchingItems);
-        // tell client what rows are being returned, and what's available
-        dsResponse.setStartRow(startRow);
-        dsResponse.setEndRow(endRow);
-        dsResponse.setTotalRows(totalRows);        
-
-        return dsResponse;
-    }
- 
-    public DSResponse add(DSRequest dsRequest, SupplyItem item)
-        throws Exception
-    {
-        log.info("procesing DMI add operation");
-
-        DSResponse dsResponse = new DSResponse();
-
-        // perform validation
-        ErrorReport errorReport = dsRequest.getDataSource().validate(DataTools.getProperties(item), false);
-        if (errorReport != null) {
-           dsResponse.setStatus(DSResponse.STATUS_VALIDATION_ERROR);
-           dsResponse.setErrorReport(errorReport);
-           System.out.println("Errors: " + DataTools.prettyPrint(errorReport));
-           return dsResponse;
-        }
-
-        
-        Session hibernateSession = sessionFactory.getCurrentSession();
-        hibernateSession.saveOrUpdate(item);
-        dsResponse.setData(item);
-        return dsResponse;
-    }
-    
-
-    public DSResponse update(DSRequest dsRequest, Map newValues)
-        throws Exception
-    {
-        log.info("procesing DMI update operation");
-
-        DSResponse dsResponse = new DSResponse();
-
-        // perform validation
-        ErrorReport errorReport = dsRequest.getDataSource().validate(newValues, false);
-        if (errorReport != null) {
-           dsResponse.setStatus(DSResponse.STATUS_VALIDATION_ERROR);
-           dsResponse.setErrorReport(errorReport);
-           System.out.println("Errors: " + DataTools.prettyPrint(errorReport));
-           return dsResponse;
-        }
-
-        // primary key
-        Serializable id = (Serializable)dsRequest.getFieldValue("itemID");
-
-        Session hibernateSession = sessionFactory.getCurrentSession();
-        SupplyItem item = (SupplyItem)hibernateSession.get(SupplyItem.class, id);
-
-        log.warn("fetched item: " + DataTools.prettyPrint(item));
-
-        // apply new values to the as-saved bean
-        DataTools.setProperties(newValues, item);
-
-        log.warn("Saving record: " + DataTools.prettyPrint(item));
-
-        // persist
-        hibernateSession.saveOrUpdate(item);
-        dsResponse.setData(item);
-        return dsResponse;
-    }
-
-
-    public SupplyItem remove(SupplyItem item) 
-        throws Exception
-    {
-        log.info("procesing DMI remove operation");
-        
-        Session hibernateSession = sessionFactory.getCurrentSession();
-        hibernateSession.delete(item);
-
-        return item;
-    }
-    
-
-}
--- a/isomorphic/system/reference/inlineExamples/dataIntegration/java/SupplyItemFetch.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-//
-// SupplyItemFetch implementation
-//
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples;
-
-import java.util.*;
-
-import com.isomorphic.log.*;
-import com.isomorphic.util.*;
-import com.isomorphic.datasource.*;
-
-
-
-public class SupplyItemFetch {
-
-    // This method receives a SmartClient DSRequest object and returns a valid DSResponse,
-    // fulfilling the "fetch" operation for the SupplyItem DataSource.
-    // There are multiple ways to direct incoming requests to this method - SmartClient DMI is
-    // one - this example focuses on fulfilling the request.
-    public DSResponse fetch(DSRequest dsRequest) 
-        throws Exception 
-    {
-        // for a fetch, the DSRequest contains search criteria.
-        // Fetch a List of matching SupplyItem Beans from some pre-existing Java object model
-        // provided by you, represented by "SupplyItemStore" in this example.
-        List matchingItems =
-            SupplyItemStore.findMatchingItems((Long)dsRequest.getFieldValue("itemID"),
-                                              (String)dsRequest.getFieldValue("itemName"));
-
-        // provide the List of Beans as the data for the DSResponse.  SmartClient automatically
-        // converts these Beans to JavaScript Objects and provides them to the component that
-        // made the request.  All you need to do is name your DataSource fields after Java Bean
-        // properties.
-        DSResponse dsResponse = new DSResponse(dsRequest == null ? (DataSource)null :
-                                                                   dsRequest.getDataSource());
-        dsResponse.setData(matchingItems);
-        return dsResponse;
-    }
-}
--- a/isomorphic/system/reference/inlineExamples/dataIntegration/java/applicationContext.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
-
-  <!-- Bean used by RPC DMI example - just a simple invocation of a spring-managed bean directly
-  from the client. -->
-  <bean id="helloWorld" class="com.isomorphic.examples.spring.HelloWorld">
-      <property name="responsePrefix" value="Hi "/>
-  </bean>
-
-  <!-- Beans used by DMI validation autoTests -->
-  <!--  -->
-
-  <!-- Bean used by the autoDerive schema from Spring bean autoTest -->
-  <!--  -->
-
-
-
-  <!-- Beans used by Hibernate Data Binding example -->
-  <bean id="supplyItemDaoTarget" class="com.isomorphic.examples.spring.SupplyItemDao">
-    <property name="sessionFactory" ref="hibernateSessionFactory"/>
-  </bean>
-
-  <!-- Transaction proxy for supplyItemDMI -->
-  <bean id="supplyItemDao" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
-     <property name="transactionManager" ref="txManager"/>
-     <property name="target" ref="supplyItemDaoTarget"/>
-     <property name="transactionAttributes">
-         <props>
-             <prop key="fetch">PROPAGATION_REQUIRED</prop>
-             <prop key="add">PROPAGATION_REQUIRED</prop>
-             <prop key="update">PROPAGATION_REQUIRED</prop>
-             <prop key="remove">PROPAGATION_REQUIRED</prop>
-         </props>
-     </property>
-  </bean>
-
-  <!-- Transaction manager for supplyItemDMI -->
-  <bean id="txManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
-    <property name="sessionFactory" ref="hibernateSessionFactory"/>
-  </bean>
-    
-  <!-- Hibernate SessionFactory -->
-  <bean id="hibernateSessionFactory" 
-        class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
-    <property name="configLocation" value="classpath:hibernate.cfg.xml"/>
-    <property name="mappingLocations" value="classpath:com/isomorphic/examples/SupplyItem.hbm.xml"/>
-  </bean>
-
-</beans>
--- a/isomorphic/system/reference/inlineExamples/dataIntegration/java/blockingErrors.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-isc.DynamicForm.create({
-    ID: "boundForm",
-    dataSource: "complaint",
-    wrapItemTitles: false,
-    fields: [
-        {type:"header", defaultValue:"Shipment Complaint Form"},
-        {name: "trackingNumber", stopOnError: true},
-        {name: "receiptDate", useTextField: true},
-        {name: "comment", editorType: "textArea"}
-    ]
-});
--- a/isomorphic/system/reference/inlineExamples/dataIntegration/java/dmi.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-isc.Label.create({
-    ID:"helpText",
-	contents:"<ul>" +
-	"<li>click a record in the grid to view and edit that record in the form</li>" +
-	"<li>click <b>Save</b> to save changes to an edited record in the form</li>" +
-	"<li>click <b>Clear</b> to clear all fields in the form</li>" +
-	"<li>click <b>Filter</b> to filter (substring match) the grid based on the value of the 'Item' form value only.</li>" +
-	"<li>click <b>Fetch</b> to fetch records (exact match) for the grid based on the value of the 'Item' form value only.</li>" +
-	"<li>click <b>Delete</b> to delete all selected records</li>" +
-	"<li>double-click a record in the grid to edit inline (press Return, or arrow/tab to another record, to save)</li>" +
-	"</ul>"
-});
-
-// databound ListGrid
-//   * click records to edit in boundForm and view in boundViewer
-//   * double-click record to edit inline (Return or arrow/tab off current row to save)
-isc.ListGrid.create({
-	ID:"boundList",
-    dataSource: supplyItemDMI,
-	height:200,
-	canEdit:true,
-    selectionChanged : function (record, state) {
-        if (this.selection.anySelected()) {
-            deleteBtn.enable();
-            saveBtn.setDisabled(this.selection.multipleSelected());
-            boundForm.editRecord(record);
-            boundViewer.viewSelectedData(this);
-        } else {
-            deleteBtn.disable();
-            saveBtn.disable();
-        }
-    }
-});
-
-// databound SearchForm
-//   * click boundList records to edit
-isc.SearchForm.create({
-	ID:"boundForm",
-    dataSource: supplyItemDMI,
-	numCols:"6",
-	autoFocus:false,
-    useAllDataSourceFields: true
-});
-
-// toolbar to perform various actions using the boundForm values (see helpText above)
-isc.Toolbar.create({
-    ID: "boundFormToolbar",
-	membersMargin:10,
-    buttonConstructor: "IButton",
-    height: 22,
-	buttons:[
-		{title:"Save", click:"boundForm.saveData()", ID:"saveBtn"},
-		{title:"Clear", click:"boundForm.clearValues();boundForm.editNewRecord();saveBtn.enable()"},
-		{title:"Filter", click:"boundList.filterData(boundForm.getValuesAsCriteria());"},
-		{title:"Fetch", 
-         click:"boundList.fetchData(boundForm.getValuesAsCriteria());"},
-		{title:"Delete", ID:"deleteBtn", disabled: true, 
-         click:"boundList.removeSelectedData();boundList.deselectAllRecords()"}
-	]
-});
-		
-// databound DetailViewer
-//   * click boundList records to display
-isc.DetailViewer.create({
-	ID:"boundViewer",
-    dataSource: supplyItemDMI
-});
-
-isc.VStack.create({
-	width:"100%",
-	membersMargin:20,
-	members:[ helpText, boundList, boundForm, boundFormToolbar, boundViewer]
-});
-
-boundList.filterData();
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/dataIntegration/java/hasRelatedValidation.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-isc.DynamicForm.create({
-    ID: "boundForm",
-    dataSource: "complaint",
-    wrapItemTitles: false,
-    fields: [
-        {type:"header", defaultValue:"Shipment Complaint Form"},
-        {name: "trackingNumber", validateOnExit: true},
-        {name: "receiptDate", useTextField: true, validateOnExit: true},
-        {name: "comment", editorType: "textArea"},
-        {name: "submitBtn", title: "Submit", type: "button", click: "form.validate()"}
-    ]
-});
--- a/isomorphic/system/reference/inlineExamples/dataIntegration/java/hibernateProduction.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-isc.Label.create({
-    ID:"helpText",
-	contents:"<ul>" +
-	"<li>click a record in the grid to view and edit that record in the form</li>" +
-	"<li>click <b>Save</b> to save changes to an edited record in the form</li>" +
-	"<li>click <b>Clear</b> to clear all fields in the form</li>" +
-	"<li>click <b>Filter</b> to filter (substring match) the grid based on the value of the 'Item' form value only.</li>" +
-	"<li>click <b>Fetch</b> to fetch records (exact match) for the grid based on the value of the 'Item' form value only.</li>" +
-	"<li>click <b>Delete</b> to delete all selected records</li>" +
-	"<li>double-click a record in the grid to edit inline (press Return, or arrow/tab to another record, to save)</li>" +
-	"</ul>"
-});
-
-// databound ListGrid
-//   * click records to edit in boundForm and view in boundViewer
-//   * double-click record to edit inline (Return or arrow/tab off current row to save)
-isc.ListGrid.create({
-	ID:"boundList",
-    dataSource: supplyItemSpringDMI,
-	height:200,
-	canEdit:true,
-    selectionChanged : function (record, state) {
-        if (this.selection.anySelected()) {
-            deleteBtn.enable();
-            saveBtn.setDisabled(this.selection.multipleSelected());
-            boundForm.editRecord(record);
-            boundViewer.viewSelectedData(this);
-        } else {
-            deleteBtn.disable();
-            saveBtn.disable();
-        }
-    }
-});
-
-// databound SearchForm
-//   * click boundList records to edit
-isc.SearchForm.create({
-	ID:"boundForm",
-    dataSource: supplyItemSpringDMI,
-	numCols:"6",
-	autoFocus:false,
-    useAllDataSourceFields: true
-});
-
-// toolbar to perform various actions using the boundForm values (see helpText above)
-isc.Toolbar.create({
-    ID: "boundFormToolbar",
-	membersMargin:10,
-    buttonConstructor: "IButton",
-    height: 22,
-	buttons:[
-		{title:"Save", click:"boundForm.saveData()", ID:"saveBtn"},
-		{title:"Clear", click:"boundForm.clearValues();boundForm.editNewRecord();saveBtn.enable()"},
-		{title:"Filter", click:"boundList.filterData(boundForm.getValuesAsCriteria());"},
-		{title:"Fetch", 
-         click:"boundList.fetchData(boundForm.getValuesAsCriteria());"},
-		{title:"Delete", ID:"deleteBtn", disabled: true, 
-         click:"boundList.removeSelectedData();boundList.deselectAllRecords()"}
-	]
-});
-		
-// databound DetailViewer
-//   * click boundList records to display
-isc.DetailViewer.create({
-	ID:"boundViewer",
-    dataSource: supplyItemSpringDMI
-});
-
-isc.VStack.create({
-	width:"100%",
-	membersMargin:20,
-	members:[ helpText, boundList, boundForm, boundFormToolbar, boundViewer]
-});
-
-boundList.filterData();
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/dataIntegration/java/hibernatePrototyping.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-isc.Label.create({
-    ID:"helpText",
-	contents:"<ul>" +
-	"<li>click a record in the grid to view and edit that record in the form</li>" +
-	"<li>click <b>Save</b> to save changes to an edited record in the form</li>" +
-	"<li>click <b>Clear</b> to clear all fields in the form</li>" +
-	"<li>click <b>Filter</b> to filter (substring match) the grid based on the value of the 'Item' form value only.</li>" +
-	"<li>click <b>Fetch</b> to fetch records (exact match) for the grid based on the value of the 'Item' form value only.</li>" +
-	"<li>click <b>Delete</b> to delete all selected records</li>" +
-	"<li>double-click a record in the grid to edit inline (press Return, or arrow/tab to another record, to save)</li>" +
-	"</ul>"
-});
-
-// databound ListGrid
-//   * click records to edit in boundForm and view in boundViewer
-//   * double-click record to edit inline (Return or arrow/tab off current row to save)
-isc.ListGrid.create({
-	ID:"boundList",
-    dataSource: supplyItemHB,
-	height:200,
-	canEdit:true,
-    selectionChanged : function (record, state) {
-        if (this.selection.anySelected()) {
-            deleteBtn.enable();
-            saveBtn.setDisabled(this.selection.multipleSelected());
-            boundForm.editRecord(record);
-            boundViewer.viewSelectedData(this);
-        } else {
-            deleteBtn.disable();
-            saveBtn.disable();
-        }
-    }
-});
-
-// databound SearchForm
-//   * click boundList records to edit
-isc.SearchForm.create({
-	ID:"boundForm",
-    dataSource: supplyItemHB,
-	numCols:"6",
-	autoFocus:false,
-    useAllDataSourceFields: true
-});
-
-// toolbar to perform various actions using the boundForm values (see helpText above)
-isc.Toolbar.create({
-    ID: "boundFormToolbar",
-	membersMargin:10,
-    buttonConstructor: "IButton",
-    height: 22,
-	buttons:[
-		{title:"Save", click:"boundForm.saveData()", ID:"saveBtn"},
-		{title:"Clear", click:"boundForm.clearValues();boundForm.editNewRecord();saveBtn.enable()"},
-		{title:"Filter", click:"boundList.filterData(boundForm.getValuesAsCriteria());"},
-		{title:"Fetch", 
-         click:"boundList.fetchData(boundForm.getValuesAsCriteria());"},
-		{title:"Delete", ID:"deleteBtn", disabled: true, 
-         click:"boundList.removeSelectedData();boundList.deselectAllRecords()"}
-	]
-});
-		
-// databound DetailViewer
-//   * click boundList records to display
-isc.DetailViewer.create({
-	ID:"boundViewer",
-    dataSource: supplyItemHB
-});
-
-isc.VStack.create({
-	width:"100%",
-	membersMargin:20,
-	members:[ helpText, boundList, boundForm, boundFormToolbar, boundViewer]
-});
-
-boundList.filterData();
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/dataIntegration/java/javaBeans.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-isc.ListGrid.create({
-    ID: "boundGrid",
-    dataSource: "supplyItemDMI",
-    width: "100%",
-    height: 300
-});
-
-boundGrid.filterData({itemName: "account"});
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/dataIntegration/java/serverValidation.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-isc.DynamicForm.create({ 
-    ID: "dynamicForm",
-    dataSource: "supplyItem",
-    // pre-fill some values
-    values: {
-        unitCost: -1.234,
-        SKU: "my SKU"
-    }
-});
-
-isc.IButton.create({
-    ID: "saveButton",
-    title: "Save",
-    click: "dynamicForm.saveData()"
-});
-
-
-isc.IButton.create({
-    ID: "clearErrorsButton",
-    title: "Clear Errors",
-    click: "dynamicForm.clearErrors(true)"
-});
-
-isc.IButton.create({
-    ID: "disableValidationButton",
-    autoFit: true,
-    title: "Disable Validation",
-    click: function () {
-        dynamicForm.disableValidation = !dynamicForm.disableValidation;
-        this.setTitle((dynamicForm.disableValidation ? "Enable" : "Disable")+" Validation");
-    }
-});
-
-isc.HStack.create({
-    ID: "buttons",
-    height: 24,
-    membersMargin: 10,
-    members: [saveButton, clearErrorsButton, disableValidationButton]    
-});
-
-isc.VLayout.create({
-    membersMargin: 10,
-    members: [dynamicForm, buttons]
-});
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/dataIntegration/java/uniqueCheckValidation.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-isc.DynamicForm.create({
-    ID: "boundForm",
-    dataSource: "queuing_userHB",
-    wrapItemTitles: false,
-    fields: [
-        {type:"header", defaultValue:"Registration Form"},
-        {name: "email", required: true, validateOnExit: true},
-        {name: "firstName", title: "First name"},
-        {name: "surname", title: "Last name"},
-        {name: "department", title: "Department"},
-        {name: "validateBtn", title: "Validate", type: "button", click: "form.validate()"}
-    ]
-});
--- a/isomorphic/system/reference/inlineExamples/dataIntegration/java/validationDMI.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-isc.DynamicForm.create({
-    dataSource:"validationDMI_orderForm",
-    fields: [
-        { type:"header", defaultValue:"Add an item to your Order" },
-        { name:"itemId", title:"Item", editorType:"ComboBoxItem", optionDataSource:"StockItem",
-          valueField:"id", displayField:"description" },
-        { name:"quantity", validateOnExit:true },
-        { name:"instructions", editorType:"TextAreaItem" },
-        { type:"submit", title:"Submit Order" }
-    ]
-});
--- a/isomorphic/system/reference/inlineExamples/dataIntegration/java/velocityValidation.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-isc.DynamicForm.create({
-    dataSource:"velocity_orderForm",
-    fields: [
-        { type:"header", defaultValue:"Add an item to your Order" },
-        { name:"itemId", title:"Item", editorType:"ComboBoxItem", optionDataSource:"StockItem",
-          valueField:"id", displayField:"description" },
-        { name:"quantity", validateOnExit:true },
-        { name:"instructions", editorType:"TextAreaItem" },
-        { type:"submit", title:"Submit Order" }
-    ]
-});
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/advancedFilter/advancedFilterHibernate.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-isc.FilterBuilder.create({
-    ID:"advancedFilter",
-    dataSource:"supplyItemHB"
-});
-
-isc.ListGrid.create({
-    ID: "itemList",
-    width:550, height:224, alternateRecordStyles:true, 
-    dataSource: supplyItemHB,
-    fields:[
-        {name:"itemName", width: "35%"},
-        {name:"SKU", width: "15%"},
-        {name:"description", width: "35%"},
-        {name:"unitCost", width: "15%"}
-    ],
-    autoFetchData: true
-})
-
-isc.IButton.create({
-    ID:"filterButton",
-    title:"Filter",
-    click : function () {
-        itemList.filterData(advancedFilter.getCriteria());
-    }
-})
-
-isc.VStack.create({
-    membersMargin:10,
-    members:[ advancedFilter, filterButton, itemList ]
-})
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/autoTransactions/autoTransactions.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-isc.ListGrid.create({
-    ID: "allSupplyItemsList",
-    width: 300,
-    height: 224,
-    canDragRecordsOut: true,
-    dragDataAction: "move",
-    dataSource: supplyItemHB,
-    autoFetchData: true,
-    fields: [
-        {name:"itemName"},
-        {name:"SKU"}, 
-        {name:"category"}
-    ]
-});
-
-isc.ListGrid.create({
-    ID: "sundriesSupplyItemsList",
-    width: 300,
-    height: 224,
-    left: 320,
-    canAcceptDroppedRecords: true,
-    dataSource: supplyItemHB,
-    fields: [
-        {name:"itemName"},
-        {name:"SKU"}, 
-        {name:"category"}
-    ]
-});
-
-sundriesSupplyItemsList.fetchData({category: "Office Machine Sundries"});
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/Address.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.server.flattenedBeans.Address" table="flattenedBeans_address" >
-        <id name="id">
-            <generator class="native"/>
-        </id>
-        <property name="line1" type="string" />
-        <property name="line2" type="string" />
-        <property name="city" type="string" />
-        <property name="state" type="string" />
-        <property name="zip" type="string" />
-        <property name="country" type="string" />
-    </class>
-</hibernate-mapping>
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/Address.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Flattened Beans example
-//
-// Address Bean - to be managed by Hibernate
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.flattenedBeans;
-
-import java.io.Serializable;
-
-public class Address implements Serializable {
-
-    protected Long id;
-    protected String line1;
-    protected String line2;
-    protected String city;
-    protected String state;
-    protected String zip;
-    protected String country;
-
-    public Address() { }
-
-    // Getters
-    public Long getId() { return id; }
-    public String getLine1() { return line1; }
-    public String getLine2() { return line2; }
-    public String getCity() { return city; }
-    public String getState() { return state; }
-    public String getZip() { return zip; }
-    public String getCountry() { return country; }
-
-    // Setters
-    public void setId(Long value) { id = value; }
-    public void setLine1(String value) { line1 = value; }
-    public void setLine2(String value) { line2 = value; }
-    public void setCity(String value) { city = value; }
-    public void setState(String value) { state = value; }
-    public void setZip(String value) { zip = value; }
-    public void setCountry(String value) { country = value; }
-    
-    public boolean equals(Object other) {
-        if (this == other) return true;
-        if (!(other instanceof Address)) return false;
-        Address otherAddr = (Address)other;
-        if (this.id == null || otherAddr.id == null) return false;
-        return this.id.equals(otherAddr.id);
-    }
-    
-    public int hashCode() {
-        return 0;
-    }
-    
-}
-
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/FlatUser.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.server.flattenedBeans.FlatUser" table="flattenedBeans_flatUser" >
-        <id name="userId">
-            <generator class="native"/>
-        </id>
-        <property name="firstName" type="string" />
-        <property name="surname" type="string" />
-        <property name="email" type="string" />
-
-        <many-to-one name="address" 
-        			 column="addressId"
-        			 unique="true"
-                     cascade="all"
-                     lazy="false"
-                     fetch="join" />
-
-        </class>
-</hibernate-mapping>
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/FlatUser.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Data Selection example
-//
-// FlatUser Bean - to be managed by Hibernate
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.flattenedBeans;
-
-import java.io.Serializable;
-
-public class FlatUser implements Serializable {
-
-    protected Long userId;
-    protected String firstName;
-    protected String surname;
-    protected String email;
-    protected Address address = new Address();
-    protected String password;
-
-    // In a complete system, User objects are typically related to several other entities
-    // similar to the samples commented out below.  Naive data delivery systems send 
-    // all related entities to the browser unless extra code is written to define exactly
-    // what to send.  By contrast, SmartClient Server delivers just those fields defined in
-    // the DataSource, if DataSource.dropExtraFields is set.  Using the DataSource definition 
-    // to select and trim data in this way avoids extra work and makes it easy to audit 
-    // exactly what data is visible to users.
-    //
-    // Collection<Account> accounts;
-    // Collection<Project> projects;
-    
-    
-    public FlatUser() { }
-
-    // Getters
-    public Long getUserId() { return userId; }
-    public String getFirstName() { return firstName; }
-    public String getSurname() { return surname; }
-    public String getEmail() { return email; }
-    public Address getAddress() { return address; }
-    public String getPassword() { return password; }
-
-    // Setters
-    public void setUserId(Long value) { userId = value; }
-    public void setFirstName(String value) { firstName = value; }
-    public void setSurname(String value) { surname = value; }
-    public void setEmail(String value) { email = value; }
-    public void setAddress(Address value) { address = value; }
-    public void setPassword(String value) { password = value; }
-    
-}
-
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/flattenedBeans.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-
-isc.ListGrid.create({
-    ID: "userListGrid",
-    width: 600, height: 164,
-    autoDraw: true,
-    dataSource: "flattenedBeans_flatUserHB",
-    autoFetchData: true,
-    fields: [
-        { name: "firstName" },
-        { name: "surname" },
-        { name: "email" },
-        { name: "addressLine1" },
-        { name: "city" },
-        { name: "state" }
-    ],
-    selectionChanged: function (record, state) {
-        if (state) {
-            editorForm.editRecord(record);
-        }
-    }
-});
-
-isc.DynamicForm.create({
-    ID: "editorForm",
-    width: 280, top: 180,
-    dataSource: "flattenedBeans_flatUserHB",
-    fields: [
-        { name: "firstName", title: "First Name" },
-        { name: "surname", title: "Surname" },
-        { name: "email", title: "Email address" },
-        { name: "addressLine1", title: "Address Line 1" },
-        { name: "city", title: "City" },
-        { name: "state", title: "State" }
-    ]
-
-});
-
-isc.IButton.create({
-    title: "Add User", 
-    top: 190, left: 300,
-    click: "editorForm.editNewRecord();"
-});
-
-isc.IButton.create({
-    title: "Save Changes", 
-    top: 220, left: 300,
-    click: "editorForm.saveData();"
-});
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/flattenedBeans/flattenedBeans_flatUserHB.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<DataSource
-    ID="flattenedBeans_flatUserHB"
-    serverType="hibernate"
-    beanClassName="com.isomorphic.examples.server.flattenedBeans.FlatUser"
-    testFileName="/examples/shared/ds/serverExamples/test_data/flattenedBeans_flatUserHB.data.xml"
-    dropExtraFields="true"
->
-    <fields>
-        <field name="userId" type="sequence" primaryKey="true" canEdit="false" />
-        <field name="firstName" type="text" />
-        <field name="surname" type="text" />
-        <field name="email" type="text" />
-        <field name="addressLine1" type="text" valueXPath="address/line1" />
-        <field name="city" type="text" valueXPath="address/city" />
-        <field name="state" type="text" valueXPath="address/state" />
-        <field name="zip" type="text" valueXPath="address/zip" hidden="true" />
-        <field name="country" type="text" valueXPath="address/country" hidden="true" />
-    </fields>
-    
-</DataSource>
- 
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/hibernateConnector.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-
-isc.ListGrid.create({
-    ID: "worldList",
-    width:700, height:224, alternateRecordStyles:true, 
-    dataSource: worldHB,
-    autoFetchData: true,
-    showFilterEditor: true,
-    canEdit: true,
-    editEvent: "click",
-    canRemoveRecords: true,
-    fields: [
-        { name:"countryCode", title:"Code", width:50 },
-        { name:"countryName", title:"Country" },
-        { name:"capital", title:"Capital" },
-        { name:"government", title:"Government" },
-        { name:"continent", title:"Continent" },
-        { name:"independence", title:"Nationhood" },
-        { name:"area", title:"Area (km&amp;sup2;)" },
-        { name:"population", title:"Population" },
-        { name:"gdp", title:"GDP ($M)" }
-    ]
-});
-
-isc.Button.create({
-    ID: "newButton",
-    top: 230,
-    title: "Add New",
-    click: "worldList.startEditingNew();"
-});
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/largeValueMap/ValMapOrderItem.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping auto-import="false">
-    <class name="com.isomorphic.examples.server.largeValueMapHibernate.ValMapOrderItem" table="valMapOrderItem" >
-        <id name="pk">
-            <generator class="native"/>
-        </id>
-        <property name="orderID" type="long" />
-        <property name="orderDate" type="date" />
-        <property name="unitPrice" type="double" />
-        <property name="quantity" type="long" />
-
-        <many-to-one name="item" 
-        			 column="`itemID`"
-                     class="com.isomorphic.examples.server.largeValueMapHibernate.ValMapSupplyItem" 
-                     update="false"
-                     insert="false"
-                     lazy="false"
-                     fetch="join" />
-    </class>
-</hibernate-mapping>
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/largeValueMap/ValMapOrderItem.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Large Valuemap example (Hibernate)
-//
-// OrderItem Bean - to be managed by Hibernate
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.largeValueMapHibernate;
-
-import java.util.Date;
-import java.io.Serializable;
-
-public class ValMapOrderItem implements Serializable {
-
-    // this bean has no business logic.  It simply stores data in these instance variables.
-    protected Long pk;
-    protected Long orderID;
-    protected Date orderDate;
-    protected double unitPrice;
-    protected Long quantity;
-    protected ValMapSupplyItem item;
-
-    public ValMapOrderItem() { }
-
-    // Getters
-    public ValMapSupplyItem getItem() { return item; }
-    public Date getOrderDate() { return orderDate; }
-    public Long getOrderID() { return orderID; }
-    public Long getPk() { return pk; }
-    public Long getQuantity() { return quantity; }
-    public double getUnitPrice() { return unitPrice; }
-
-    // Setters
-    public void setItem(ValMapSupplyItem item) { this.item = item; }
-    public void setOrderDate(Date orderDate) { this.orderDate = orderDate; }
-    public void setOrderID(Long orderID) { 
-        this.orderID = orderID; 
-    }
-    public void setPk(Long pk) { this.pk = pk; }
-    public void setQuantity(Long quantity) { this.quantity = quantity; }
-    public void setUnitPrice(double unitPrice) { this.unitPrice = unitPrice; }
-    
-}
-
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/largeValueMap/ValMapSupplyItem.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.server.largeValueMapHibernate.ValMapSupplyItem" table="supplyItem">
-        <id name="itemID">
-            <generator class="native"/>
-        </id>
-        <property name="itemName" />
-        <property name="SKU" />
-        <property name="description" />
-        <property name="category" />
-        <property name="units" />
-        <property name="unitCost" type="double" />
-        <property name="inStock" type="boolean" />
-        <property name="nextShipment" type="date" />
-    </class>
-</hibernate-mapping>
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/largeValueMap/ValMapSupplyItem.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Java server integration example
-//
-// SupplyItem Bean - for the Hibernate Large Value Map example
-//
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.largeValueMapHibernate;
-
-import java.util.Date;
-import java.io.Serializable;
-
-public class ValMapSupplyItem implements Serializable {
-
-    public ValMapSupplyItem() { }
-
-    // when receiving data from client-side SmartClient components, SmartClient will call these
-    // setters to modify properties.  The setters are found via the Java Beans naming
-    // convention, for example, a DataSource field named "category" will be applied via a
-    // setter called setCategory().
-    public void setItemID(Long id) { itemID = id; }
-    public void setSKU(String sku) { SKU = sku; }
-    public void setCategory(String c) { category = c; }
-    public void setItemName(String name) { itemName = name; }
-    public void setDescription(String d) { description = d; }
-    public void setUnitCost(double cost) { unitCost = cost; }
-    public void setUnits(String newUnits) { units = newUnits; }
-    public void setInStock(boolean val) { inStock = val; }
-    public void setNextShipment(Date date) { nextShipmentDate = date; }
-
-    // SmartClient will call these getters when serializing a Java Bean to be transmitted to
-    // client-side components.
-    public Long getItemID() { return itemID; }
-    public String getSKU() { return SKU; }
-    public String getCategory() { return category; }
-    public String getItemName() { return itemName; }
-    public String getDescription() { return description; }
-    public double getUnitCost() { return unitCost; }
-    public String getUnits() { return units; }
-    public boolean getInStock() { return inStock; }
-    public Date getNextShipment() { return nextShipmentDate; }
-
-    // this bean has no business logic.  It simply stores data in these instance variables.
-    protected Long itemID;
-    protected String SKU;
-    protected String category;
-    protected String itemName;
-    protected String description;
-    protected double unitCost;
-    protected String units;
-    protected boolean inStock;
-    protected Date nextShipmentDate;
-}
-
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/largeValueMap/largeValueMapHibernate.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-isc.ListGrid.create({
-    ID: "orderItemList",
-    width:700, height:224, alternateRecordStyles:true, 
-    dataSource: largeValueMap_orderItemHB,
-    fields:[
-        {name: "orderID"},
-        {name: "item", title: "Item Name", displayField: "itemName", width: "50%"},
-        {name: "quantity"},
-        {name: "unitPrice"}
-    ],
-    autoFetchData: true
-});
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/largeValueMap/largeValueMap_orderItemHB.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<DataSource
-    ID="largeValueMap_orderItemHB"
-    serverType="hibernate"
-    beanClassName="com.isomorphic.examples.server.largeValueMapHibernate.ValMapOrderItem"
->
-    <fields>
-        <field name="pk" type="sequence" primaryKey="true" hidden="true" />
-        <field name="orderID" type="long" />
-        <field name="orderDate" type="date" />
-        <field name="itemID" type="text" valueXPath="item/itemID" />
-        <field name="unitPrice" type="double" />
-        <field name="quantity" type="long" />
-        <field name="itemName" type="text" valueXPath="item/itemName" />
-    </fields>
-    
-</DataSource>
- 
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/masterDetail/Order.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.server.masterDetail.Order" table="masterDetail_order" >
-        <id name="orderID" type="long">
-            <generator class="native"/>
-        </id>
-        <property name="customerName" type="string" />
-        <property name="orderDate" type="date" />
-
-        <set name="items" cascade="all" lazy="true">
-        	<key column="orderID"/>
-        	<one-to-many class="com.isomorphic.examples.server.masterDetail.OrderItem"/>
-        </set>        
-        <property name="trackingNumber" type="long" />
-        
-    </class>
-</hibernate-mapping>
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/masterDetail/Order.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Master-Detail load and save example (Hibernate)
-//
-// Order Bean - to be managed by Hibernate
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.masterDetail;
-
-import java.io.Serializable;
-import java.util.Date;
-import java.util.Set;
-
-public class Order implements Serializable {
-
-    protected long orderID;
-    protected String customerName;
-    protected Date orderDate;
-    protected long trackingNumber;
-    protected Set items;
-
-    public Order() { }
-
-    // Getters
-    public String getCustomerName() { return customerName; }
-    public Date getOrderDate() { return orderDate; }
-    public long getOrderID() { return orderID; }
-    public long getTrackingNumber() { return trackingNumber; }
-    public Set getItems() { return items; }
-
-    // Setters
-    public void setCustomerName(String customerName) { this.customerName = customerName; }
-    public void setOrderDate(Date orderDate) { this.orderDate = orderDate; }
-    public void setOrderID(long orderID) { this.orderID = orderID; }
-    public void setTrackingNumber(long trackingNumber) { this.trackingNumber = trackingNumber; }
-    public void setItems(Set items) { this.items = items; }
-
-}
-
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/masterDetail/OrderItem.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.server.masterDetail.OrderItem" table="masterDetail_orderItem" >
-        <id name="pk" type="long">
-            <generator class="native"/>
-        </id>
-        <property name="itemDescription" type="string" />
-        <property name="quantity" type="long" />
-        <property name="unitPrice" type="float"  />
-        
-    </class>
-</hibernate-mapping>
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/masterDetail/OrderItem.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Master-Detail load and save example (Hibernate)
-//
-// OrderItem Bean - to be managed by Hibernate
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.masterDetail;
-
-import java.util.Date;
-import java.io.Serializable;
-
-public class OrderItem implements Serializable {
-
-    // this bean has no business logic.  It simply stores data in these instance variables.
-    protected Long pk;
-    protected Order order;
-    protected String itemDescription;
-    protected float unitPrice;
-    protected Long quantity;
-
-    public OrderItem() { }
-
-    // Getters
-    public String getItemDescription() { return itemDescription; }
-    public Order getOrder() { return order; }
-    public Long getPk() { return pk; }
-    public Long getQuantity() { return quantity; }
-    public float getUnitPrice() { return unitPrice; }
-
-    // Setters
-    public void setItemDescription(String itemDescription) { this.itemDescription = itemDescription; }
-    public void setOrder(Integer orderID) { this.order = order; }
-    public void setPk(Long pk) { this.pk = pk; }
-    public void setQuantity(Long quantity) { this.quantity = quantity; }
-    public void setUnitPrice(float unitPrice) { this.unitPrice = unitPrice; }
-    
-}
-
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/masterDetail/masterDetail.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,86 +0,0 @@
-isc.Label.create({
-    ID: "ordersLabel",
-    contents: "Order",
-    width: "90%",
-    height: 25,
-    autoDraw: true,
-    baseStyle: "exampleSeparator"
-});
-
-isc.ListGrid.create({
-    ID: "ordersList",
-    top: 40,
-    height: 170,
-    width: 500,
-    autoDraw: true,
-    dataSource: "masterDetail_orderHB",
-    fields: [
-        { name: "orderID", width: "25%" },
-        { name: "customerName" },
-        { name: "orderDate", width: "25%" }
-    ],
-    autoFetchData: true,
-    selectionChanged: function(record, state) {
-        if (state) {
-            orderForm.editRecord(record);
-            orderItemsList.setData(record.items);
-        }
-    }
-});
-
-isc.Label.create({
-    ID: "orderDetailsLabel",
-    contents: "Order Details",
-    width: "90%",
-    top: 240,
-    height: 25,
-    autoDraw: true,
-    baseStyle: "exampleSeparator"
-});
-
-
-isc.DynamicForm.create({
-    ID: "orderForm",
-    dataSource: "masterDetail_orderHB",
-    autoDraw: false,
-    fields: [
-        { name: "orderID", title: "Order ID", disabled: true },
-        { name: "customerName", title: "Customer Name" },
-        { name: "orderDate", title: "Order Date", type: "date" },
-        { name: "trackingNumber", title: "Tracking #", type: "integer" }
-    ]
-});
-
-isc.ListGrid.create({
-    ID: "orderItemsList",
-    autoDraw: false,
-    height: 130,
-    dataSource: "masterDetail_orderItemHB",
-    canEdit: true,
-    saveLocally: true,
-    saveByCell: true,
-    fields: [
-        { name: "itemDescription" },
-        { name: "quantity", width:"25%" },
-        { name: "unitPrice", width: "25%" }
-    ]
-});
-
-isc.VLayout.create({
-    top: 275,
-    width: 500,
-    autoDraw: true,
-    membersMargin: 5,
-    members: [ 
-        orderForm, 
-        orderItemsList,
-        isc.IButton.create({
-            title: "Save",
-            click: function() {
-                orderForm.setValue("items", orderItemsList.data);
-                orderForm.saveData();
-            }
-        })
-    ]
-});
-
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/masterDetail/masterDetail_orderHB.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-<DataSource
-    ID="masterDetail_orderHB"
-    serverType="hibernate"
-    tableName="masterDetail_order"
-    beanClassName="com.isomorphic.examples.server.masterDetail.Order"
-    testFileName="/examples/shared/ds/serverExamples/test_data/masterDetail_order.data.xml"
->
-    <fields>
-        <field name="orderID" type="sequence" primaryKey="true" canEdit="false" />
-        <field name="customerName" type="text" />
-        <field name="orderDate" type="date" />
-
-        <field name="items" title= "Order Items" multiple="true"
-               type="masterDetail_orderItemHB" 
-               javaClass="com.isomorphic.examples.server.masterDetail.OrderItem"
-        />
-        <field name="trackingNumber" type="integer" />
-    </fields>
-    
-</DataSource>
- 
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/masterDetail/masterDetail_orderItemHB.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<DataSource
-    ID="masterDetail_orderItemHB"
-    serverType="hibernate"
-    tableName="masterDetail_orderItem"
-    beanClassName="com.isomorphic.examples.server.masterDetail.OrderItem"
->
-    <fields>
-        <field name="pk" type="sequence" primaryKey="true" hidden="true" />
-        <field name="orderID" type="integer" canEdit="false" />
-        <field name="itemDescription" type="text" />
-        <field name="quantity" type="integer" />
-        <field name="unitPrice" type="float" />
-    </fields>
-    
-</DataSource>
- 
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/queuing/User.hbm.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<!-- Note: the runtime version of this file is bundled into isomorphic_examples.jar -->
-<hibernate-mapping>
-    <class name="com.isomorphic.examples.server.queuing.User" table="queuing_user" >
-        <id name="userID">
-            <generator class="native"/>
-        </id>
-        <property name="firstName" type="string" />
-        <property name="surname" type="string" />
-        <property name="department" type="string" />
-        <property name="email" type="string" />
-    </class>
-</hibernate-mapping>
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/queuing/User.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Simple queuing example
-//
-// User Bean - to be managed by Hibernate
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.queuing;
-
-import java.io.Serializable;
-
-public class User implements Serializable {
-
-    protected Long userID;
-    protected String firstName;
-    protected String surname;
-    protected String department;
-    protected String email;
-
-    public User() { }
-
-    // Getters
-    public Long getUserID() { return userID; }
-    public String getFirstName() { return firstName; }
-    public String getSurname() { return surname; }
-    public String getDepartment() { return department; }
-    public String getEmail() { return email; }
-
-    // Setters
-    public void setUserID(Long value) { userID = value; }
-    public void setFirstName(String value) { firstName = value; }
-    public void setSurname(String value) { surname = value; }
-    public void setDepartment(String value) { department = value; }
-    public void setEmail(String value) { email = value; }
-    
-}
-
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/queuing/queuing.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,96 +0,0 @@
-isc.DynamicForm.create({
-    ID: "findOrdersForm",
-    width: 400, 
-    fields: [
-        { name: "userID", title: "User ID", defaultValue: 1, width: 50,
-          hint: "Note:&nbsp;sample&nbsp;data&nbsp;only exists for user ID 1" },
-        { type: "button", title: "Find Orders", click: "findOrdersForm.findOrders()"}
-    ],
-    findOrders: function () {
-
-        sectionStack.draw();
-        
-        isc.RPCManager.startQueue();
-        userDetailViewer.fetchData(findOrdersForm);
-        ordersListGrid.fetchData(findOrdersForm);
-        isc.RPCManager.sendQueue();
-    }
-
-});
-
-isc.SectionStack.create({
-    ID: "sectionStack",
-    visibilityMode: "multiple",
-    autoDraw: false,
-    top: 100, width: 400, height: 300,
-    sections: [
-        { 
-            title: "User Details",
-            expanded: true,
-            items: [
-                isc.DetailViewer.create({
-                    ID: "userDetailViewer",
-                    autoDraw: false,
-                    dataSource: "queuing_userHB",
-                    useAllDataSourceFields: true
-                })
-            ]
-        },
-        {
-            title: "Orders",
-            expanded: true,
-            items: [
-                isc.ListGrid.create({
-                    ID: "ordersListGrid",
-                    autoDraw: false,
-                    dataSource: "queuing_order",
-                    showFilterEditor: true,
-                    fields: [
-                        { name: "orderID" },
-                        { name: "customerName" },
-                        { name: "orderDate" },
-                        { name: "totalValue" }
-                    ],
-                    dataPageSize: 10,  // Deliberately small, to force paging
-                    // Disable draw ahead to force paging with tiny dataPageSize
-                    drawAheadRatio: 1.0,
-                    drawAllMaxCells: 0  
-                })
-            ]
-        } 
-    ]
-});
-
-
-// ---------------------------------------------------------------------------------------
-// The code that follows is just to illustrate when SmartClient has contacted the server,
-// to underline the point about queuing. It is not part of the example.
-
-isc.RPCManager.addClassProperties({
-    queueSent: function (requests) {
-        if (serverCount) this.updateServerContactLabel(requests);
-    },
-    updateServerContactLabel: function (requests) {
-        serverCount.incrementAndUpdate(requests);
-        // Flash the label
-        var bgColor = serverCount.backgroundColor;
-        serverCount.setBackgroundColor("ffff77");
-        isc.Timer.setTimeout("if (serverCount) serverCount.setBackgroundColor('" + bgColor +"');", 500);
-    }
-
-});
-
-isc.Label.create({
-    ID: "serverCount",
-    top: 100, padding: 10, left: 420,
-    width: 300, height: 40,
-    border: "1px solid grey",
-    contents: "<b>Number of server trips: 0<br>No queues sent</b>",
-    count: 0,
-    incrementAndUpdate: function (requests) {
-        this.count++;
-        this.setContents("<b>Number of server trips: " + this.count + 
-                         "<br>Last queue contained " + requests.length + " request(s)</b>"); 
-    }
-});
-
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/queuing/queuing_order.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<DataSource
-    ID="queuing_order"
-    serverType="sql"
-    tableName="queuing_order"
-    testFileName="/examples/shared/ds/serverExamples/test_data/queuing_order.data.xml"
->
-    <fields>
-        <field name="orderID" type="integer" primaryKey="true" canEdit="false" />
-        <field name="userID" type="integer" />
-        <field name="customerName" type="text" />
-        <field name="orderDate" type="date" />
-        <field name="totalValue" type="float" />
-    </fields>
-    
-</DataSource>
- 
\ No newline at end of file
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/queuing/queuing_userHB.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-<DataSource
-    ID="queuing_userHB"
-    serverType="hibernate"
-    beanClassName="com.isomorphic.examples.server.queuing.User"
-    testFileName="/examples/shared/ds/serverExamples/test_data/queuing_user.data.xml"
->
-    <fields>
-        <field name="userID" type="sequence" primaryKey="true" canEdit="false" />
-        <field name="firstName" type="text" required="true"/>
-        <field name="surname" type="text" required="true"/>
-        <field name="department" type="text" />
-        <field name="email" type="text" required="true">
-          <validators>
-            <validator type="isUnique"/>
-          </validators>
-        </field>
-    </fields>
-    
-</DataSource>
- 
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/vb_Hibernate.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-isc.Canvas.create({
-    ID:"outerCanvas",
-    width:"100%",
-    height:"100%"
-});
-isc.ListGrid.create({
-    ID:"screenshotGrid",
-    parentElement:"outerCanvas",
-    width:120,
-    height:100,
-    showHeaderContextMenu:false,
-    fields : [ { name:"screen", title:"Screenshot" } ],
-    leaveScrollbarGap:false,
-    data : [
-        { screen:"Hibernate Browser", src: "vb_HibernateBrowser.png", description: 
-          "The Hibernate Browser connects to Hibernate and allows you to browse through " +
-          "your mapped entities and the data in corresponding tables.  Once you have located the " +
-          "entity you wish to connect to, simply click it and then click Next; Visual Builder " +
-          "will instantly create a DataSource and put you in the DataSource Editor for fine " +
-          "tuning (see the other screenshot)" 
-        },
-        { screen:"DataSource Editor", src: "vb_HibernateDSEditor.png", description:
-          "This image shows the details of the DataSource that Visual Builder created from the " +
-          "entity selected on the Hibernate Browser tab.  You can change any aspect of the DataSource " +
-          "here, but you don't need to: DataSources created by Visual Builder from Hibernate beans " +
-          "are ready to go immediately"
-        }
-    ],
-    recordClick : function (grid, record) { this.showShot(record) },
-    showShot : function (record) {
-        outerCanvas.addChild(
-            isc.Img.create({
-                ID: "vb_screenshot",
-                top : 120,
-                width: 1015,
-                height: 625,
-                showShadow:true,
-                shadowOffset:10,
-                shadowSoftness:5,
-                src : "screenshots/" + record.src
-            })
-        )
-        outerCanvas.addChild(
-            isc.HTMLPane.create({
-                ID: "vb_description",
-                left:140, width:400, height:210,
-                contents:record.description
-            })
-        )
-    }
-});
-screenshotGrid.showShot(screenshotGrid.data.get(0));
-
--- a/isomorphic/system/reference/inlineExamples/serverExamples/hibernate/worldHB.ds.xml	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-<DataSource
-    ID="worldHB"
-    serverType="hibernate"
-    tableName="worldDS"
->
-    <fields>
-        <field name="pk"            type="sequence"   hidden="true"            primaryKey="true" />
-        <field name="countryCode"   type="text"       title="Code"             required="true"   />
-        <field name="countryName"   type="text"       title="Country"          required="true"   />
-        <field name="capital"       type="text"       title="Capital"          />
-        <field name="government"    type="text"       title="Government"       length="500"      />
-        <field name="continent"     type="text"       title="Continent"        >
-            <valueMap>
-                <value>Europe</value>
-                <value>Asia</value>
-                <value>North America</value>
-                <value>Australia/Oceania</value>
-                <value>South America</value>
-                <value>Africa</value>
-            </valueMap>
-        </field>
-        <field name="independence"  type="date"       title="Nationhood"          />
-        <field name="area"          type="float"      title="Area (km&amp;sup2;)" />
-        <field name="population"    type="integer"    title="Population"          />
-        <field name="gdp"           type="float"      title="GDP ($M)"            />
-        <field name="member_g8"     type="boolean"    title="G8"                  />
-    </fields>
-</DataSource>
--- a/isomorphic/system/reference/inlineExamples/serverExamples/other/batchUpload/batchUploadExample.js	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-isc.BatchUploader.create({
-    ID:"uploader",
-    height: 400,
-    uploadDataSource: supplyItemHB,
-    // BatchUploader supports extra fields, which are uploaded along with the file 
-    // data and can be accessed from the HttpSession on the server side; here we
-    // define some fields to be used in this way
-    uploadFormFields: [
-        { name: "stringValue", title: "String Value", type: "text" },
-        { name: "numericValue", title: "Numeric Value", type: "number" }
-    ],
-    // We have limited vertical screen space when running in the Feature Explorer, 
-    // so we force the embedded grid to be quite short in an attempt to avoid 
-    // the need for page scrolling
-    gridProperties: {
-        height: 200
-    }
-});
-
-isc.VStack.create({
-    left:20,
-    width:"70%",
-    membersMargin:20,
-    members:[
-
-        isc.Label.create({
-            ID:"helpText",
-            contents: "<ul>" +
-                "<li>Download the example <code>supplyItemTest.csv</code> file <a href=" + 
-                isc.Page.getURL("[ISOMORPHIC]/system/reference") + 
-                "/inlineExamples/serverExamples/other/batchUpload/supplyItemTest.csv>here</a>" +
-                "<li>Click the 'Browse' button and use the file picker to select the " +
-                "<code>supplyItemTest.csv</code> file that you just downloaded.</li>" +
-                "<li>The BatchUploader will upload and validate the contents of that CSV file against the " +
-                "DataSource declared on the BatchUploader, which in this case is supplyItemHB.</li>" +
-                "<li>Validated data will then be streamed back down to the client and displayed in an " +
-                "editable ListGrid, so you can review and correct errors.</li>" +
-                "<li>Click 'Commit' to save the data back to the DataSource's persistent store (in this " +
-                "case, a database table accessed via Hibernate).</li>" +
-                "<li>This end-to-end functionality is encapsulated by the BatchUploader, and requires " + 
-                "no application code.</li></ul>"
-        }),
-        
-        uploader
-
-    ]
-});
-
--- a/isomorphic/system/reference/inlineExamples/serverExamples/other/batchUpload/supplyItemTest.csv	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-"nextShipment","category","itemName","itemID","unitCost","description","SKU","inStock","units"
-"2009-01-21","Widget","Large grey widget",,0.41,"","45300","","EACH"
-"2008-11-17","Gizmo","Small blue gizmo",,-0.47,"","90600","","Ea"
-"","Gizmo","Large green gizmo",,0.61,"","135900","","Ea"
-"","Widget","Small red widget",,0.58,"","190000","","Ea"
--- a/isomorphic/system/reference/inlineExamples/serverExamples/other/customDataSource/UserDataSource.java	Tue Jan 11 18:02:29 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,167 +0,0 @@
-//----------------------------------------------------------------------
-// Isomorphic SmartClient
-// Custom DataSource example
-//
-// This class shows how to easily implement a completely customized 
-// DataSource that simply plugs into the SmartClient Server framework
-//----------------------------------------------------------------------
-
-package com.isomorphic.examples.server.customDataSource;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import com.isomorphic.datasource.BasicDataSource;
-import com.isomorphic.datasource.DSRequest;
-import com.isomorphic.datasource.DSResponse;
-import com.isomorphic.util.DataTools;
-
-