DisplayBinding Class

On this page:

Subroutines

Function Name Parameter Name Valid Input Value Description
printUrl()     Joins the input arguments into a valid url string.
  type    
    sel Appends .mql?method=pdf plus a list of parameters. Prints the current selection.
    xls_sel Appends .xls?method=xls plus a list of parameters.
    create_recordset Appends .mql?method=pdf plus a list of parameters.
    recordset Appends .mql?method=pdf plus a list of parameters. Prints the filtered recordset.
    xls_recordset Appends .xls?method=xls plus a list of parameters.
  keyList   A list of keys that will be added as a reportlist parameter to the sel or xls_sel options.
  report   Is added as a report parameter to the sel and recordset options.
window.open()     When the window.open makes a request the url is handled by the
/opt/masonsql/htdocs/init.comp and
/opt/masonsql/htdocs/lib/dbms_library.comp components.

Example url:
https://my-hostname.com/data/my_app_name/ordini.mql?method=pdf&
P=reportlist&P=%5B%2726%27%5D&P=name&P=Rec_FORM_gas_ordini&P=start&P=0&P=rows&P=1&P=orderby&P=&P=where2&P=&P=father_id&P=&P=father_id_update&P=&P=query_param&P=null&P=report&P=-per_zone_articolo


The window.open parameters determine properties of the newly opened window.

Example parameters string:
toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable,
alwaysRaised,dependent,titlebar=no,width=800,height=600
Topic revision: r3 - 22 Apr 2018, GuidoBrugnara
This site is powered by FoswikiCopyright (©) Leader.IT - Italy P.I. IT01434390223 Privacy policy & use of cookies