goa/appobjects/components.py
changeset 2181 94ca417b9b07
parent 2058 7ef12c03447c
child 2381 caad2367d940
equal deleted inserted replaced
2144:51c84d585456 2181:94ca417b9b07
    43     id = 'schemagraph'
    43     id = 'schemagraph'
    44     binary = True
    44     binary = True
    45     content_type = 'image/png'
    45     content_type = 'image/png'
    46     def call(self):
    46     def call(self):
    47         """display global schema information"""
    47         """display global schema information"""
    48         skipmeta = not int(self.req.form.get('withmeta', 0))
    48         skipmeta = int(self.req.form.get('skipmeta', 1))
    49         if skipmeta:
    49         if skipmeta:
    50             url = self.build_url('data/schema.png')
    50             url = self.build_url('data/schema.png')
    51         else:
    51         else:
    52             url = self.build_url('data/metaschema.png')
    52             url = self.build_url('data/metaschema.png')
    53         raise Redirect(url)
    53         raise Redirect(url)