{{ #-------------------------------------------------------------------------- # # The python controller return cfg_store, the configuration of # the Ext.data.Array # # prepare the data # - build unique DIV identifier # - Title and DIV block # #-------------------------------------------------------------------------- # # unique identifier for the DIV block associated to the grid # divgrid = id(cfg_store) # # The title and the DIV block # response.write(H2(T("Software versions"), _class="dbui-h2 dbui-small-cap")) response.write(DIV(_id="grid-%s" % divgrid)) # # Export python variables to the javascript # jsvars = "var cfgStore = %s;" % cfg_store response.write(SCRIPT(jsvars), escape=False) }}