Changes between Version 67 and Version 68 of S3/S3REST/s3_rest_controller


Ignore:
Timestamp:
09/09/11 10:03:44 (10 years ago)
Author:
Fran Boon
Comment:

update: s3xrc -> s3mgr

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3REST/s3_rest_controller

    v67 v68  
    4646
    4747{{{
    48 s3xrc.configure(table, key=value)
     48s3mgr.configure(table, key=value)
    4949}}}
    5050
     
    5656You can specify multiple settings at once:
    5757{{{
    58 s3xrc.configure(table, key1=value1, key2=value2, ...)
     58s3mgr.configure(table, key1=value1, key2=value2, ...)
    5959}}}
    6060
     
    6464
    6565{{{
    66 s3xrc.model.clear_config(table, "key")
     66s3mgr.model.clear_config(table, "key")
    6767}}}
    6868
     
    7474
    7575{{{
    76   s3xrc.configure(table, editable=True,             # Records can be updated
     76  s3mgr.configure(table, editable=True,             # Records can be updated
    7777                         insertable=True,           # New records can be added
    7878                         deletable=True,            # Records can be deleted
     
    9494
    9595{{{
    96 s3xrc.configure(table,
     96s3mgr.configure(table,
    9797                list_fields=["id", "name", "location_id"])
    9898}}}
     
    103103
    104104{{{
    105 s3xrc.configure(table,
     105s3mgr.configure(table,
    106106                list_fields=["id",
    107107                             "name",
     
    115115
    116116{{{
    117 s3xrc.configure(table,
     117s3mgr.configure(table,
    118118                list_fields=["id",
    119119                             "name",
     
    136136
    137137{{{
    138 s3xrc.configure(table, create_next=url)
    139 }}}
    140 {{{
    141 s3xrc.configure(table, update_next=url)
    142 }}}
    143 {{{
    144 s3xrc.configure(table, delete_next=url)
     138s3mgr.configure(table, create_next=url)
     139}}}
     140{{{
     141s3mgr.configure(table, update_next=url)
     142}}}
     143{{{
     144s3mgr.configure(table, delete_next=url)
    145145}}}
    146146
     
    171171
    172172{{{
    173 s3xrc.configure(table, create_onvalidation=callback)
    174 }}}
    175 {{{
    176 s3xrc.configure(table, update_onvalidation=callback)
     173s3mgr.configure(table, create_onvalidation=callback)
     174}}}
     175{{{
     176s3mgr.configure(table, update_onvalidation=callback)
    177177}}}
    178178
     
    185185
    186186{{{
    187 s3xrc.configure(table, onvalidation=callback)
     187s3mgr.configure(table, onvalidation=callback)
    188188}}}
    189189
     
    211211
    212212{{{
    213 s3xrc.configure(table, create_onaccept=callback)
    214 }}}
    215 {{{
    216 s3xrc.configure(table, update_onaccept=callback)
     213s3mgr.configure(table, create_onaccept=callback)
     214}}}
     215{{{
     216s3mgr.configure(table, update_onaccept=callback)
    217217}}}
    218218
     
    225225
    226226{{{
    227 s3xrc.configure(table, onaccept=callback)
     227s3mgr.configure(table, onaccept=callback)
    228228}}}
    229229
     
    237237
    238238{{{
    239 s3xrc.configure(table, ondelete=callback)
     239s3mgr.configure(table, ondelete=callback)
    240240}}}
    241241