summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/chap3/HelloWorld
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/pages/chap3/HelloWorld')
-rw-r--r--demos/quickstart/protected/pages/chap3/HelloWorld/Home.page18
-rw-r--r--demos/quickstart/protected/pages/chap3/HelloWorld/Home.php11
-rw-r--r--demos/quickstart/protected/pages/chap3/HelloWorld/config.xml5
-rw-r--r--demos/quickstart/protected/pages/chap3/HelloWorld/sequence.gifbin0 -> 5557 bytes
-rw-r--r--demos/quickstart/protected/pages/chap3/HelloWorld/sequence.vsdbin0 -> 143360 bytes
5 files changed, 34 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/chap3/HelloWorld/Home.page b/demos/quickstart/protected/pages/chap3/HelloWorld/Home.page
new file mode 100644
index 00000000..158255cb
--- /dev/null
+++ b/demos/quickstart/protected/pages/chap3/HelloWorld/Home.page
@@ -0,0 +1,18 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>Hello World</title>
+</head>
+
+<body>
+
+<com:TForm>
+<com:TButton Text="Click Me" Click="buttonClicked" />
+</com:TForm>
+
+</body>
+
+</html> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/chap3/HelloWorld/Home.php b/demos/quickstart/protected/pages/chap3/HelloWorld/Home.php
new file mode 100644
index 00000000..b1a7f991
--- /dev/null
+++ b/demos/quickstart/protected/pages/chap3/HelloWorld/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
diff --git a/demos/quickstart/protected/pages/chap3/HelloWorld/config.xml b/demos/quickstart/protected/pages/chap3/HelloWorld/config.xml
new file mode 100644
index 00000000..67056f9d
--- /dev/null
+++ b/demos/quickstart/protected/pages/chap3/HelloWorld/config.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<configuration>
+ <pages MasterClass="" />
+</configuration> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/chap3/HelloWorld/sequence.gif b/demos/quickstart/protected/pages/chap3/HelloWorld/sequence.gif
new file mode 100644
index 00000000..a1e51200
--- /dev/null
+++ b/demos/quickstart/protected/pages/chap3/HelloWorld/sequence.gif
Binary files differ
diff --git a/demos/quickstart/protected/pages/chap3/HelloWorld/sequence.vsd b/demos/quickstart/protected/pages/chap3/HelloWorld/sequence.vsd
new file mode 100644
index 00000000..e8c2f5a7
--- /dev/null
+++ b/demos/quickstart/protected/pages/chap3/HelloWorld/sequence.vsd
Binary files differ