summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest.php
diff options
context:
space:
mode:
authorwei <>2007-01-03 08:17:41 +0000
committerwei <>2007-01-03 08:17:41 +0000
commite66a34b2bfca3bb803500c4b9c39bed73d2e4001 (patch)
treee191731f94280eba47d9f660aa398892471f167a /tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest.php
parent258c8daf0fad79945620018a08ee84ca14b1d73e (diff)
Update active controls to use http response body for application data.
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest.php b/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest.php
new file mode 100644
index 00000000..1102ffb2
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest.php
@@ -0,0 +1,22 @@
+<?php
+
+class LargePageStateTest extends TPage
+{
+ function onLoad($param)
+ {
+ parent::onLoad($param);
+ for($i=0;$i<100;$i++) //may try 10000, but may crash PHP.
+ {
+ $label = new TLabel();
+ $label->Text=" this is a very long label with some text $i:";
+ $this->Panel1->Controls[] = $label;
+ }
+ }
+
+ function button_clicked($sender, $param)
+ {
+ $this->status->Text .= ' Callback Clicked... ';
+ }
+}
+
+?> \ No newline at end of file