commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r6495 - trunk/gnue-appserver/samples


From: johannes
Subject: r6495 - trunk/gnue-appserver/samples
Date: Thu, 14 Oct 2004 05:19:54 -0500 (CDT)

Author: johannes
Date: 2004-10-14 05:19:54 -0500 (Thu, 14 Oct 2004)
New Revision: 6495

Modified:
   trunk/gnue-appserver/samples/sample.gfd
Log:
Added automatic stamps


Modified: trunk/gnue-appserver/samples/sample.gfd
===================================================================
--- trunk/gnue-appserver/samples/sample.gfd     2004-10-14 09:27:43 UTC (rev 
6494)
+++ trunk/gnue-appserver/samples/sample.gfd     2004-10-14 10:19:54 UTC (rev 
6495)
@@ -1,6 +1,12 @@
 <?xml version="1.0" encoding="iso8859-1"?>
 
 <form title="GNUe Application Server test">
+  <options>
+    <author>GNU Enterprise Application Server Team</author>
+    <version>1.0</version>
+    <description>Sample for using Application Server</description>
+  </options>
+
   <parameter name="von" default="2270-06-20 09:00"/>
   <parameter name="bis" default="2270-06-25 20:00"/>
   <datasource name="dtsPerson" connection="appserver" table="address_person"
@@ -53,6 +59,7 @@
     if retval is not None:
       print "retval =", retval
   ]]></trigger>
+
   <logic>
     <block name="blkPerson" datasource="dtsPerson">
       <field name="inpName" field="address_name" max_length="35"/>
@@ -71,85 +78,85 @@
       <field name="inpHuman" field="address_human" max_length="1"/>
       <field name="inpNextMeeting" field="address_nextmeeting"
         typecast="date" readonly="Y"/>
+      <field name="fldCreateDate" field="gnue_createdate" typecast="date"/>
+      <field name="fldCreateUser" field="gnue_createuser" maxLength="8"/>
+      <field name="fldModifyDate" field="gnue_modifydate" typecast="date"/>
+      <field name="fldModifyUser" field="gnue_modifyuser" maxLength="8"/>
     </block>
+
     <block name="blkCountry" datasource="dtsMCountry" rows="10">
       <field name="inpCCode" field="address_code" max_length="2"/>
       <field name="inpCName" field="address_name" max_length="35"/>
     </block>
   </logic>
-  <layout xmlns:Char="GNUe:Layout:Char" Char:height="14" Char:width="50"
-    tabbed="top">
+
+  <layout xmlns:c="GNUe:Layout:Char" c:height="16" c:width="50" tabbed="top">
     <page name="pgPerson" caption="Person">
