Changes between Initial Version and Version 1 of BluePrintRepresent


Ignore:
Timestamp:
02/06/10 23:33:53 (15 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintRepresent

    v1 v1  
     1== Blue Print for Represent changes ==
     2We want to separate out the db[table][field].represent used for the HTML representation (Web2Py core is heavily built on this) from the one which we use for Export representations, such as XLS, CSV, RSS, which shouldn't include HTML tags or AJAX calls.
     3
     4We therefore propose subclassing Field to include a new .represent_export or .represent_simple for the other representations (which we control in RESTLike controller & S3XRC & hence requires minimal changes to Web2Py core).
     5If no .represent_export exists, then it would fallback to using the normal .represent.
     6
     7----
     8BluePrints