wiki:S3/S3HierarchyCRUD

Version 2 (modified by Dominic König, 7 years ago) ( diff )

--

S3HierarchyCRUD

Table of Contents

  1. URL Method
  2. Code

S3HierarchyCRUD is a REST method handler that allows interactive CRUD of a hierarchical resource using a tree view to navigate the hierarchy.

URL Method

The S3HierarchyCRUD method handler is linked to the hierarchy URL method, and can be invoked both for the whole table, or just the branches under particular record:

# Edit the whole table
/eden/org/organisation/hierarchy
# Edit the hierarchy below a particular record
/eden/org/organisation/1/hierarchy

Code

S3HierarchyCRUD can be found in modules/s3/s3hierarchy.py. The corresponding JavaScript is implemented in static/scripts/s3/s3.jquery.ui.hierarchicalcrud.js.

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.