Module Expr Str Assign NameStore TupleLoad Str Str ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str If CompareEq AttributeLoad NameLoad attr Str body Return Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad If NameLoad body Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Dict If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameLoad If Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad Assign NameStore NameLoad orelse If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameStore NameLoad orelse Continue orelse Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Continue If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Dict Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Continue Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIn NameLoad NameLoad body Assign NameStore CompareNotEq SubscriptLoad NameLoad Index NameLoad NameLoad orelse Assign NameStore CompareGt AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str Str If CompareIn NameLoad NameLoad body AugAssignBitAnd NameStore CompareEq SubscriptLoad NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore CompareEq NameLoad Str For NameStore NameLoad body If NameLoad body Assign NameStore ListLoad NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr orelse Assign NameStore ListLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad orelse Continue orelse If CompareEq NameLoad Str body Assign NameStore ListLoad NameLoad orelse Assign NameStore ListLoad Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Return TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str Str keyword Call SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If NameLoad body If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse If CompareIn NameLoad NameLoad body Delete SubscriptDel NameLoad Index NameLoad Return decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse If CompareIsNot NameLoad NameLoad body Return NameLoad orelse Assign NameStore NameLoad Assign NameStore Str Assign NameStore SubscriptLoad NameLoad Index Call NameLoad NameLoad If BoolOpAnd AttributeLoad NameLoad attr NameLoad body Return Call NameLoad keyword BinOpMod Str NameLoad orelse Return Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr Return Call SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad Str body Return Call SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return Call SubscriptLoad NameLoad Index Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign TupleStore NameStore NameStore NameLoad Assign NameStore BinOpMod Str NameLoad If BoolOpOr Call NameLoad NameLoad Str Call NameLoad NameLoad Str body Expr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Str NameLoad orelse Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr Call SubscriptLoad NameLoad Index Str NameLoad Call SubscriptLoad NameLoad Index Str NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad Str body Return Call SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return Call SubscriptLoad NameLoad Index Str NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Str Call NameLoad Str Expr Call NameLoad Str Call NameLoad Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call SubscriptLoad NameLoad Index Str Call NameLoad Str Str Call SubscriptLoad NameLoad Index Str Num Call SubscriptLoad NameLoad Index Str Call NameLoad Str Str Call SubscriptLoad NameLoad Index Str Num Return Call SubscriptLoad NameLoad Index Str NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str Str Return Call SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Str orelse If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Str Assign NameStore Dict Str Str Str AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad If NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num If Call NameLoad NameLoad Str body Assign NameStore NameLoad If BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse If CompareIn NameLoad TupleLoad Str Str Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If UnaryOpNot NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign AttributeStore NameLoad attr Call SubscriptLoad NameLoad Index Str NameLoad If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore Call NameLoad AttributeLoad NameLoad attr If NameLoad body If NameLoad body Assign NameStore Str orelse Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Assign TupleStore AttributeStore NameLoad attr NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign AttributeStore NameLoad attr Call SubscriptLoad NameLoad Index Str Return decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore NameLoad body If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore NameLoad If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If NameLoad body Return BinOpMod Str Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad For NameStore NameLoad body If Call NameLoad NameLoad Str body If BoolOpAnd Call NameLoad NameLoad Str CompareIs AttributeLoad NameLoad attr NameLoad body Continue If Call NameLoad NameLoad Str body If AttributeLoad NameLoad attr body Assign NameStore NameLoad Break orelse Continue TryExcept body Assign TupleStore NameStore NameStore Call NameLoad Str handlers ExceptHandler type NameLoad body Pass orelse If NameLoad body Assign NameStore NameLoad Break Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse If Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If AttributeLoad NameLoad attr body Expr Call NameLoad Call NameLoad NameLoad NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Assign NameStore Call SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Return Call SubscriptLoad NameLoad Index Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Return Call SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Return Call SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr Return Call SubscriptLoad NameLoad Index Str Call SubscriptLoad NameLoad Index AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr Return Call SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr Return Call SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr CompareNotEq NameLoad Str Expr Call AttributeLoad NameLoad attr Num Str For NameStore NameLoad body Assign NameStore Call SubscriptLoad NameLoad Index Str keyword NameLoad Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad IfExp Call NameLoad NameLoad Str AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call NameLoad Call SubscriptLoad NameLoad Index Str Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If Call NameLoad NameLoad body Expr Call NameLoad NameLoad Return Call SubscriptLoad NameLoad Index Str NameLoad decorator_list decorator_list
N/A N/A  S3 XForms API

    @copyright: 2014-2016 (c) Sahana Software Foundation
    @license: MIT

    Permission is hereby granted, free of charge, to any person
    obtaining a copy of this software and associated documentation
    files (the "Software"), to deal in the Software without
    restriction, including without limitation the rights to use,
    copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the
    Software is furnished to do so, subject to the following
    conditions:

    The above copyright notice and this permission notice shall be
    included in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
    OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
    HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
    OTHER DEALINGS IN THE SOFTWARE.
 N/A __all__ N/A S3XForms S3XFormsWidget gluon * s3rest S3Method s3utils s3_unicode S3XForms N/A S3Method N/A N/A  XForm-based CRUD Handler  apply_method N/A N/A self r N/A attr N/A N/A 
            Apply CRUD methods

            @param r: the S3Request
            @param attr: controller parameters for the request

            @return: output object to send to the view
         N/A N/A N/A r http GET N/A N/A N/A N/A self form r attr N/A N/A N/A N/A r error 405 N/A N/A current ERROR BAD_METHOD N/A form N/A N/A self r N/A attr N/A N/A 
            Generate an XForms form for the current resource

            @param r: the S3Request
            @param attr: controller parameters for the request
         N/A resource N/A self resource N/A form N/A S3XFormsForm N/A resource table N/A response N/A current response N/A N/A N/A response headers N/A Content-Type application/xhtml+xml N/A form N/A formlist N/A N/A N/A N/A N/A 
            Retrieve a list of available XForms

            @return: a list of tuples (url, title) of available XForms
         N/A resources N/A N/A N/A current deployment_settings get_xforms_resources N/A xforms N/A N/A resources N/A N/A s3db N/A current s3db N/A item resources N/A N/A options N/A N/A N/A isinstance item N/A tuple list N/A N/A N/A N/A len item 2 N/A N/A N/A title tablename item N/A N/A isinstance tablename dict N/A N/A N/A tablename options N/A title tablename N/A title None N/A N/A N/A N/A len item 3 N/A N/A N/A title tablename options item N/A N/A N/A N/A N/A title tablename N/A None item N/A N/A N/A resource N/A N/A s3db resource tablename N/A N/A N/A AttributeError N/A N/A N/A N/A N/A current log warning N/A XForms: non-existent resource %s tablename N/A N/A N/A title None N/A N/A title N/A N/A join N/A N/A N/A w capitalize N/A w N/A N/A N/A resource name split _ N/A c N/A N/A options get c xforms N/A f N/A N/A options get f forms N/A url_vars N/A N/A options get vars N/A N/A config N/A N/A resource get_config xform N/A config N/A N/A N/A isinstance config dict N/A N/A collection N/A N/A config get collection N/A N/A collection N/A N/A N/A table N/A resource table N/A DELETED N/A N/A current xml DELETED N/A N/A DELETED table N/A N/A query N/A N/A table N/A DELETED True N/A N/A query N/A N/A table id 0 N/A public N/A N/A options get check public N/A N/A public table N/A N/A query N/A N/A table N/A public True N/A title_field N/A N/A options get title name N/A rows N/A N/A N/A N/A current db query select N/A table _id N/A table N/A title_field N/A native N/A c xforms N/A row rows N/A N/A native N/A N/A args N/A tablename N/A row N/A N/A table _id N/A N/A args N/A N/A row N/A N/A table _id xform.xhtml N/A url N/A URL c c f f args args vars url_vars host True extension N/A N/A N/A xforms append N/A url N/A row N/A title_field N/A N/A N/A N/A N/A c xforms N/A N/A args N/A tablename N/A N/A args N/A xform.xhtml N/A url N/A URL c c f f args args vars url_vars host True extension N/A N/A N/A xforms append N/A url title N/A xforms N/A staticmethod N/A S3XFormsWidget N/A object N/A N/A  XForms Form Widget (Base Class)  __init__ N/A N/A self translate N/A True N/A N/A 
            Constructor

            @param translate: enable/disable label translation
         N/A N/A self translate translate N/A N/A self _strings N/A N/A __call__ N/A N/A self field label ref N/A N/A N/A 
            Form builder entry point

            @param field: the Field or a Storage with field information
            @param label: the label
            @param ref: the reference (string) that links the widget
                        with the data model

            @return: tuple (widget, dict of i18n-strings)
         N/A N/A field N/A N/A N/A SyntaxError Field is required N/A N/A ref N/A N/A N/A SyntaxError Reference is required N/A N/A self ref ref N/A attr N/A _ref ref N/A N/A N/A self setstr label label N/A comment N/A field comment N/A N/A comment N/A isinstance comment basestring N/A N/A N/A N/A self setstr hint comment N/A N/A N/A N/A self widget field attr N/A self _strings N/A widget N/A N/A self field attr N/A N/A N/A 
            Render the XForms Widget.

            @param field: the Field or a Storage with field information
            @param attr: dict with XML attributes for the widget, including
                         the mandatory "ref" attribute that links the widget
                         to the data model
         N/A NotImplementedError N/A hint N/A N/A self N/A N/A N/A 
            Render the hint for this formfield

            @return: a <hint> element, or an empty tag if not available
         N/A N/A N/A self getstr hint hint default N/A N/A TAG N/A N/A label N/A N/A self N/A N/A N/A 
            Render the label for this formfield

            @return: a <label> element, or an empty tag if not available
         N/A N/A N/A self getstr label label N/A setstr N/A N/A self key string N/A None N/A N/A 
            Add a translatable string to this widget

            @param key: the key for the string
            @param string: the string, or None to remove the key
         N/A ref N/A %s:%s N/A N/A self ref key N/A strings N/A self _strings N/A string N/A N/A N/A hasattr string flatten N/A N/A string N/A N/A string flatten N/A N/A strings N/A ref string N/A N/A N/A key strings N/A N/A N/A strings N/A ref N/A N/A getstr N/A N/A self tag key default N/A None N/A N/A 
            Get a translated string reference

            @param tag: the tag to wrap the string reference
            @param key: the key for the string
         N/A empty False N/A ref N/A %s:%s N/A N/A self ref key N/A translations N/A self _strings N/A N/A ref translations N/A N/A string N/A translations N/A ref N/A N/A N/A default None N/A N/A default N/A N/A ref None N/A string N/A widget N/A TAG N/A N/A str tag N/A N/A N/A self translate ref N/A N/A N/A widget _ref N/A jr:itext('%s') ref N/A N/A N/A widget string N/A N/A S3XFormsStringWidget N/A S3XFormsWidget N/A N/A  String Input Widget for XForms  widget N/A N/A self field attr N/A N/A N/A  Widget renderer (parameter description see base class)  N/A N/A N/A TAG N/A input N/A N/A self label N/A N/A self hint attr N/A N/A S3XFormsTextWidget N/A S3XFormsWidget N/A N/A  Text (=multi-line string) Input Widget for XForms  widget N/A N/A self field attr N/A N/A N/A  Widget renderer (parameter description see base class)  N/A N/A N/A TAG N/A input N/A N/A self label N/A N/A self hint attr N/A N/A S3XFormsReadonlyWidget N/A S3XFormsWidget N/A N/A  Read-only Widget for XForms  widget N/A N/A self field attr N/A N/A N/A  Widget renderer (parameter description see base class)  N/A N/A attr N/A _readonly true N/A N/A attr N/A _default N/A s3_unicode N/A field default N/A N/A N/A TAG N/A input N/A N/A self label attr N/A N/A S3XFormsOptionsWidget N/A S3XFormsWidget N/A N/A  Options Widget for XForms  widget N/A N/A self field attr N/A N/A N/A  Widget renderer (parameter description see base class)  N/A requires N/A field requires N/A N/A N/A hasattr requires options N/A N/A N/A N/A TAG N/A input N/A N/A self label attr N/A items N/A N/A N/A N/A self label N/A N/A self hint N/A N/A self items N/A N/A requires options N/A N/A N/A TAG N/A select1 items attr N/A items N/A N/A self options N/A N/A N/A 
            Render the items for the selector

            @param options: the options, list of tuples (value, text)
         N/A items N/A N/A setstr N/A self setstr N/A getstr N/A self getstr N/A N/A index option N/A enumerate options N/A N/A N/A value text option N/A key N/A option%s index N/A N/A N/A hasattr text m N/A hasattr text flatten N/A N/A N/A setstr key text N/A text N/A getstr label key N/A N/A text N/A N/A TAG N/A label text N/A N/A N/A items append N/A N/A TAG N/A item text N/A N/A TAG N/A value value N/A items N/A N/A S3XFormsMultipleOptionsWidget N/A S3XFormsOptionsWidget N/A N/A  Multiple Options Widget for XForms  widget N/A N/A self field attr N/A N/A N/A  Widget renderer (parameter description see base class)  N/A requires N/A field requires N/A N/A N/A hasattr requires options N/A N/A N/A N/A TAG N/A input N/A N/A self label attr N/A items N/A N/A N/A N/A self label N/A N/A self hint N/A N/A self items N/A N/A requires options N/A N/A N/A TAG N/A select items attr N/A N/A S3XFormsBooleanWidget N/A S3XFormsWidget N/A N/A  Boolean Widget for XForms  widget N/A N/A self field attr N/A N/A N/A  Widget renderer (parameter description see base class)  N/A T N/A current T N/A setstr N/A self setstr N/A N/A setstr false N/A T No N/A N/A setstr true N/A T Yes N/A getstr N/A self getstr N/A items N/A N/A N/A self label N/A N/A self hint N/A N/A TAG N/A item N/A getstr label true N/A N/A TAG N/A value 1 N/A N/A TAG N/A item N/A getstr label true N/A N/A TAG N/A value 0 N/A N/A N/A TAG N/A select1 items attr N/A N/A S3XFormsUploadWidget N/A S3XFormsWidget N/A N/A  Upload Widget for XForms (currently only for image-upload)  widget N/A N/A self field attr N/A N/A N/A  Widget renderer (parameter description see base class)  N/A N/A attr N/A _mediatype image/* N/A N/A N/A TAG N/A upload N/A N/A self label N/A N/A self hint attr N/A N/A S3XFormsField N/A object N/A N/A 
        Class representing an XForms form field.

        After initialization, the XForms elements for the form field
        can be accessed via lazy properties:

            - model             the model node for the field
            - binding           the binding tag for the field
            - widget            the form widget
            - strings           the strings for internationalization

        @todo: implement specialized widgets
        @todo: extend constraint introspection
     N/A widgets N/A string text integer double decimal time date datetime upload boolean options multiple S3XFormsStringWidget S3XFormsTextWidget S3XFormsStringWidget S3XFormsStringWidget S3XFormsStringWidget S3XFormsStringWidget S3XFormsStringWidget S3XFormsStringWidget S3XFormsUploadWidget S3XFormsBooleanWidget S3XFormsOptionsWidget S3XFormsMultipleOptionsWidget N/A types N/A string double date datetime integer boolean upload text string decimal date datetime int boolean binary text __init__ N/A N/A self tablename field translate N/A True N/A N/A 
            Constructor

            @param tablename: the table name
            @param field: the Field or a Storage with field information
            @param translate: enable/disable label translation
         N/A N/A self tablename tablename N/A N/A self field field N/A N/A self name N/A field name N/A N/A self ref N/A /%s/%s N/A N/A self tablename N/A self name N/A N/A self translate translate N/A N/A self _model None N/A N/A self _binding None N/A N/A self _strings None N/A N/A self _widget None N/A model N/A N/A self N/A N/A N/A 
            The model node for this form field (lazy property)
         N/A N/A N/A self _model None N/A N/A N/A N/A self _introspect N/A N/A self _model N/A property binding N/A N/A self N/A N/A N/A 
            The binding for this form field (lazy property)
         N/A N/A N/A self _binding None N/A N/A N/A N/A self _introspect N/A N/A self _binding N/A property strings N/A N/A self N/A N/A N/A 
            The dict of i18n-strings for this form field (lazy property)
         N/A N/A N/A self _strings None N/A N/A N/A N/A self _introspect N/A N/A self _strings N/A property widget N/A N/A self N/A N/A N/A 
            The widget for this form field (lazy property)
         N/A N/A N/A self _widget None N/A N/A N/A N/A self _introspect N/A N/A self _widget N/A property _introspect N/A N/A self N/A N/A N/A 
            Introspect the field type and constraints, generate model,
            binding and widget and extract i18n strings. The results
            can be accessed via the lazy properties model, binding, widget,
            and strings.

            @return: nothing
         N/A field N/A self field N/A N/A self _strings N/A N/A N/A self _model N/A N/A TAG N/A N/A self name N/A readonly None N/A required None N/A N/A N/A field writable N/A N/A readonly true() N/A N/A N/A N/A self _required field N/A N/A required true() N/A attr N/A _nodeset _required _readonly N/A self ref required readonly N/A fieldtype N/A N/A N/A self types get N/A str N/A field type string N/A requires N/A field requires N/A options False N/A multiple False N/A requires N/A N/A N/A N/A isinstance requires list N/A N/A requires N/A requires N/A first N/A requires N/A 0 N/A N/A hasattr first options N/A N/A options True N/A N/A N/A hasattr first multiple N/A first multiple N/A N/A multiple True N/A N/A N/A fieldtype N/A decimal int date datetime N/A N/A constraint N/A N/A self _range requires N/A constraint N/A N/A N/A attr N/A _constraint constraint N/A N/A options N/A N/A N/A attr N/A _type fieldtype N/A N/A self _binding N/A N/A TAG N/A bind attr N/A N/A hasattr field xform N/A N/A widget N/A field xform N/A N/A N/A N/A field writable N/A N/A widget_type readonly N/A N/A widget_type N/A str N/A field type N/A options N/A N/A multiple N/A N/A widget_type multiple N/A N/A widget_type options N/A widgets N/A self widgets N/A N/A widget_type widgets N/A N/A widget N/A widgets N/A widget_type N/A N/A widget None N/A N/A widget None N/A N/A N/A isinstance widget type N/A N/A widget N/A widget translate N/A self translate N/A N/A hasattr field label N/A N/A label N/A field label N/A N/A label None N/A N/A label N/A N/A label N/A N/A current T N/A N/A N/A N/A join N/A N/A N/A s capitalize N/A s N/A N/A N/A self name split _ strip N/A N/A N/A self _widget strings N/A widget field label N/A self ref N/A N/A self translate N/A N/A N/A N/A N/A self _strings update strings N/A N/A N/A self _widget N/A N/A TAG N/A N/A N/A _range N/A N/A validators N/A N/A N/A 
            Introspect range constraints, convert to string for binding

            @param validators: a sequence of validators
            @return: a string with the range constraints
         N/A constraints N/A N/A validator validators N/A N/A N/A hasattr validator other N/A N/A v N/A validator other N/A N/A v validator N/A N/A isinstance v N/A IS_INT_IN_RANGE IS_FLOAT_IN_RANGE N/A N/A maximum N/A v maximum N/A N/A maximum None N/A N/A N/A N/A constraints append N/A . < %s maximum N/A minimum N/A v minimum N/A N/A minimum None N/A N/A N/A N/A constraints append N/A . > %s minimum N/A constraints N/A N/A N/A (%s) N/A N/A  and  join constraints N/A None N/A staticmethod _required N/A N/A field N/A N/A N/A 
            Determine whether field is required

            @param field: the Field or a Storage with field information
            @return: True if field is required, else False
         N/A required False N/A validators N/A field requires N/A N/A isinstance validators IS_EMPTY_OR N/A N/A required False N/A N/A required N/A N/A field required N/A field notnull N/A N/A N/A required validators N/A N/A N/A N/A isinstance validators N/A list tuple N/A N/A validators N/A validators N/A v validators N/A N/A N/A hasattr v options N/A N/A N/A N/A hasattr v zero N/A N/A v zero None N/A N/A N/A N/A hasattr v mark_required N/A N/A N/A v mark_required N/A N/A required True N/A N/A N/A N/A N/A N/A N/A val error N/A v N/A N/A N/A TypeError N/A N/A N/A N/A error N/A N/A required True N/A N/A required N/A staticmethod N/A S3XFormsForm N/A object N/A N/A  XForms Form Generator  __init__ N/A N/A self table name translate N/A None True N/A N/A 
            Constructor

            @param table: the database table
            @param name: optional alternative form name
            @param translate: enable/disable translation of strings
         N/A N/A self table table N/A name N/A N/A N/A self name name N/A N/A N/A hasattr table _tablename N/A N/A N/A self name N/A table _tablename N/A N/A N/A self name N/A str table N/A fields N/A N/A append N/A fields append N/A field table N/A N/A N/A field readable N/A N/A N/A append N/A S3XFormsField table field translate translate N/A N/A self _fields fields N/A N/A self translate translate N/A xml N/A N/A self N/A N/A N/A 
            Render this form as XML string

            @return: XML as string
         N/A ns N/A _xmlns _xmlns:h _xmlns:ev _xmlns:xsd _xmlns:jr http://www.w3.org/2002/xforms http://www.w3.org/1999/xhtml http://www.w3.org/2001/xml-events http://www.w3.org/2001/XMLSchema http://openrosa.org/javarosa N/A document N/A N/A TAG N/A h:html N/A N/A self _head N/A N/A self _body ns N/A N/A N/A document xml N/A _head N/A N/A self N/A N/A N/A 
            Get the HTML head for this form

            @return: an <h:head> tag
         N/A title N/A N/A TAG N/A h:title N/A self name N/A model N/A N/A self _model N/A N/A N/A TAG N/A h:head title model N/A _body N/A N/A self N/A N/A N/A 
            Get the HTML body for this form

            @return: an <h:body> tag
         N/A widgets N/A N/A self _widgets N/A N/A N/A TAG N/A h:body widgets N/A _model N/A N/A self N/A N/A N/A 
            Get the model for this form

            @return: a <model> tag with instance, bindings and i18n strings
         N/A instance N/A N/A self _instance N/A bindings N/A N/A self _bindings N/A translations N/A N/A self _translations N/A N/A N/A TAG N/A model instance bindings translations N/A _instance N/A N/A self N/A N/A N/A 
            Get the instance for this form

            @return: an <instance> tag with all form field nodes
         N/A nodes N/A N/A append N/A nodes append N/A field N/A self _fields N/A N/A N/A append N/A field model N/A N/A N/A TAG N/A instance N/A N/A TAG N/A N/A self name nodes _id N/A self name N/A _bindings N/A N/A self N/A N/A N/A 
            Get the bindings for this form

            @return: a TAG with the bindings
         N/A bindings N/A N/A append N/A bindings append N/A field N/A self _fields N/A N/A N/A append N/A field binding N/A N/A N/A TAG N/A bindings N/A _widgets N/A N/A self N/A N/A N/A 
            Get the widgets for this form

            @return: a TAG with the widgets
         N/A strings N/A self _strings N/A widgets N/A N/A append N/A widgets append N/A fields N/A self _fields N/A field N/A self _fields N/A N/A N/A append N/A field widget N/A N/A N/A TAG N/A widgets N/A _strings N/A N/A self N/A N/A N/A 
            Get a dict with all i18n strings for this form

            @return: a dict {key: string}
         N/A strings N/A N/A N/A self translate N/A N/A update N/A strings update N/A field N/A self _fields N/A N/A N/A update N/A field strings N/A strings N/A _translations N/A N/A self N/A N/A N/A 
            Render the translations for all configured languages

            @returns: translation tags
         N/A T N/A current T N/A translations N/A N/A TAG N/A N/A strings N/A N/A self _strings N/A N/A N/A self translate strings N/A N/A append_translation N/A translations append N/A languages N/A l N/A l N/A N/A N/A current response s3 l10n_languages N/A l en N/A N/A N/A languages insert 0 en N/A language languages N/A N/A translation N/A N/A TAG N/A translation _lang language N/A append_string N/A translation append N/A N/A key string N/A N/A strings items N/A N/A tstr N/A T N/A N/A hasattr string m N/A string m string language language N/A N/A append_string N/A N/A TAG N/A text N/A N/A TAG N/A value tstr _id key N/A N/A len translation N/A N/A N/A append_translation translation N/A N/A N/A TAG N/A itext translations N/A N/A