[forge-commits] [forge/angularjs-scaffoldx-plugin] c103aa: FORGEPLUGINS-126 Send only resource Ids for associ...

Vineet Reynolds Vineet.Reynolds at gmail.com
Fri Aug 16 05:18:50 EDT 2013


  Branch: refs/heads/FORGEPLUGINS-126
  Home:   https://github.com/forge/angularjs-scaffoldx-plugin
  Commit: c103aa20cf95431f3765720ec6f4ad0ae69ae3bd
      https://github.com/forge/angularjs-scaffoldx-plugin/commit/c103aa20cf95431f3765720ec6f4ad0ae69ae3bd
  Author: Vineet Reynolds <Vineet.Reynolds at gmail.com>
  Date:   2013-08-16 (Fri, 16 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.





More information about the forge-commits mailing list