Fornece APIs para passar e recuperar dados entre a página de origem e a caixa de diálogo.
$render = '';
$resposta = '';
$eval="
DinarteCoelho.openDialog({
url: "\/sistema\/ui\/df\/selectProduct.php",
pfdlgcid: "id",
sourceComponentId: "tabela",
sourceWidgetVar: "widget_tabela",
options: {
resizable: false
}
});
";
dc.cw("CommandButton", "widget_BtnVer", {
id: "BtnVer"
, behaviors: {
dialogReturn: function (ext, event) {
dc.ab({
s: "BtnVer"
, e: "dialogReturn"
, f: "formulario"
, p: "BtnVer"
, u: "alerta"
}, ext);
}
}
});