Changes between Version 67 and Version 68 of S3/S3REST/s3_rest_controller
- Timestamp:
- 09/09/11 10:03:44 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3REST/s3_rest_controller
v67 v68 46 46 47 47 {{{ 48 s3 xrc.configure(table, key=value)48 s3mgr.configure(table, key=value) 49 49 }}} 50 50 … … 56 56 You can specify multiple settings at once: 57 57 {{{ 58 s3 xrc.configure(table, key1=value1, key2=value2, ...)58 s3mgr.configure(table, key1=value1, key2=value2, ...) 59 59 }}} 60 60 … … 64 64 65 65 {{{ 66 s3 xrc.model.clear_config(table, "key")66 s3mgr.model.clear_config(table, "key") 67 67 }}} 68 68 … … 74 74 75 75 {{{ 76 s3 xrc.configure(table, editable=True, # Records can be updated76 s3mgr.configure(table, editable=True, # Records can be updated 77 77 insertable=True, # New records can be added 78 78 deletable=True, # Records can be deleted … … 94 94 95 95 {{{ 96 s3 xrc.configure(table,96 s3mgr.configure(table, 97 97 list_fields=["id", "name", "location_id"]) 98 98 }}} … … 103 103 104 104 {{{ 105 s3 xrc.configure(table,105 s3mgr.configure(table, 106 106 list_fields=["id", 107 107 "name", … … 115 115 116 116 {{{ 117 s3 xrc.configure(table,117 s3mgr.configure(table, 118 118 list_fields=["id", 119 119 "name", … … 136 136 137 137 {{{ 138 s3 xrc.configure(table, create_next=url)139 }}} 140 {{{ 141 s3 xrc.configure(table, update_next=url)142 }}} 143 {{{ 144 s3 xrc.configure(table, delete_next=url)138 s3mgr.configure(table, create_next=url) 139 }}} 140 {{{ 141 s3mgr.configure(table, update_next=url) 142 }}} 143 {{{ 144 s3mgr.configure(table, delete_next=url) 145 145 }}} 146 146 … … 171 171 172 172 {{{ 173 s3 xrc.configure(table, create_onvalidation=callback)174 }}} 175 {{{ 176 s3 xrc.configure(table, update_onvalidation=callback)173 s3mgr.configure(table, create_onvalidation=callback) 174 }}} 175 {{{ 176 s3mgr.configure(table, update_onvalidation=callback) 177 177 }}} 178 178 … … 185 185 186 186 {{{ 187 s3 xrc.configure(table, onvalidation=callback)187 s3mgr.configure(table, onvalidation=callback) 188 188 }}} 189 189 … … 211 211 212 212 {{{ 213 s3 xrc.configure(table, create_onaccept=callback)214 }}} 215 {{{ 216 s3 xrc.configure(table, update_onaccept=callback)213 s3mgr.configure(table, create_onaccept=callback) 214 }}} 215 {{{ 216 s3mgr.configure(table, update_onaccept=callback) 217 217 }}} 218 218 … … 225 225 226 226 {{{ 227 s3 xrc.configure(table, onaccept=callback)227 s3mgr.configure(table, onaccept=callback) 228 228 }}} 229 229 … … 237 237 238 238 {{{ 239 s3 xrc.configure(table, ondelete=callback)239 s3mgr.configure(table, ondelete=callback) 240 240 }}} 241 241