diff options
Diffstat (limited to 'demos/helloworld/protected/pages')
-rw-r--r-- | demos/helloworld/protected/pages/Home.page | 16 | ||||
-rw-r--r-- | demos/helloworld/protected/pages/Home.php | 11 |
2 files changed, 27 insertions, 0 deletions
diff --git a/demos/helloworld/protected/pages/Home.page b/demos/helloworld/protected/pages/Home.page new file mode 100644 index 00000000..97702e67 --- /dev/null +++ b/demos/helloworld/protected/pages/Home.page @@ -0,0 +1,16 @@ +<html>
+
+<head>
+<title>Hello World Demo - Prado</title>
+</head>
+
+<body>
+
+<com:TForm>
+
+<com:TButton Text="Click me" OnClick="buttonClicked" />
+
+</com:TForm>
+
+</body>
+</html>
\ No newline at end of file diff --git a/demos/helloworld/protected/pages/Home.php b/demos/helloworld/protected/pages/Home.php new file mode 100644 index 00000000..432c2ee7 --- /dev/null +++ b/demos/helloworld/protected/pages/Home.php @@ -0,0 +1,11 @@ +<?php
+
+class Home extends TPage
+{
+ public function buttonClicked($sender,$param)
+ {
+ $sender->Text="Hello World!";
+ }
+}
+
+?>
\ No newline at end of file |