Changes between Version 5 and Version 6 of JoinedResourceController


Ignore:
Timestamp:
09/20/09 18:38:57 (16 years ago)
Author:
Fran Boon
Comment:

response.s3 needed for visibility in views

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified JoinedResourceController

    v5 v6  
    8383def kit():
    8484    "RESTlike CRUD controller"
    85     s3.pdf = URL(r=request, f='kit_export_pdf')
    86     s3.xls = URL(r=request, f='kit_export_xls')
     85    response.s3.pdf = URL(r=request, f='kit_export_pdf')
     86    response.s3.xls = URL(r=request, f='kit_export_xls')
    8787    if len(request.args) == 2:
    8888        crud.settings.update_next = URL(r=request, f='kit_item', args=request.args[1])
     
    9090}}}
    9191
    92 The {{{s3.pdf}}} & {{{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 (s3.rss is also available).
     92The {{{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).
    9393
    9494{{{