summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page')
-rw-r--r--tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page22
1 files changed, 14 insertions, 8 deletions
diff --git a/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page b/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page
index b33e9000..c98bae4d 100644
--- a/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page
+++ b/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page
@@ -3,21 +3,27 @@
<com:TClientScript UsingPradoScripts="ajax" />
<com:TCallback id="control1"
ClientSide.EnablePageStateUpdate="false"
- OnCallback="control1onCallback" />
+ OnCallback="slowResponse" />
<com:TCallback id="control2"
ClientSide.HasPriority="false"
- OnCallback="control1onCallback" />
+ OnCallback="fastResponse" />
- <com:TActiveLabel id="label1" Text="Name:" />
+ <com:TActiveLabel id="label1" Text="Name:" AllowCallbackUpdate="false" />
<com:TTextBox id="text1" />
+ <com:TActiveLabel id="label2" />
- <com:TCheckBoxList>
- <com:TListItem Text="One" />
- <com:TListItem Text="Two" />
- </com:TCheckBoxList>
+ <com:TActivePanel id="panel1" >
+ <com:TPanel id="panel2" Visible="false">
+ <com:TCheckBoxList>
+ <com:TListItem Text="One" />
+ <com:TListItem Text="Two" />
+ </com:TCheckBoxList>
+ </com:TPanel>
+ </com:TActivePanel>
+
- <com:TButton id="button1" Text="Submit 1" CausesValidation="false" />
+ <com:TButton id="button1" Text="Submit 1 (3s delay)" CausesValidation="false" />
<com:TButton id="button2" Text="Submit 2" CausesValidation="false" />
<script>
Event.observe("<%= $this->button1->ClientID %>", "click", function(event)