commit-gnue
[Top][All Lists]
Advanced

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

r5793 - in trunk/gnue-forms/samples: connections intro inventory/forms p


From: jcater
Subject: r5793 - in trunk/gnue-forms/samples: connections intro inventory/forms po track/forms
Date: Sat, 8 May 2004 16:50:14 -0500 (CDT)

Author: jcater
Date: 2004-05-08 16:50:13 -0500 (Sat, 08 May 2004)
New Revision: 5793

Modified:
   trunk/gnue-forms/samples/connections/connection.gfd
   trunk/gnue-forms/samples/intro/intro.gfd
   trunk/gnue-forms/samples/inventory/forms/company.gfd
   trunk/gnue-forms/samples/inventory/forms/inv_maintenance.gfd
   trunk/gnue-forms/samples/po/sc_po_entry.gfd
   trunk/gnue-forms/samples/track/forms/address_type.gfd
   trunk/gnue-forms/samples/track/forms/assignment_status.gfd
   trunk/gnue-forms/samples/track/forms/email_type.gfd
   trunk/gnue-forms/samples/track/forms/phone_type.gfd
Log:
updated samples

Modified: trunk/gnue-forms/samples/connections/connection.gfd
===================================================================
--- trunk/gnue-forms/samples/connections/connection.gfd 2004-05-08 21:46:58 UTC 
(rev 5792)
+++ trunk/gnue-forms/samples/connections/connection.gfd 2004-05-08 21:50:13 UTC 
(rev 5793)
@@ -181,8 +181,8 @@
 from gnue.common.datasources.GDataObjects import LoginError
 from gnue.common.apps.plugin import find, LoadError
 
-name     = Block_1.SecE.get()
-provider = Block_1.provE.get()
+name     = Block_1.SecE.value
+provider = Block_1.provE.value
 
 try:
   base = 'gnue.common.datasources.drivers'
@@ -203,13 +203,13 @@
   param = lh.getLogin([name,name, [('_username', 'Username', False),
                                    ('_password', 'Password', True)]])
 
-  param['host']      = Block_1.hostE.get()
-  param['port']      = Block_1.portE.get()
-  param['dbname']    = Block_1.dbE.get()
-  param['encoding']  = Block_1.encE.get()
-  param['rpctype']   = Block_1.rpctE.get()
-  param['transport'] = Block_1.tranE.get()
-  param['service']   = Block_1.servE.get()
+  param['host']      = Block_1.hostE.value
+  param['port']      = Block_1.portE.value
+  param['dbname']    = Block_1.dbE.value
+  param['encoding']  = Block_1.encE.value
+  param['rpctype']   = Block_1.rpctE.value
+  param['transport'] = Block_1.tranE.value
+  param['service']   = Block_1.servE.value
 
   try:
     conn = testDriver.Connection(connections, name, param)

Modified: trunk/gnue-forms/samples/intro/intro.gfd
===================================================================
--- trunk/gnue-forms/samples/intro/intro.gfd    2004-05-08 21:46:58 UTC (rev 
5792)
+++ trunk/gnue-forms/samples/intro/intro.gfd    2004-05-08 21:50:13 UTC (rev 
5793)
@@ -17,7 +17,7 @@
 import string
 from gnue.common.apps import GConfig
 
-s = SampleBlock.NameEntry.get().encode(gConfig('textEncoding'))
+s = SampleBlock.NameEntry.value.encode(gConfig('textEncoding'))
 try:
  out = ''
 
@@ -80,7 +80,7 @@
 if not SampleBlock.YearEntry.isEmpty():
 
   try:
-    val = 'Confucius say, "%s"'%Fortunes[int(SampleBlock.YearEntry.get()[-1:])]
+    val = 'Confucius say, "%s"'%Fortunes[int(SampleBlock.YearEntry.value[-1:])]
   except ValueError:
     val = "Please enter a valid birth year first."
 

Modified: trunk/gnue-forms/samples/inventory/forms/company.gfd
===================================================================
--- trunk/gnue-forms/samples/inventory/forms/company.gfd        2004-05-08 
21:46:58 UTC (rev 5792)
+++ trunk/gnue-forms/samples/inventory/forms/company.gfd        2004-05-08 
21:50:13 UTC (rev 5793)
@@ -30,13 +30,13 @@
         </options>
       </field>
       <field name="ntrycity" case="upper" field="city" max_length="40"
-             readonly="Y">
+             editable="N">
         <options>
           <option name="tip" value="Please enter the value for city."/>
         </options>
       </field>
       <field name="ntrystate" case="upper" field="state" max_length="2"
-             readonly="Y">
+             editable="N">
         <options>
           <option name="tip" value="Please enter the value for state."/>
         </options>

Modified: trunk/gnue-forms/samples/inventory/forms/inv_maintenance.gfd
===================================================================
--- trunk/gnue-forms/samples/inventory/forms/inv_maintenance.gfd        
2004-05-08 21:46:58 UTC (rev 5792)
+++ trunk/gnue-forms/samples/inventory/forms/inv_maintenance.gfd        
2004-05-08 21:50:13 UTC (rev 5793)
@@ -25,7 +25,7 @@
       <field name="ntryavailable_rty" field="available_qty" typecast="number"/>
       <field name="ntryreserved_qty" field="reserved_qty" typecast="number"/>
       <field name="ntrynonusable_qty" field="nonusable_qty" typecast="number"/>
