commit-gnue
[Top][All Lists]
Advanced

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

r139 - in gnue-pim: forms schema


From: kilo
Subject: r139 - in gnue-pim: forms schema
Date: Thu, 25 Nov 2004 06:07:31 -0600 (CST)

Author: kilo
Date: 2004-11-25 06:07:31 -0600 (Thu, 25 Nov 2004)
New Revision: 139

Added:
   gnue-pim/forms/pim.gfd
Modified:
   gnue-pim/schema/party.gcd
   gnue-pim/schema/person.gcd
Log:
GNUe PIM.
Main form design ready.

Added: gnue-pim/forms/pim.gfd
===================================================================
--- gnue-pim/forms/pim.gfd      2004-11-25 09:50:01 UTC (rev 138)
+++ gnue-pim/forms/pim.gfd      2004-11-25 12:07:31 UTC (rev 139)
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="iso8859-1"?>
+
+<!-- PIM main form
+
+     Copyright 2004 Free Software Foundation
+
+     This file is part of GNU Enterprise.
+
+     GNU Enterprise is free software; you can redistribute it and/or
+     modify it under the terms of the GNU General Public License as
+     published by the Free Software Foundation; either version 2 of
+     the License, or (at your option) any later version.
+
+     GNU Enterprise is distributed in the hope that it will be useful,
+     but WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+     GNU General Public License for more details.
+
+     You should have received a copy of the GNU General Public License
+     along with GNU Enterprise; see the file COPYING.  If not, write to
+     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+     Boston, MA 02111-1307, USA.
+     
+     $Id$
+-->
+
+<form title="GNUe PIM">
+  <options/>
+  
+  <datasource name="dtsPERSON_Person" connection="pim" table="PERSON_Person"/>
+  <datasource name="dtsPIM_AdPe" connection="pim" table="PIM_AdPe" />
+  <datasource name="dtsPIM_PeCo" connection="pim" table="PIM_PeCo" />
+  <datasource name="dtsPIM_PaPe" connection="pim" table="PIM_PaPe" />
+  <datasource name="dtsADDR_Address" connection="pim" table="ADDR_Address"
+      master="dtsPIM_AdPe" masterlink="PIM_addr" detaillink="gnue_id" />
+  <datasource name="dtsCOMM_Comm" connection="pim" table="COMM_Comm"
+      master="dtsPIM_PeCo" masterlink="PIM_comm" detaillink="gnue_id" />
+  <datasource name="dtsPARTY_Party" connection="pim" table="PARTY_Party"
+      master="dtsPIM_PaPe" masterlink="PIM_party" detaillink="gnue_id" />
+              
+  <logic>
+    <block name="blkPIM_AdPe" datasource="dtspim_adpe">
+      <field name="fldAdpePerson" field="PIM_person"
+          fk_source="dtsPERSON_Person" fk_key="gnue_id"
+          fk_description="PERSON_name1">
+        <trigger type="POST-CHANGE" name="postchange">
+          pass
+        </trigger>
+      </field>
+      <field name="fldAdpeAddress" field="PIM_addr"/>
+    </block>
+  
+    <block name="blkPIM_PeCo" datasource="dtspim_peco">
+      <field name="fldPecoPerson" field="PIM_person"></field>
+    </block>
+    
+    <block name="blkPIM_PaPe" datasource="dtspim_pape">
+      <field name="fldPapePerson" field="PIM_person"></field>
+    </block>
+    
+    <block name="blkADDR_Address" datasource="dtsaddr_address" rows="3">
+      <field name="fldAddrFormatted" field="ADDR_formatted" readonly="Y"/>
+    </block>
+    
+    <block name="blkCOMM_Comm" datasource="dtscomm_comm" rows="3">
+      <field name="fldCommFormatted" field="COMM_formatted" readonly="Y"/>
+    </block>
+    
+    <block name="blkPARTY_Party" datasource="dtsparty_party" rows="3">
+      <field name="fldPartyFormatted" field="PARTY_formatted" readonly="Y"/>
+    </block>
+    
+  </logic>
+  
+  
+  
+  <layout xmlns:c="GNUe:Layout:Char" c:height="21" c:width="60" tabbed="top">
+    <page name="Person">
+      <entry name="entSelectPerson" c:height="1" c:width="20" c:x="1" c:y="1"
+          block="blkPIM_AdPe" field="fldAdpePerson" style="dropdown" />
+      <button name="btnEditPerson" c:height="1" c:width="12" c:x="22" c:y="1"
+          label="Add/Edit...">
+      </button>
+
+      <!--Address box-->
+      <box name="boxAddress" c:height="6" c:width="58" c:x="1" c:y="3"
+          label="Addresses" />
+      <button name="btnAddAddress" c:height="1" c:width="12" c:x="3" c:y="4"
+          label="Add/Edit...">
+      </button>
+      <entry name="entAddrFormatted" c:height="1" c:width="40" c:x="3" c:y="5"
+          block="blkADDR_Address" field="fldAddrFormatted" />
+          
+      <!--Comm box-->
+      <box name="boxComm" c:height="6" c:width="58" c:x="1" c:y="9"
+          label="Communication" />
+      <button name="btnAddComm" c:height="1" c:width="12" c:x="3" c:y="10"
+          label="Add/Edit...">
+      </button>
+      <entry name="entCommFormatted" c:height="1" c:width="40" c:x="3" c:y="11"
+          block="blkCOMM_Comm" field="fldCommFormatted" />
+          
+      <!--Party box-->
+      <box name="boxParty" c:height="6" c:width="58" c:x="1" c:y="15"
+          label="Parties" />
+      <button name="btnAddParty" c:height="1" c:width="12" c:x="3" c:y="16"
+          label="Add/Edit...">
+      </button>
+      <entry name="entPartyFormatted" c:height="1" c:width="40" c:x="3" 
c:y="17"
+          block="blkPARTY_Party" field="fldPartyFormatted" />
+          
+    </page>
+  </layout>
+</form>


Property changes on: gnue-pim/forms/pim.gfd
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: gnue-pim/schema/party.gcd
===================================================================
--- gnue-pim/schema/party.gcd   2004-11-25 09:50:01 UTC (rev 138)
+++ gnue-pim/schema/party.gcd   2004-11-25 12:07:31 UTC (rev 139)
@@ -34,5 +34,8 @@
     <property name="name1"  type="string(35)"   comment="" />
     <property name="name2"  type="string(35)"   comment="" />
     <property name="name3"  type="string(35)"   comment="" />
+    <property name="formatted"  type="string"   comment="Formatted per local 
requirements">
+      return self.name1
+    </property>
   </class>
 </module>

Modified: gnue-pim/schema/person.gcd
===================================================================
--- gnue-pim/schema/person.gcd  2004-11-25 09:50:01 UTC (rev 138)
+++ gnue-pim/schema/person.gcd  2004-11-25 12:07:31 UTC (rev 139)
@@ -29,5 +29,8 @@
     <property name="name1"  type="string(35)"   comment="" />
     <property name="name2"  type="string(35)"   comment="" />
     <property name="name3"  type="string(35)"   comment="" />
+    <property name="formatted"  type="string"   comment="Formatted per local 
requirements">
+      return self.name1
+    </property>
   </class>
 </module>





reply via email to

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