Changes between Version 7 and Version 8 of S3/XMLForms
- Timestamp:
- 06/13/14 12:25:42 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/XMLForms
v7 v8 16 16 then the interface will return the resource structure (empty, i.e. without any data) as S3XML: 17 17 18 {{{ 18 {{{#!xml 19 19 <?xml version='1.0' encoding='utf-8'?> 20 20 <s3xml> … … 50 50 Options are embedded as {{{<select>}}} inside the respective {{{<field>}}} element: 51 51 52 {{{ 52 {{{#!xml 53 53 <?xml version='1.0' encoding='utf-8'?> 54 54 <s3xml> … … 90 90 This REST function is facilitated by the {{{S3Resource.struct()}}} method, which can also be called from the controller: 91 91 92 {{{ 92 {{{#!python 93 93 xml = resource.struct(options=False, # same parameter as in the URL 94 94 references=False, # same parameter as in the URL