[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r5524 - in trunk/gnue-appserver: samples src
From: |
johannes |
Subject: |
r5524 - in trunk/gnue-appserver: samples src |
Date: |
Fri, 26 Mar 2004 04:05:49 -0600 (CST) |
Author: johannes
Date: 2004-03-26 04:05:48 -0600 (Fri, 26 Mar 2004)
New Revision: 5524
Removed:
trunk/gnue-appserver/samples/gnue_classes.gfd
trunk/gnue-appserver/samples/gnue_modules.gfd
Modified:
trunk/gnue-appserver/src/test.py
Log:
Removing old gfd's. Parameter-argument to sessionmanager.call () is a dict, not
a string.
Deleted: trunk/gnue-appserver/samples/gnue_classes.gfd
===================================================================
--- trunk/gnue-appserver/samples/gnue_classes.gfd 2004-03-26 10:03:12 UTC
(rev 5523)
+++ trunk/gnue-appserver/samples/gnue_classes.gfd 2004-03-26 10:05:48 UTC
(rev 5524)
@@ -1,172 +0,0 @@
-<?xml version="1.0" encoding="iso8859-1"?>
-
-<!-- $Id$ -->
-
-<form title="GNUe Classrepository">
- <options/>
- <datasource name="dtsGnue_module" connection="appserver"
table="gnue_module"/>
- <datasource name="dtsGnue_class" connection="appserver" table="gnue_class"/>
- <datasource name="dtsGnue_property" connection="appserver"
- table="gnue_property" master="dtsGnue_class" masterlink="gnue_id"
- detaillink="gnue_class"/>
- <datasource name="dtsGnue_procedure" connection="appserver"
- table="gnue_procedure" master="dtsGnue_class" masterlink="gnue_id"
- detaillink="gnue_class"/>
- <logic>
- <!-- GNUe Class (Master) -->
- <block name="blkGnue_class" datasource="dtsgnue_class" rows="1">
- <field name="fld_class_gnue_id" field="gnue_id" max_length="32"
- readonly="Y"/>
- <field name="fld_class_gnue_name" field="gnue_name" max_length="35"
- required="Y"/>
- <field name="fld_class_gnue_comment" field="gnue_comment"
- max_length="70"/>
- <field name="fld_class_gnue_module" field="gnue_module"
- fk_description="gnue_name" fk_key="gnue_id"
- fk_source="dtsGnue_module" required="Y"/>
- </block>
- <!-- GNUe Property (Detail) -->
- <block name="blkGnue_property" datasource="dtsGnue_property" rows="3"
- rowSpacer="1">
- <field name="fld_prop_gnue_id" field="gnue_id" max_length="32"
- readonly="Y"/>
- <field name="fld_prop_gnue_module" field="gnue_module"
- fk_key="gnue_id" fk_description="gnue_name"
- fk_source="dtsGnue_module" required="Y"/>
- <field name="fld_prop_gnue_class" field="gnue_class" max_length="32"
- required="Y"/>
- <field name="fld_prop_gnue_name" field="gnue_name" max_length="35"
- required="Y"/>
- <field name="fld_prop_gnue_type" field="gnue_type" max_length="35"
- required="Y"/>
- <field name="fld_prop_gnue_length" field="gnue_length"
typecast="number"/>
- <field name="fld_prop_gnue_scale" field="gnue_scale" typecast="number"/>
- <field name="fld_prop_gnue_comment" field="gnue_comment"
max_length="70"/>
- <field name="fld_prop_gnue_nullable" field="gnue_nullable"
- default="TRUE"/>
- </block>
- <!-- GNUe Procedure (Detail) -->
- <block name="blkGnue_procedure" datasource="dtsGnue_procedure">
- <field name="fld_proc_gnue_id" field="gnue_id" max_length="32"
- readonly="Y"/>
- <field name="fld_proc_gnue_module" field="gnue_module" fk_key="gnue_id"
- fk_description="gnue_name" fk_source="dtsGnue_module" required="Y"/>
- <field name="fld_proc_gnue_class" field="gnue_class" max_length="32"
- required="Y"/>
- <field name="fld_proc_gnue_name" field="gnue_name" max_length="35"
- required="Y"/>
- <field name="fld_proc_gnue_language" field="gnue_language"
- max_length="10" required="Y"/>
- <field name="fld_proc_gnue_comment" field="gnue_comment"
max_length="70"/>
- <field name="fld_proc_gnue_code" field="gnue_code" max_length="2000"
- required="Y"/>
- </block>
- </logic>
- <layout xmlns:Char="GNUe:Layout:Char" Char:height="25" Char:width="80">
- <page name="Classes">
- <!-- ============================================================== -->
- <!-- GNUe Classes -->
- <!-- ============================================================== -->
- <!-- gnue_class.gnue_module -->
- <label name="lbl_class_gnue_module" Char:height="1" Char:width="8"
- Char:x="1" Char:y="1" text="Module :"/>
- <entry name="ddn_class_gnue_module" Char:height="1" Char:width="37"
- Char:x="10" Char:y="1" block="blkGnue_class"
- field="fld_class_gnue_module" label="" style="dropdown"/>
- <!-- gnue_class.gnue_name -->
- <label name="lbl_class_gnue_name" Char:height="1" Char:width="8"
- Char:x="1" Char:y="2" text="Name :"/>
- <entry name="ent_class_gnue_name" Char:height="1" Char:width="37"
- Char:x="10" Char:y="2" block="blkGnue_class"
- field="fld_class_gnue_name" label=""/>
- <!-- gnue_class.gnue_comment -->
- <label name="lbl_class_gnue_comment" Char:height="1" Char:width="8"
- Char:x="1" Char:y="3" text="Comment:"/>
- <entry name="ent_class_gnue_comment" Char:height="1" Char:width="69"
- Char:x="10" Char:y="3" block="blkGnue_class"
- field="fld_class_gnue_comment" label=""/>
- <!-- ============================================================== -->
- <!-- GNUe Properties -->
- <!-- ============================================================== -->
- <box name="Property_Box" Char:height="10" Char:width="80" Char:x="0"
- Char:y="4" label="Properties"/>
- <!-- gnue_property.gnue_module -->
- <label name="lbl_prop_gnue_module" Char:height="1" Char:width="6"
- Char:x="13" Char:y="5" text="Module"/>
- <entry name="ddn_prop_gnue_module" Char:height="1" Char:width="17"
- Char:x="2" Char:y="7" block="blkGnue_property"
- field="fld_prop_gnue_module" label="" style="dropdown"/>
- <!-- gnue_property.gnue_name -->
- <label name="lbl_prop_gnue_name" Char:height="1" Char:width="4"
- Char:x="21" Char:y="5" text="Name"/>
- <entry name="ent_prop_gnue_name" Char:height="1" Char:width="17"
- Char:x="21" Char:y="7" block="blkGnue_property"
- field="fld_prop_gnue_name" label=""/>
- <!-- gnue_property.gnue_type -->
- <label name="lbl_prop_gnue_type" Char:height="1" Char:width="4"
- Char:x="39" Char:y="5" text="Type"/>
- <entry name="ent_prop_gnue_type" Char:height="1" Char:width="25"
- Char:x="39" Char:y="7" block="blkGnue_property"
- field="fld_prop_gnue_type" label=""/>
- <!-- gnue_property.gnue_length -->
- <label name="lbl_prop_gnue_length" Char:height="1" Char:width="6"
- Char:x="65" Char:y="5" text="Length"/>
- <entry name="ent_prop_gnue_length" Char:height="1" Char:width="6"
- Char:x="65" Char:y="7" block="blkGnue_property"
- field="fld_prop_gnue_length" label=""/>
- <!-- gnue_property.gnue_scale -->
- <label name="lbl_prop_gnue_scale" Char:height="1" Char:width="5"
- Char:x="72" Char:y="5" text="Scale"/>
- <entry name="ent_prop_gnue_scale" Char:height="1" Char:width="6"
- Char:x="72" Char:y="7" block="blkGnue_property"
- field="fld_prop_gnue_scale" label=""/>
- <!-- gnue_property.gnue_nullable -->
- <label name="lbl_prop_gnue_nullable" Char:heigth="1" Char:width="4"
- Char:x="15" Char:y="6" text="Null"/>
- <entry name="ent_prop_gnue_nullable" Char:heigth="1" Char:width="3"
- Char:x="17" Char:y="8" block="blkGnue_property"
- field="fld_prop_gnue_nullable" label="" style="checkbox"/>
- <!-- gnue_property.gnue_comment -->
- <label name="lbl_prop_gnue_comment" Char:height="1" Char:width="7"
- Char:x="21" Char:y="6" text="Comment"/>
- <entry name="ent_prop_gnue_comment" Char:height="1" Char:width="57"
- Char:x="21" Char:y="8" block="blkGnue_property"
- field="fld_prop_gnue_comment" label=""/>
- <!-- ============================================================== -->
- <!-- GNUe Procedures -->
- <!-- ============================================================== -->
- <box name="Procedure Box" Char:height="12" Char:width="80" Char:x="0"
- Char:y="13" label="Procedures"/>
- <!-- gnue_procedure.gnue_module -->
- <label name="lbl_proc_gnue_module" Char:height="1" Char:width="6"
- Char:x="13" Char:y="14" text="Module"/>
- <entry name="ddn_proc_gnue_module" Char:height="1" Char:width="17"
- Char:x="2" Char:y="15" block="blkGnue_procedure"
- field="fld_proc_gnue_module" label="" style="dropdown" rows="3"/>
- <!-- gnue_procedure.gnue_name -->
- <label name="lbl_proc_gnue_name" Char:height="1" Char:width="4"
- Char:x="21" Char:y="14" text="Name"/>
- <entry name="ent_proc_gnue_name" Char:height="1" Char:width="17"
- Char:x="21" Char:y="15" block="blkGnue_procedure"
- field="fld_proc_gnue_name" label="" rows="3"/>
- <!-- gnue_procedure.gnue_language -->
- <label name="lbl_proc_gnue_language" Char:height="1" Char:width="8"
- Char:x="39" Char:y="14" text="Language"/>
- <entry name="ent_proc_gnue_language" Char:height="1" Char:width="10"
- Char:x="39" Char:y="15" block="blkGnue_procedure"
- field="fld_proc_gnue_language" label="" rows="3"/>
- <!-- gnue_procedure.gnue_comment -->
- <label name="lbl_proc_gnue_comment" Char:height="1" Char:width="7"
- Char:x="50" Char:y="14" text="Comment"/>
- <entry name="ent_proc_gnue_comment" Char:height="1" Char:width="28"
- Char:x="50" Char:y="15" block="blkGnue_procedure"
- field="fld_proc_gnue_comment" label="" rows="3"/>
- <!-- gnue_procedure.gnue_code -->
- <label name="lbl_proc_gnue_code" Char:height="1" Char:width="4"
- Char:x="2" Char:y="18" text="Code"/>
- <entry name="ent_proc_gnue_code" Char:height="6" Char:width="76"
- Char:x="2" Char:y="19" block="blkGnue_procedure"
- field="fld_proc_gnue_code" label=""/>
- </page>
- </layout>
-</form>
Deleted: trunk/gnue-appserver/samples/gnue_modules.gfd
===================================================================
--- trunk/gnue-appserver/samples/gnue_modules.gfd 2004-03-26 10:03:12 UTC
(rev 5523)
+++ trunk/gnue-appserver/samples/gnue_modules.gfd 2004-03-26 10:05:48 UTC
(rev 5524)
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="iso8859-1"?>
-
-<!-- $Id$ -->
-
-<form title="GNUe Modules">
- <options/>
- <datasource name="dtsGnue_module" connection="appserver"
table="gnue_module"/>
- <logic>
- <block name="blkGnue_module" datasource="dtsGnue_module" rows="1">
- <field name="fld_Module_gnue_id" field="gnue_id" max_length="32"
- readonly="Y"/>
- <field name="fld_Module_gnue_name" field="gnue_name" max_length="35"
- required="Y"/>
- <field name="fld_Module_gnue_comment" field="gnue_comment"
- max_length="70"/>
- </block>
- </logic>
- <layout xmlns:Char="GNUe:Layout:Char" Char:height="7" Char:width="48">
- <page name="Modules">
- <!-- gnue_module.gnue_id -->
- <label name="lModule_gnue_id" Char:height="1" Char:width="8" Char:x="1"
- Char:y="2" text="Id:"/>
- <entry name="eModule_gnue_id" Char:height="1" Char:width="35" Char:x="10"
- Char:y="2" block="blkGnue_module" field="fld_Module_gnue_id" label=""/>
- <!-- gnue_module.gnue_name -->
- <label name="lModule_gnue_name" Char:height="1" Char:width="8" Char:x="1"
- Char:y="3" text="Name:"/>
- <entry name="eModule_gnue_name" Char:height="1" Char:width="35"
- Char:x="10" Char:y="3" block="blkGnue_module"
- field="fld_Module_gnue_name" label=""/>
- <!-- gnue_module.gnue_comment -->
- <label name="lModule_gnue_comment" Char:height="1" Char:width="8"
- Char:x="1" Char:y="4" text="Comment:"/>
- <entry name="eModule_gnue_comment" Char:height="1" Char:width="35"
- Char:x="10" Char:y="4" block="blkGnue_module"
- field="fld_Module_gnue_comment" label=""/>
- </page>
- </layout>
-</form>
Modified: trunk/gnue-appserver/src/test.py
===================================================================
--- trunk/gnue-appserver/src/test.py 2004-03-26 10:03:12 UTC (rev 5523)
+++ trunk/gnue-appserver/src/test.py 2004-03-26 10:05:48 UTC (rev 5524)
@@ -74,10 +74,10 @@
print " City :", rset[0][3]
print "Now I call the procedure 'show' for the first instance:"
- sm.call (session, "address_person", [rset[0][0]], "address_show", "")
+ sm.call (session, "address_person", [rset[0][0]], "address_show", {})
print "Now I call the procedure 'test' for the first instance:"
- sm.call (session, "address_person", [rset[0][0]], "address_test", "")
+ sm.call (session, "address_person", [rset[0][0]], "address_test", {})
print "Committing and closing session ..."
sm.close (session, 1)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r5524 - in trunk/gnue-appserver: samples src,
johannes <=