Changes between Version 13 and Version 14 of S3/S3Model/ComponentResources


Ignore:
Timestamp:
11/24/11 11:08:49 (13 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3Model/ComponentResources

    v13 v14  
    2525  - increased complexity to access and query resources (3 tables instead of 2)
    2626  - increased complexity to handle such links in CRUD and XML/XSLT
    27 === Link Actuation Methods ===
     27
     28=== Link Actuation Settings ===
    2829
    2930When 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:
     
    3536The following table gives an overview over link actuation in S3CRUD:
    3637
    37 ||= CRUD Method =||||||||= Link Actuation Method =||
     38||= CRUD Method =||||||||= Link Actuation Setting =||
    3839||= =||='''replace'''=||='''hide'''=||='''link'''=||='''embed'''=||
    3940||='''create'''=|| create-form for component || create-form for link || create-form for link || create-form for link with component embedded ||
     
    5758                              joinby="fieldname",       # FK of the master table (=left key constraint)
    5859                              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")
    6061                              autodelete=False          # Delete the component record together with the last link (optional, default is False)
    6162                              widget=Widget,            # Widget to use for embedding (optional, defaults to S3EmbedComponentWidget)