Changes between Version 13 and Version 14 of S3/S3Model/ComponentResources
- Timestamp:
- 11/24/11 11:08:49 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3Model/ComponentResources
v13 v14 25 25 - increased complexity to access and query resources (3 tables instead of 2) 26 26 - increased complexity to handle such links in CRUD and XML/XSLT 27 === Link Actuation Methods === 27 28 === Link Actuation Settings === 28 29 29 30 When using a link-table to link a primary resource to its components, the RESTful methods can handle this in a number of different ways, depending on the CRUD method and the configuration setting: … … 35 36 The following table gives an overview over link actuation in S3CRUD: 36 37 37 ||= CRUD Method =||||||||= Link Actuation Method=||38 ||= CRUD Method =||||||||= Link Actuation Setting =|| 38 39 ||= =||='''replace'''=||='''hide'''=||='''link'''=||='''embed'''=|| 39 40 ||='''create'''=|| create-form for component || create-form for link || create-form for link || create-form for link with component embedded || … … 57 58 joinby="fieldname", # FK of the master table (=left key constraint) 58 59 key="fieldname", # FK of the component table (=right key constraint) 59 actuate="replace", # Actuation method(see above, optional, defaults to "link")60 actuate="replace", # Actuation setting (see above, optional, defaults to "link") 60 61 autodelete=False # Delete the component record together with the last link (optional, default is False) 61 62 widget=Widget, # Widget to use for embedding (optional, defaults to S3EmbedComponentWidget)