-      <field name="ntryactual_qty" field="actual_qty" readonly="Y"/>
+      <field name="ntryactual_qty" field="actual_qty" editable="N"/>
       <field name="ntryreorder_qty" field="reorder_qty" typecast="number"/>
       <field name="ntryreorder_point" field="reorder_point" typecast="number"/>
       <field name="ntryqty_unit" field="qty_unit" fk_description="description"

Modified: trunk/gnue-forms/samples/po/sc_po_entry.gfd
===================================================================
--- trunk/gnue-forms/samples/po/sc_po_entry.gfd 2004-05-08 21:46:58 UTC (rev 
5792)
+++ trunk/gnue-forms/samples/po/sc_po_entry.gfd 2004-05-08 21:50:13 UTC (rev 
5793)
@@ -97,7 +97,7 @@
       <field name="ntryUnitPrice" field="unit_price" value="">
         <trigger name="Trigger_3" src="trggrAmount" type="PRE-FOCUSOUT"/>
       </field>
-      <field name="ntryAmount" field="amt" readonly="Y" value=""/>
+      <field name="ntryAmount" field="amt" editable="N" value=""/>
       <field name="ntryComments" field="comments" value=""/>
       <field name="ntrySubTotal" field="sub_total" value="">
         <trigger name="Trigger_4" src="trggrTotal" type="PRE-FOCUSOUT"/>
@@ -111,7 +111,7 @@
       <field name="ntryShipping" field="shipping" value="">
         <trigger name="Trigger_7" src="trggrTotal" type="PRE-FOCUSOUT"/>
       </field>
-      <field name="ntryTotal" field="total" readonly="Y" value=""/>
+      <field name="ntryTotal" field="total" editable="N" value=""/>
     </block>
   </logic>
   <layout xmlns:c="GNUe:Layout:Char" c:height="24" tabbed="top" c:width="80">

Modified: trunk/gnue-forms/samples/track/forms/address_type.gfd
===================================================================
--- trunk/gnue-forms/samples/track/forms/address_type.gfd       2004-05-08 
21:46:58 UTC (rev 5792)
+++ trunk/gnue-forms/samples/track/forms/address_type.gfd       2004-05-08 
21:50:13 UTC (rev 5793)
@@ -13,7 +13,7 @@
               provider="postgresql"/>
   <logic>
     <block name="blckaddress_type" datasource="dtsrcaddress_type">
-      <field name="ntryid" field="id" readonly="Y">
+      <field name="ntryid" field="id" editable="N">
         <options>
           <option name="tip" value="Please enter the value for id"/>
         </options>

Modified: trunk/gnue-forms/samples/track/forms/assignment_status.gfd
===================================================================
--- trunk/gnue-forms/samples/track/forms/assignment_status.gfd  2004-05-08 
21:46:58 UTC (rev 5792)
+++ trunk/gnue-forms/samples/track/forms/assignment_status.gfd  2004-05-08 
21:50:13 UTC (rev 5793)
@@ -13,7 +13,7 @@
               provider="postgresql"/>
   <logic>
     <block name="blckassignment_status" datasource="dtsrcassignment_status">
-      <field name="ntryid" field="id" readonly="Y">
+      <field name="ntryid" field="id" editable="N">
         <options>
           <option name="tip" value="Please enter the value for id"/>
         </options>

Modified: trunk/gnue-forms/samples/track/forms/email_type.gfd
===================================================================
--- trunk/gnue-forms/samples/track/forms/email_type.gfd 2004-05-08 21:46:58 UTC 
(rev 5792)
+++ trunk/gnue-forms/samples/track/forms/email_type.gfd 2004-05-08 21:50:13 UTC 
(rev 5793)
@@ -11,7 +11,7 @@
               table="email_type"/>
   <logic>
     <block name="blckemail_type" datasource="dtsrcemail_type">
-      <field name="ntryid" field="id" readonly="Y">
+      <field name="ntryid" field="id" editable="N">
         <options>
           <option name="tip" value="Please enter the value for id"/>
         </options>

Modified: trunk/gnue-forms/samples/track/forms/phone_type.gfd
===================================================================
--- trunk/gnue-forms/samples/track/forms/phone_type.gfd 2004-05-08 21:46:58 UTC 
(rev 5792)
+++ trunk/gnue-forms/samples/track/forms/phone_type.gfd 2004-05-08 21:50:13 UTC 
(rev 5793)
@@ -13,7 +13,7 @@
               provider="postgresql"/>
   <logic>
     <block name="blckphone_type" datasource="dtsrcphone_type">
-      <field name="ntryid" field="id" readonly="Y">
+      <field name="ntryid" field="id" editable="N">
         <options>
           <option name="tip" value="Please enter the value for id"/>
         </options>





reply via email to

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