[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r8559 - in trunk/gnue-samples/testcases/forms: . subforms
From: |
reinhard |
Subject: |
[gnue] r8559 - in trunk/gnue-samples/testcases/forms: . subforms |
Date: |
Tue, 8 Aug 2006 17:27:44 -0500 (CDT) |
Author: reinhard
Date: 2006-08-08 17:27:44 -0500 (Tue, 08 Aug 2006)
New Revision: 8559
Added:
trunk/gnue-samples/testcases/forms/subforms/
trunk/gnue-samples/testcases/forms/subforms/dlg.gfd
trunk/gnue-samples/testcases/forms/subforms/frm.gfd
trunk/gnue-samples/testcases/forms/subforms/main.gfd
Log:
Added testcase for different kinds of calling subforms.
Added: trunk/gnue-samples/testcases/forms/subforms/dlg.gfd
===================================================================
--- trunk/gnue-samples/testcases/forms/subforms/dlg.gfd 2006-08-08 22:25:40 UTC
(rev 8558)
+++ trunk/gnue-samples/testcases/forms/subforms/dlg.gfd 2006-08-08 22:27:44 UTC
(rev 8559)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<form title="Other Dialog" style="dialog">
+ <logic/>
+ <layout xmlns:c="GNUe:Layout:Char" c:height="3" c:width="20">
+ <page>
+ <button c:x="1" c:y="1" c:width="18" label="Close">
+ <trigger type="ON-ACTION">
+ close()
+ </trigger>
+ </button>
+ </page>
+ </layout>
+</form>
Added: trunk/gnue-samples/testcases/forms/subforms/frm.gfd
===================================================================
--- trunk/gnue-samples/testcases/forms/subforms/frm.gfd 2006-08-08 22:25:40 UTC
(rev 8558)
+++ trunk/gnue-samples/testcases/forms/subforms/frm.gfd 2006-08-08 22:27:44 UTC
(rev 8559)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<form title="Other Form">
+ <logic/>
+ <layout xmlns:c="GNUe:Layout:Char" c:height="3" c:width="20">
+ <page>
+ <button c:x="1" c:y="1" c:width="18" label="Close">
+ <trigger type="ON-ACTION">
+ close()
+ </trigger>
+ </button>
+ </page>
+ </layout>
+</form>
Added: trunk/gnue-samples/testcases/forms/subforms/main.gfd
===================================================================
--- trunk/gnue-samples/testcases/forms/subforms/main.gfd 2006-08-08
22:25:40 UTC (rev 8558)
+++ trunk/gnue-samples/testcases/forms/subforms/main.gfd 2006-08-08
22:27:44 UTC (rev 8559)
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<form title="Main Form">
+ <logic/>
+ <layout xmlns:c="GNUe:Layout:Char" c:height="5" c:width="60">
+ <page>
+ <button c:x="1" c:y="1" c:width="28" label="Dialog, Not Modal">
+ <trigger type="ON-ACTION">
+ activateDialog('dlg', modal=False)
+ </trigger>
+ </button>
+ <button c:x="1" c:y="2" c:width="28" label="Dialog, Modal">
+ <trigger type="ON-ACTION">
+ activateDialog('dlg', modal=True)
+ </trigger>
+ </button>
+ <button c:x="1" c:y="3" c:width="28" label="Dialog, Other GFD">
+ <trigger type="ON-ACTION">
+ runForm('dlg.gfd')
+ </trigger>
+ </button>
+ <button c:x="31" c:y="1" c:width="28" label="Subform, Not Modal">
+ <trigger type="ON-ACTION">
+ activateDialog('frm', modal=False)
+ </trigger>
+ </button>
+ <button c:x="31" c:y="2" c:width="28" label="Subform, Modal">
+ <trigger type="ON-ACTION">
+ activateDialog('frm', modal=True)
+ </trigger>
+ </button>
+ <button c:x="31" c:y="3" c:width="28" label="Subform, Other GFD">
+ <trigger type="ON-ACTION">
+ runForm('frm.gfd')
+ </trigger>
+ </button>
+ </page>
+ </layout>
+
+ <dialog xmlns:c="GNUe:Layout:Char" name="dlg" title="Dialog">
+ <logic/>
+ <layout c:height="3" c:width="20">
+ <page>
+ <button c:x="1" c:y="1" c:width="18" label="Close">
+ <trigger type="ON-ACTION">
+ close()
+ </trigger>
+ </button>
+ </page>
+ </layout>
+ </dialog>
+
+ <dialog xmlns:c="GNUe:Layout:Char" name="frm" title="Subform" style="normal">
+ <logic/>
+ <layout c:height="3" c:width="20">
+ <page>
+ <button c:x="1" c:y="1" c:width="18" label="Close">
+ <trigger type="ON-ACTION">
+ close()
+ </trigger>
+ </button>
+ </page>
+ </layout>
+ </dialog>
+</form>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r8559 - in trunk/gnue-samples/testcases/forms: . subforms,
reinhard <=