summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php')
-rw-r--r--demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php
index 3d89011c..86fc8f7b 100644
--- a/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php
+++ b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php
@@ -23,6 +23,11 @@ class Home extends TPage
$this->dlg4->open();
}
+ public function bt5Click($sender, $param)
+ {
+ $this->dlg5->open();
+ }
+
public function dlg3Ok($sender, $param)
{
$this->lbl3->Text="Button Ok clicked";
@@ -63,4 +68,15 @@ class Home extends TPage
$this->dlg4->getOptions()->position = "$x $y";
}
+ public function dlg5Ok($sender, $param)
+ {
+ $this->lbl5->Text="Button Ok clicked. You wrote: ".$this->txtSomething->Text;
+ $this->dlg5->close();
+ }
+
+ public function dlg5Cancel($sender, $param)
+ {
+ $this->lbl5->Text="Button Cancel clicked. You wrote: ".$this->txtSomething->Text;
+ $this->dlg5->close();
+ }
} \ No newline at end of file