commit-gnue
[Top][All Lists]
Advanced

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

r5132 - trunk/gnue-appserver/samples


From: reinhard
Subject: r5132 - trunk/gnue-appserver/samples
Date: Wed, 18 Feb 2004 17:00:10 -0600 (CST)

Author: reinhard
Date: 2004-02-18 17:00:08 -0600 (Wed, 18 Feb 2004)
New Revision: 5132

Modified:
   trunk/gnue-appserver/samples/appserver.gpd
   trunk/gnue-appserver/samples/sample.gfd
   trunk/gnue-appserver/samples/sample.gsd
Log:
Improved samples.


Modified: trunk/gnue-appserver/samples/appserver.gpd
===================================================================
--- trunk/gnue-appserver/samples/appserver.gpd  2004-02-18 19:51:00 UTC (rev 
5131)
+++ trunk/gnue-appserver/samples/appserver.gpd  2004-02-18 23:00:08 UTC (rev 
5132)
@@ -8,8 +8,10 @@
           title="Address list"/>
   </process>
   <process title="Server Setup">
-    <step type="form" location="./GNUe_ClassRepository.gfd"
+    <step type="form" location="./gnue_modules.gfd"
           title="GNUe Application Server Modules"/>
+    <step type="form" location="./gnue_classes.gfd"
+          title="GNUe Application Server Classes"/>
   </process>
 </processes>
 

Modified: trunk/gnue-appserver/samples/sample.gfd
===================================================================
--- trunk/gnue-appserver/samples/sample.gfd     2004-02-18 19:51:00 UTC (rev 
5131)
+++ trunk/gnue-appserver/samples/sample.gfd     2004-02-18 23:00:08 UTC (rev 
5132)
@@ -1,19 +1,21 @@
 <?xml version="1.0" encoding="iso8859-1"?>
 
-<!--  GNUe-Designer (0.5.1.99)
-      Saved on: 2003-10-18 20:28:45  -->
-
 <form title="GNUe Application Server test">
   <datasource name="dtsPerson" connection="appserver" table="address_person"/>
+  <datasource name="dtsCountry" connection="appserver" 
table="address_country"/>
   <trigger name="showRecord" type="NAMED"><![CDATA[
        call("show","")
   ]]></trigger>
   <logic>
-    <block name="blkPerson" datasource="dtsperson">
+    <block name="blkPerson" datasource="dtsPerson">
       <field name="inpName" field="address_name" max_length="35"/>
       <field name="inpStreet" field="address_street" max_length="35"/>
       <field name="inpZip" field="address_zip" max_length="17"/>
       <field name="inpCity" field="address_city" max_length="35"/>
+      <field name="inpCountry_Code" field="address_country"
+        fk_key="gnue_id" fk_description="address_code" fk_source="dtsCountry"/>
+      <field name="inpCountry_Name" field="address_country"
+        fk_key="gnue_id" fk_description="address_name" fk_source="dtsCountry"/>
       <field name="inpChildren" field="address_children" typecast="number"/>
       <field name="inpWeight" field="address_weight" typecast="number"/>
       <field name="inpBorn" field="address_born" typecast="date"/>
@@ -22,7 +24,7 @@
       <field name="inpHuman" field="address_human" max_length="1"/>
     </block>
   </logic>
-  <layout xmlns:Char="GNUe:Layout:Char" Char:height="13" Char:width="40">
+  <layout xmlns:Char="GNUe:Layout:Char" Char:height="14" Char:width="50">
     <page name="pgPerson">
       <label name="lblName" Char:height="1" Char:width="5" Char:x="1"
              Char:y="1" text="Name:"/>
@@ -32,40 +34,48 @@
              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="5" text="Children:"/>
+             Char:y="6" text="Children:"/>
       <label name="lblWeight" Char:height="1" Char:width="12" Char:x="1"
-             Char:y="6" text="Weight (kg):"/>
+             Char:y="7" text="Weight (kg):"/>
       <label name="lblBorn" Char:height="1" Char:width="5" Char:x="1"
-             Char:y="7" text="Born:"/>
+             Char:y="8" text="Born:"/>
       <label name="lblMeetTime" Char:height="1" Char:width="13" Char:x="1"
-             Char:y="8" text="Meeting Time:"/>
+             Char:y="9" text="Meeting Time:"/>
       <label name="lblLastMeeting" Char:height="1" Char:width="13" Char:x="1"
-             Char:y="9" text="Last Meeting:"/>
+             Char:y="10" text="Last Meeting:"/>
       <label name="lblHuman" Char:height="1" Char:width="6" Char:x="1"
-             Char:y="10" text="Human:"/>
-      <entry name="entName" Char:height="1" Char:width="25" Char:x="14"
+             Char:y="11" 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="25" Char:x="14"
+      <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="25" Char:x="14"
+      <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="25" Char:x="14"
+      <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="5" block="blkPerson" field="inpChildren"/>
+             Char:y="6" block="blkPerson" field="inpChildren"/>
       <entry name="entWeight" Char:height="1" Char:width="10" Char:x="14"
-             Char:y="6" block="blkPerson" field="inpWeight"/>
+             Char:y="7" block="blkPerson" field="inpWeight"/>
       <entry name="entBorn" Char:height="1" Char:width="25" Char:x="14"
-             Char:y="7" block="blkPerson" field="inpBorn"/>
+             Char:y="8" block="blkPerson" field="inpBorn"/>
       <entry name="entMeetTime" Char:height="1" Char:width="25" Char:x="14"
-             Char:y="8" block="blkPerson" field="inpMeetTime"/>
+             Char:y="9" block="blkPerson" field="inpMeetTime"/>
       <entry name="entLastMeeting" Char:height="1" Char:width="25" Char:x="14"
-             Char:y="9" block="blkPerson" field="inpLastMeeting"/>
-      <entry name="entHuman" Char:height="1" Char:width="1" Char:x="14"
-             Char:y="10" block="blkPerson" field="inpHuman" style="checkbox"/>
+             Char:y="10" block="blkPerson" field="inpLastMeeting"/>
+      <entry name="entHuman" Char:height="1" Char:width="2" Char:x="14"
+             Char:y="11" block="blkPerson" field="inpHuman" style="checkbox"/>
       <button name="Call" Char:height="1" Char:width="25" Char:x="14"
-              Char:y="12" label="Show record">
+              Char:y="13" label="Show record">
         <trigger src="showRecord" name="Trigger1" type="ON-ACTION"/>
       </button>
     </page>

Modified: trunk/gnue-appserver/samples/sample.gsd
===================================================================
--- trunk/gnue-appserver/samples/sample.gsd     2004-02-18 19:51:00 UTC (rev 
5131)
+++ trunk/gnue-appserver/samples/sample.gsd     2004-02-18 23:00:08 UTC (rev 
5132)
@@ -304,7 +304,7 @@
           <value field="gnue_id">'00000000000000000000001000000002'</value>
           <value field="gnue_username">'hacker'</value>
           <value field="gnue_password">'secret'</value>
-          <value 
field="gnue_accesslist">'address_person,address_country,gnue_module,gnue_class,gnue_property'</value>
+          <value 
field="gnue_accesslist">'address_person,address_country,gnue_module,gnue_class,gnue_property,gnue_procedure'</value>
         </row>
       </rows>
     </tabledata>





reply via email to

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