Changes between Version 15 and Version 16 of S3/S3Model/ComponentResources


Ignore:
Timestamp:
11/24/11 11:12:13 (10 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3Model/ComponentResources

    v15 v16  
    2626  - increased complexity to handle such links in CRUD and XML/XSLT
    2727
    28 === Link Actuation Settings ===
     28=== Link Actuation Options ===
    2929
    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:
     30When 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 configured option:
    3131  - ''replace'': hides the link table and always operates on the component table
    3232  - ''hide'': hides the component table and always operates on the link table
     
    3636The following table gives an overview over link actuation in S3CRUD:
    3737
    38 ||= CRUD Method =||||||||= Link Actuation Setting =||
     38||= CRUD Method =||||||||= Link Actuation Option =||
    3939||= =||='''replace'''=||='''hide'''=||='''link'''=||='''embed'''=||
    4040||='''create'''=|| create-form for component || create-form for link || create-form for link || create-form for link with component embedded ||
     
    5858                              joinby="fieldname",       # FK of the master table (=left key constraint)
    5959                              key="fieldname",          # FK of the component table (=right key constraint)
    60                               actuate="replace",        # Actuation setting (see above, optional, defaults to "link")
     60                              actuate="replace",        # Actuation option (see above, optional, defaults to "link")
    6161                              autodelete=False          # Delete the component record together with the last link (optional, default is False)
    6262                              widget=Widget,            # Widget to use for embedding (optional, defaults to S3EmbedComponentWidget)