* the proxy until the store has been fully configured
*/
if (rest != null) {
String restPath = getRequest().getContextPath() + "/rest/" +
(rest.equals("true") ? clazz.getSimpleName().toLowerCase() : rest);
config.setProxy(new RestProxy(restPath, config));
}
ModelDefinition modelDef = model.getModelDefinition();
String output = "Ext.define(\"" + modelName + "\"," + StringUtilities.json(modelDef) + ");\n";