Branch: refs/heads/master
Home:
https://github.com/forge/angularjs-scaffoldx-plugin
Commit: 14b672ab907c870e9a83c4dd16cd7855e0e1fab5
https://github.com/forge/angularjs-scaffoldx-plugin/commit/14b672ab907c87...
Author: Vineet Reynolds <Vineet.Reynolds(a)gmail.com>
Date: 2013-08-22 (Thu, 22 Aug 2013)
Changed paths:
M src/main/resources/scaffold/scripts/controllers/editEntityController.js.ftl
M src/main/resources/scaffold/scripts/controllers/newEntityController.js.ftl
Log Message:
-----------
FORGEPLUGINS-126 Send only resource Ids for associations
Due to the changes in the REST plugin introduced by FORGE-1060,
it is preferable to send only the Ids of the resources instead of
sending the entire top-level resource representation to the server.
This commit address that by ensuring that the AngularJS model
contains only the resource Ids.
The commit also ensures that form dirty state handling is done by
storing only the associated Ids in the AngularJS models.