-      <label name="lblName" Char:height="1" Char:width="5" Char:x="1"
-             Char:y="1" text="Name:"/>
-      <label name="lblStreet" Char:height="1" Char:width="7" Char:x="1"
-             Char:y="2" text="Street:"/>
-      <label name="lblZip" Char:height="1" Char:width="4" Char:x="1"
-             Char:y="3" text="Zip:"/>
-      <label name="lblCity" Char:height="1" Char:width="5" Char:x="1"
-             Char:y="4" text="City:"/>
-      <label name="lblCountry" Char:height="1" Char:width="8" Char:x="1"
-             Char:y="5" text="Country:"/>
-      <label name="lblChildren" Char:height="1" Char:width="9" Char:x="1"
-             Char:y="6" text="Children:"/>
-      <label name="lblWeight" Char:height="1" Char:width="12" Char:x="1"
-             Char:y="7" text="Weight (kg):"/>
-      <label name="lblBorn" Char:height="1" Char:width="5" Char:x="1"
-             Char:y="8" text="Born:"/>
-      <label name="lblMeetTime" Char:height="1" Char:width="13" Char:x="1"
-             Char:y="9" text="Meeting Time:"/>
-      <label name="lblLastMeeting" Char:height="1" Char:width="13" Char:x="1"
-             Char:y="10" text="Last Meeting:"/>
-      <label name="lblNextMeeting" Char:height="1" Char:width="13" Char:x="1"
-             Char:y="11" text="Next Meeting:"/>
-      <label name="lblHuman" Char:height="1" Char:width="6" Char:x="1"
-             Char:y="12" text="Human:"/>
-      <entry name="entName" Char:height="1" Char:width="35" Char:x="14"
-             Char:y="1" block="blkPerson" field="inpName"/>
-      <entry name="entStreet" Char:height="1" Char:width="35" Char:x="14"
-             Char:y="2" block="blkPerson" field="inpStreet"/>
-      <entry name="entZip" Char:height="1" Char:width="35" Char:x="14"
-             Char:y="3" block="blkPerson" field="inpZip"/>
-      <entry name="entCity" Char:height="1" Char:width="35" Char:x="14"
-             Char:y="4" block="blkPerson" field="inpCity"/>
-      <entry name="entCountry_Code" Char:height="1" Char:width="5" Char:x="14"
-             Char:y="5" block="blkPerson" field="inpCountry_Code"
-             style="dropdown"/>
-      <entry name="entCountry_Name" Char:height="1" Char:width="29" Char:x="20"
-             Char:y="5" block="blkPerson" field="inpCountry_Name"
-             style="dropdown"/>
-      <entry name="entChildren" Char:height="1" Char:width="10" Char:x="14"
-             Char:y="6" block="blkPerson" field="inpChildren"/>
-      <entry name="entWeight" Char:height="1" Char:width="10" Char:x="14"
-             Char:y="7" block="blkPerson" field="inpWeight"/>
-      <entry name="entBorn" Char:height="1" Char:width="25" Char:x="14"
-             Char:y="8" block="blkPerson" field="inpBorn" displaymask="%x"
-             inputmask="%x"/>
-      <entry name="entMeetTime" Char:height="1" Char:width="25" Char:x="14"
-             Char:y="9" block="blkPerson" field="inpMeetTime" displaymask="%X"
-             inputmask="%X"/>
-      <entry name="entLastMeeting" Char:height="1" Char:width="25" Char:x="14"
-             Char:y="10" block="blkPerson" field="inpLastMeeting"
-             displaymask="%x %X" inputmask="%x %X"/>
-      <entry name="entNextMeeting" Char:height="1" Char:width="25" Char:x="14"
-             Char:y="11" block="blkPerson" field="inpNextMeeting"
-             displaymask="%x %X" inputmask="%x %X" navigable="N"/>
-      <entry name="entHuman" Char:height="1" Char:width="2" Char:x="14"
-             Char:y="12" block="blkPerson" field="inpHuman" style="checkbox"/>
-      <button name="Call" Char:height="1" Char:width="25" Char:x="14"
-              Char:y="13" label="Show record">
+      <label c:height="1" c:width="5"  c:x="1" c:y="1"  text="Name:"/>
+      <label c:height="1" c:width="7"  c:x="1" c:y="2"  text="Street:"/>
+      <label c:height="1" c:width="4"  c:x="1" c:y="3"  text="Zip:"/>
+      <label c:height="1" c:width="5"  c:x="1" c:y="4"  text="City:"/>
+      <label c:height="1" c:width="8"  c:x="1" c:y="5"  text="Country:"/>
+      <label c:height="1" c:width="9"  c:x="1" c:y="6"  text="Children:"/>
+      <label c:height="1" c:width="12" c:x="1" c:y="7"  text="Weight (kg):"/>
+      <label c:height="1" c:width="5"  c:x="1" c:y="8"  text="Born:"/>
+      <label c:height="1" c:width="13" c:x="1" c:y="9"  text="Meeting Time:"/>
+      <label c:height="1" c:width="13" c:x="1" c:y="10" text="Last Meeting:"/>
+      <label c:height="1" c:width="13" c:x="1" c:y="11" text="Next Meeting:"/>
+      <label c:height="1" c:width="6"  c:x="1" c:y="12" text="Human:"/>
+      <label c:height="1" c:width="8"  c:x="1" c:y="13" text="Created:"/>
+      <label c:height="1" c:width="13" c:x="1" c:y="14" text="last modifed:"/>
+
+      <entry c:height="1" c:width="35" c:x="14" c:y="1" block="blkPerson"
+        field="inpName"/>
+      <entry c:height="1" c:width="35" c:x="14" c:y="2" block="blkPerson"
+        field="inpStreet"/>
+      <entry c:height="1" c:width="35" c:x="14" c:y="3" block="blkPerson"
+        field="inpZip"/>
+      <entry c:height="1" c:width="35" c:x="14" c:y="4" block="blkPerson"
+        field="inpCity"/>
+      <entry c:height="1" c:width="5"  c:x="14" c:y="5" block="blkPerson"
+        field="inpCountry_Code" style="dropdown"/>
+      <entry c:height="1" c:width="29" c:x="20" c:y="5" block="blkPerson"
+        field="inpCountry_Name" style="dropdown"/>
+      <entry c:height="1" c:width="10" c:x="14" c:y="6" block="blkPerson"
+        field="inpChildren"/>
+      <entry c:height="1" c:width="10" c:x="14" c:y="7" block="blkPerson"
+        field="inpWeight"/>
+      <entry c:height="1" c:width="25" c:x="14" c:y="8" block="blkPerson"
+        field="inpBorn" displaymask="%x" inputmask="%x"/>
+      <entry c:height="1" c:width="25" c:x="14" c:y="9" block="blkPerson"
+        field="inpMeetTime" displaymask="%X" inputmask="%X"/>
+      <entry c:height="1" c:width="25" c:x="14" c:y="10" block="blkPerson"
+        field="inpLastMeeting" displaymask="%x %X" inputmask="%x %X"/>
+      <entry c:height="1" c:width="25" c:x="14" c:y="11" block="blkPerson"
+        field="inpNextMeeting" displaymask="%x %X" inputmask="%x %X"
+        navigable="N"/>
+      <entry c:height="1" c:width="2" c:x="14" c:y="12" block="blkPerson"
+        field="inpHuman" style="checkbox"/>
+      <entry c:height="1" c:width="25" c:x="14" c:y="13" block="blkPerson"
+        field="fldCreateDate" displaymask="%x %X" style="label"/>
+      <entry c:height="1" c:width="8" c:x="40" c:y="13" block="blkPerson"
+        field="fldCreateUser" style="label"/>
+      <entry c:height="1" c:width="25" c:x="14" c:y="14" block="blkPerson"
+        field="fldModifyDate" displaymask="%x %X" style="label"/>
+      <entry c:height="1" c:width="8" c:x="40" c:y="14" block="blkPerson"
+        field="fldModifyUser" style="label"/>
+
+      <button c:height="1" c:width="25" c:x="14" c:y="15" label="Show record">
         <trigger src="showRecord" name="Trigger1" type="ON-ACTION"/>
       </button>
     </page>
+
     <page name="pgCountry" caption="Country">
-      <label name="lblCCode" Char:height="1" Char:width="4"
-             Char:x="1" Char:y="1" text="Code"/>
-      <entry name="entCCode" Char:height="1" Char:width="4" Char:x="1"
-             Char:y="2" block="blkCountry" field="inpCCode" label=""/>
-      <label name="lblCName" Char:height="1" Char:width="12"
-             Char:x="7" Char:y="1" text="Address Name"/>
-      <entry name="entCName" Char:height="1" Char:width="35" Char:x="7"
-             Char:y="2" block="blkCountry" field="inpCName" label=""/>
+      <label c:height="1" c:width="4"  c:x="1" c:y="1" text="Code"/>
+      <label c:height="1" c:width="12" c:x="7" c:y="1" text="Address Name"/>
+
+      <entry c:height="1" c:width="4" c:x="1" c:y="2" block="blkCountry"
+        field="inpCCode"/>
+      <entry c:height="1" c:width="35" c:x="7" c:y="2" block="blkCountry"
+        field="inpCName"/>
     </page>
+
   </layout>
 </form>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]