Changes between Version 4 and Version 5 of S3/S3REST/s3_rest_controller


Ignore:
Timestamp:
10/22/10 12:17:53 (11 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3REST/s3_rest_controller

    v4 v5  
    3030=== Additional View Components ===
    3131
    32 Additional named arguments in the {{{s3_rest_controller}}} call control the output dict ''after'' the request has been executed:
     32Additional named arguments in the {{{s3_rest_controller}}} call control the {{{output dict}}} ''after'' the request has been executed:
    3333
    34   - any callable argument will be invoked with the {{{S3Request}}} as first and only argument, and its return value will be added to the output dict instead
    35   - any non-callable argument which is not None is added to the output dict as-is
    36   - any argument that gives None will remove this key from the output dict
     34  - any callable argument will be invoked with the {{{S3Request}}} as first and only argument, and its return value will be added to the {{{output dict}}} instead
     35  - any non-callable argument which is not None will be added to the {{{output dict}}} as-is
     36  - any argument that gives {{{None}}} will remove this key from the {{{output dict}}}
    3737
    3838A typical use-case is '''rheader''':
     
    4949}}}
    5050
    51 In this case, the rheader variable is only added to the output when the my_rheader function returns something else than None.
     51In this case, the {{{rheader}}} variable is only added to the output when {{{my_rheader(r)}}} returns something else than {{{None}}}.
    5252
    5353----