Changes between Version 7 and Version 8 of S3/XMLForms


Ignore:
Timestamp:
06/13/14 12:25:42 (10 years ago)
Author:
MattS
Comment:

syntax highlighting

Legend:

Unmodified
Added
Removed
Modified
  • S3/XMLForms

    v7 v8  
    1616then the interface will return the resource structure (empty, i.e. without any data) as S3XML:
    1717
    18 {{{
     18{{{#!xml
    1919<?xml version='1.0' encoding='utf-8'?>
    2020<s3xml>
     
    5050Options are embedded as {{{<select>}}} inside the respective {{{<field>}}} element:
    5151
    52 {{{
     52{{{#!xml
    5353<?xml version='1.0' encoding='utf-8'?>
    5454<s3xml>
     
    9090This REST function is facilitated by the {{{S3Resource.struct()}}} method, which can also be called from the controller:
    9191
    92 {{{
     92{{{#!python
    9393xml = resource.struct(options=False,           # same parameter as in the URL
    9494                      references=False,        # same parameter as in the URL