Changes between Version 41 and Version 42 of RESTController


Ignore:
Timestamp:
05/27/10 06:42:06 (15 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RESTController

    v41 v42  
    130130def kit():
    131131    "REST CRUD controller"
    132     response.s3.pdf = URL(r=request, f='kit_export_pdf')
    133     response.s3.xls = URL(r=request, f='kit_export_xls')
     132    response.s3.formats.pdf = URL(r=request, f='kit_export_pdf')
     133    response.s3.formats.xls = URL(r=request, f='kit_export_xls')
    134134    if len(request.args) == 2:
    135135        crud.settings.update_next = URL(r=request, f='kit_item', args=request.args[1])
     
    137137}}}
    138138
    139 The {{{response.s3.pdf}}} & {{{response.s3.xls}}} provide the {{{view/formats.html}}} with an alternate URL to provide a customised version of the PDF/XLS output available when clicking on the icon ({{{response.s3.rss}}} is also available).
     139The {{{response.s3.formats.pdf}}} & {{{response.s3.formats.xls}}} provide the {{{view/formats.html}}} with an alternate URL to provide a customised version of the PDF/XLS output available when clicking on the icon ({{{response.s3.formats.rss}}} is also available).
    140140
    141141{{{