Dialog panels [examples]

When used in conjunction with {…} macros, Dialog Panels can display dynamic context sensitive content. This is the code used to display a Google map for the customer currently being displayed in the form. It is called by clicking or touching on the “Customer Location” button in the footer menu:

Lianja.showDialogPanel("CUSTOMER LOCATION", 
    "lib:/showdialog_map.rsp?address={customers.address}
                +{customers.city}+{customers.country}", 500);

https://www.lianja.com/doc/index.php/Dialog_Panels


Google Map

Lianja.showDialogPanel("CUSTOMER LOCATION", 
        "lib:/showdialog_map.rsp?address={customers.address}+{customers.city}+{customers.country}", 500);

using a function to dynamically create the dialog panel.

Lianja.showDialogPanel("EMPLOYEE DETAILS", "createEmployeeDetails()");

https://www.lianja.com/doc/index.php/Dialog_Panels


 

Advertisements