diff options
author | ctrlaltca@gmail.com <> | 2011-06-01 22:14:00 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-06-01 22:14:00 +0000 |
commit | 67666aaccb4b4743a084b214722e1173e827e9d1 (patch) | |
tree | e0b6204f917845f382c33bcbe5c2a6822e856020 /demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage | |
parent | 6521eecc250d756a9bb1a8b2f9a2c6a579accadd (diff) |
upported recent documentation changes from branch/3.1 to trunk/
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage')
5 files changed, 45 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/HelloWorld.html b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/HelloWorld.html new file mode 100644 index 00000000..3a319a1b --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/HelloWorld.html @@ -0,0 +1,8 @@ +<html>
+<head>
+<title>Hello World!</title>
+</head>
+<body>
+This is Hello World long description file!
+</body>
+</html>
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.page new file mode 100644 index 00000000..02cc3446 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.page @@ -0,0 +1,20 @@ +<com:TContent ID="body">
+
+<h1>TActiveImage Samples</h1>
+
+<table class="sampletable">
+
+<tr><td class="samplenote">
+<tt>ImageUrl</tt> being changed on callback request:
+</td><td class="sampleaction">
+<com:TActiveImage
+ ID="imageTest"
+ ImageUrl=<%~hello_world.gif%>
+ AlternateText="Hello World!"/>
+<com:TActiveButton OnCallback="buttonClicked" Text="First hello world image"/>
+<com:TActiveButton OnCallback="buttonClicked2" Text="Second hello world image"/>
+</td></tr>
+
+</table>
+
+<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.php new file mode 100644 index 00000000..3628ad0a --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.php @@ -0,0 +1,17 @@ +<?php
+
+// $Id: Home.php 1405 2006-09-10 01:03:56Z wei $
+class Home extends TPage
+{
+ public function buttonClicked($sender, $param)
+ {
+ $this->imageTest->ImageUrl=$this->publishAsset("hello_world.gif");
+ }
+
+ public function buttonClicked2($sender, $param)
+ {
+ $this->imageTest->ImageUrl=$this->publishAsset("hello_world2.gif");
+ }
+}
+
+?>
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/hello_world.gif b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/hello_world.gif Binary files differnew file mode 100644 index 00000000..bc81443c --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/hello_world.gif diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/hello_world2.gif b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/hello_world2.gif Binary files differnew file mode 100644 index 00000000..a8c73cf6 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/hello_world2.gif |