commit-gnue
[Top][All Lists]
Advanced

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

r5585 - in trunk: gnue-common/doc gnue-common/scripts gnue-common/utils


From: jamest
Subject: r5585 - in trunk: gnue-common/doc gnue-common/scripts gnue-common/utils gnue-forms/doc gnue-navigator/doc gnue-reports/doc
Date: Tue, 30 Mar 2004 19:39:42 -0600 (CST)

Author: jamest
Date: 2004-03-30 19:39:41 -0600 (Tue, 30 Mar 2004)
New Revision: 5585

Added:
   trunk/gnue-common/utils/update-tool-dtds
Modified:
   trunk/gnue-common/doc/RPC-grpc-file.dtd
   trunk/gnue-common/doc/gnue-schema.dtd
   trunk/gnue-common/scripts/gnuedtd
   trunk/gnue-forms/doc/gnue-forms.dtd
   trunk/gnue-navigator/doc/gnue-navigator.dtd
   trunk/gnue-reports/doc/gnue-reports.dtd
Log:
added simple script to recreate the dtds
updated dtds for pending release


Modified: trunk/gnue-common/doc/RPC-grpc-file.dtd
===================================================================
--- trunk/gnue-common/doc/RPC-grpc-file.dtd     2004-03-30 23:00:33 UTC (rev 
5584)
+++ trunk/gnue-common/doc/RPC-grpc-file.dtd     2004-03-31 01:39:41 UTC (rev 
5585)
@@ -1,7 +1,7 @@
-<!-- GNURPC DTD (Version 0.4.0a) -->
+<!-- GNURPC DTD (Version 0.5.3.99) -->
 
 <!--
-     Copyright 2001-2002 Free Software Foundation
+     Copyright 2001-2004 Free Software Foundation
 
      This file is part of GNU Enterprise.
 
@@ -94,5 +94,5 @@
 
 
 <!-- This DTD was created by gnuedtd
-     Updated: 2002-07-15 14:57:22   -->
+     Updated: 2004-03-31 01:35:01   -->
 

Modified: trunk/gnue-common/doc/gnue-schema.dtd
===================================================================
--- trunk/gnue-common/doc/gnue-schema.dtd       2004-03-30 23:00:33 UTC (rev 
5584)
+++ trunk/gnue-common/doc/gnue-schema.dtd       2004-03-31 01:39:41 UTC (rev 
5585)
@@ -1,4 +1,4 @@
-<!-- GNUe Schema DTD (Version 0.5.2.99) -->
+<!-- GNUe Schema DTD (Version 0.5.3.99) -->
 
 <!--
      Copyright 2001-2004 Free Software Foundation
@@ -57,7 +57,7 @@
 <!-- ======================== -->
 <!-- Child elements of schema -->
 <!-- ======================== -->
-<!ELEMENT data (tabledata*)>
+<!ELEMENT data (import-tabledata*, tabledata*)>
 
 <!ELEMENT description EMPTY>
 
@@ -67,6 +67,11 @@
 <!-- ====================== -->
 <!-- Child elements of data -->
 <!-- ====================== -->
+<!ELEMENT import-tabledata EMPTY>
+<!ATTLIST import-tabledata library %name; #REQUIRED>
+<!ATTLIST import-tabledata name %name; #REQUIRED>
+<!ATTLIST import-tabledata tablename %name; #REQUIRED>
+
 <!ELEMENT tabledata (definition?, rows?)>
 <!ATTLIST tabledata name %name; #REQUIRED>
 <!ATTLIST tabledata tablename %name; #REQUIRED>
@@ -202,5 +207,5 @@
 
 
 <!-- This DTD was created by gnuedtd
-     Updated: 2004-03-01 10:45:52   -->
+     Updated: 2004-03-31 01:35:01   -->
 

Modified: trunk/gnue-common/scripts/gnuedtd
===================================================================
--- trunk/gnue-common/scripts/gnuedtd   2004-03-30 23:00:33 UTC (rev 5584)
+++ trunk/gnue-common/scripts/gnuedtd   2004-03-31 01:39:41 UTC (rev 5585)
@@ -42,7 +42,7 @@
   def __init__ (self, tool, dest=sys.__stdout__):
 
     if tool == 'reports':
-      from gnue.reports import GRParser, VERSION, PACKAGE
+      from gnue.reports.base import GRParser, VERSION, PACKAGE
       xmlElements = GRParser.getXMLelements()
       topLevelElement = 'report'
       name = PACKAGE
@@ -71,7 +71,7 @@
       version = VERSION
 
     elif tool == 'gnurpc':
-      from gnue.common.commdrivers._parser import Parser
+      from gnue.common.rpc.parser import Parser
       xmlElements = Parser.getXMLelements()
       topLevelElement = 'gnurpc'
       name = 'GNURPC'

Added: trunk/gnue-common/utils/update-tool-dtds
===================================================================
--- trunk/gnue-common/utils/update-tool-dtds    2004-03-30 23:00:33 UTC (rev 
5584)
+++ trunk/gnue-common/utils/update-tool-dtds    2004-03-31 01:39:41 UTC (rev 
5585)
@@ -0,0 +1,12 @@
+#!/bin/bash
+#
+# run from base gnue dir
+#
+
+GDTD=gnue-common/scripts/gnuedtd
+
+gcvs $GDTD forms     gnue-forms/doc/gnue-forms.dtd
+gcvs $GDTD reports   gnue-reports/doc/gnue-reports.dtd
+gcvs $GDTD schema    gnue-common/doc/gnue-schema.dtd
+gcvs $GDTD navigator gnue-navigator/doc/gnue-navigator.dtd
+gcvs $GDTD gnurpc   gnue-common/doc/RPC-grpc-file.dtd
\ No newline at end of file


Property changes on: trunk/gnue-common/utils/update-tool-dtds
___________________________________________________________________
Name: svn:executable
   + *

Modified: trunk/gnue-forms/doc/gnue-forms.dtd
===================================================================
--- trunk/gnue-forms/doc/gnue-forms.dtd 2004-03-30 23:00:33 UTC (rev 5584)
+++ trunk/gnue-forms/doc/gnue-forms.dtd 2004-03-31 01:39:41 UTC (rev 5585)
@@ -1,7 +1,7 @@
-<!-- GNUe Forms DTD (Version 0.4.99) -->
+<!-- GNUe-Forms DTD (Version 0.5.3.99) -->
 
 <!--
-     Copyright 2001-2002 Free Software Foundation
+     Copyright 2001-2004 Free Software Foundation
 
      This file is part of GNU Enterprise.
 
@@ -49,14 +49,15 @@
 <!-- ================= -->
 <!-- TODO -->
 <!ELEMENT form (connection*, datasource*, dialog*, import-datasource*, 
-                import-dialog*, import-trigger*, menu*, options*, parameter*, 
+                import-dialog*, import-layout?, import-logic?, 
+                import-trigger*, layout, logic, menu*, options*, parameter*, 
                 trigger*)>
-<!-- name: A unique ID for the form. -->
+<!-- name: A unique name or ID for the form. -->
 <!ATTLIST form name ID #IMPLIED>
 <!-- readonly: If set to {Y}, then no modifications to data by the end user 
        will be allowed. The form will become a query-only form. -->
 <!ATTLIST form readonly %boolean;>
-<!ATTLIST form style %name; #FIXED "dialog">
+<!ATTLIST form style (dialog | normal) "normal">
 <!-- title: The title of the form. -->
 <!ATTLIST form title %text; "Untitled Form">
 
@@ -99,12 +100,12 @@
 
 <!-- TODO -->
 <!ELEMENT dialog EMPTY>
-<!-- name: A unique ID for the form. -->
+<!-- name: A unique name or ID for the form. -->
 <!ATTLIST dialog name ID #IMPLIED>
 <!-- readonly: If set to {Y}, then no modifications to data by the end user 
        will be allowed. The form will become a query-only form. -->
 <!ATTLIST dialog readonly %boolean;>
-<!ATTLIST dialog style %name; #FIXED "dialog">
+<!ATTLIST dialog style (dialog | normal) "dialog">
 <!-- title: The title of the form. -->
 <!ATTLIST dialog title %text; "Untitled Form">
 
@@ -130,15 +131,28 @@
 <!-- TODO -->
 <!ELEMENT import-dialog EMPTY>
 <!ATTLIST import-dialog library %name; #REQUIRED>
-<!-- name: A unique ID for the form. -->
+<!-- name: A unique name or ID for the form. -->
 <!ATTLIST import-dialog name ID #IMPLIED>
 <!-- readonly: If set to {Y}, then no modifications to data by the end user 
        will be allowed. The form will become a query-only form. -->
 <!ATTLIST import-dialog readonly %boolean;>
-<!ATTLIST import-dialog style %name; #FIXED "dialog">
+<!ATTLIST import-dialog style (dialog | normal) "dialog">
 <!-- title: The title of the form. -->
 <!ATTLIST import-dialog title %text; "Untitled Form">
 
+<!-- TODO -->
+<!ELEMENT import-layout EMPTY>
+<!ATTLIST import-layout library %name; #REQUIRED>
+<!-- tabbed: Informs the UI subsystem to display a form's pages as notebook 
+       tabs. Allowed values are {left}, {right}, {bottom}, {top}. If the UI 
+       driver in use does not support the chosen tab position (or tabs at 
+       all,) then the UI driver may choose another tab position. -->
+<!ATTLIST import-layout tabbed (bottom | left | none | right | top) "none">
+
+<!-- TODO -->
+<!ELEMENT import-logic EMPTY>
+<!ATTLIST import-logic library %name; #REQUIRED>
+
 <!ELEMENT import-trigger EMPTY>
 <!ATTLIST import-trigger library %name; #REQUIRED>
 <!ATTLIST import-trigger language %name; #FIXED "python">
@@ -146,6 +160,17 @@
 <!ATTLIST import-trigger src IDREF #IMPLIED>
 <!ATTLIST import-trigger type CDATA #IMPLIED>
 
+<!-- TODO -->
+<!ELEMENT layout (import-page*, page+)>
+<!-- tabbed: Informs the UI subsystem to display a form's pages as notebook 
+       tabs. Allowed values are {left}, {right}, {bottom}, {top}. If the UI 
+       driver in use does not support the chosen tab position (or tabs at 
+       all,) then the UI driver may choose another tab position. -->
+<!ATTLIST layout tabbed (bottom | left | none | right | top) "none">
+
+<!-- TODO -->
+<!ELEMENT logic (block+, import-block*)>
+
 <!ELEMENT menu EMPTY>
 <!ATTLIST menu name ID #REQUIRED>
 <!ATTLIST menu enabled %boolean;>
@@ -158,7 +183,7 @@
 
 <!-- TODO -->
 <!ELEMENT options (author?, description?, name?, option*, tip?, title?, 
-                   version?, width?)>
+                   version?)>
 
 <!-- TODO -->
 <!ELEMENT parameter EMPTY>
@@ -191,6 +216,103 @@
 <!ATTLIST staticset fields %text; #REQUIRED>
 
 
+<!-- ======================== -->
+<!-- Child elements of layout -->
+<!-- ======================== -->
+<!-- TODO -->
+<!ELEMENT import-page EMPTY>
+<!ATTLIST import-page library %name; #REQUIRED>
+<!-- caption: For {tabbed} or {popup} pages, this contains the caption to use 
+       for the page. -->
+<!ATTLIST import-page caption %text; #IMPLIED>
+<!-- name: A unique ID for the widget. This is only useful when importing 
+       pages from a library. -->
+<!ATTLIST import-page name ID #IMPLIED>
+<!-- style: The type of page. -->
+<!ATTLIST import-page style %name; #FIXED "normal">
+<!-- transparent: If set, then you can tab out of the page via next- or 
+       previous-field events. Makes navigation in mutlipage forms easier. If 
+       false, focus stays within a page until user explicitly moves to another 
+       page -->
+<!ATTLIST import-page transparent %boolean;>
+
+<!-- TODO -->
+<!ELEMENT page (box*, button*, component*, entry*, image*, import-button*, 
+                label*, scrollbar*)>
+<!-- caption: For {tabbed} or {popup} pages, this contains the caption to use 
+       for the page. -->
+<!ATTLIST page caption %text; #IMPLIED>
+<!-- name: A unique ID for the widget. This is only useful when importing 
+       pages from a library. -->
+<!ATTLIST page name ID #IMPLIED>
+<!-- style: The type of page. -->
+<!ATTLIST page style %name; #FIXED "normal">
+<!-- transparent: If set, then you can tab out of the page via next- or 
+       previous-field events. Makes navigation in mutlipage forms easier. If 
+       false, focus stays within a page until user explicitly moves to another 
+       page -->
+<!ATTLIST page transparent %boolean;>
+
+
+<!-- ======================= -->
+<!-- Child elements of logic -->
+<!-- ======================= -->
+<!-- TODO -->
+<!ELEMENT block (field*, import-field*)>
+<!-- name: A unique ID (name) for the widget. No blocks can share the same 
+       name without causing namespace collisions in user triggers. -->
+<!ATTLIST block name ID #REQUIRED>
+<!-- datasource: The name of a datasource (defined in by a {<datasource>} tag) 
+       that provides this block with it's data. -->
+<!ATTLIST block datasource IDREF #IMPLIED>
+<!-- restrictDelete: If set then the user will be unable to request that a 
+       record be deleted via the user interface. -->
+<!ATTLIST block restrictDelete %boolean;>
+<!-- restrictInsert: If set then the user will be unable to request that new 
+       records be inserted into the block. -->
+<!ATTLIST block restrictInsert %boolean;>
+<!-- rowSpacer: Adjusts the vertical gap of this number of rows between 
+       duplicated widgets. Serves the same purpose as some of the gap 
+       attributes on individual widgets. -->
+<!ATTLIST block rowSpacer %whole; #IMPLIED>
+<!-- rows: Any widgets inside the block will display this number of copies in 
+       a verticle column. Simulates a grid entry system. -->
+<!ATTLIST block rows %whole; #IMPLIED>
+<!-- transparent: If set, then you can tab out of the block via next- or 
+       previous-field events. Makes navigation in multiblock forms easier. If 
+       false, focus stays within a block until user explicitly moves to 
+       another block -->
+<!ATTLIST block transparent %boolean;>
+
+<!-- TODO -->
+<!ELEMENT import-block EMPTY>
+<!-- name: A unique ID (name) for the widget. No blocks can share the same 
+       name without causing namespace collisions in user triggers. -->
+<!ATTLIST import-block name ID #REQUIRED>
+<!ATTLIST import-block library %name; #REQUIRED>
+<!-- datasource: The name of a datasource (defined in by a {<datasource>} tag) 
+       that provides this block with it's data. -->
+<!ATTLIST import-block datasource IDREF #IMPLIED>
+<!-- restrictDelete: If set then the user will be unable to request that a 
+       record be deleted via the user interface. -->
+<!ATTLIST import-block restrictDelete %boolean;>
+<!-- restrictInsert: If set then the user will be unable to request that new 
+       records be inserted into the block. -->
+<!ATTLIST import-block restrictInsert %boolean;>
+<!-- rowSpacer: Adjusts the vertical gap of this number of rows between 
+       duplicated widgets. Serves the same purpose as some of the gap 
+       attributes on individual widgets. -->
+<!ATTLIST import-block rowSpacer %whole; #IMPLIED>
+<!-- rows: Any widgets inside the block will display this number of copies in 
+       a verticle column. Simulates a grid entry system. -->
+<!ATTLIST import-block rows %whole; #IMPLIED>
+<!-- transparent: If set, then you can tab out of the block via next- or 
+       previous-field events. Makes navigation in multiblock forms easier. If 
+       false, focus stays within a block until user explicitly moves to 
+       another block -->
+<!ATTLIST import-block transparent %boolean;>
+
+
 <!-- ========================= -->
 <!-- Child elements of options -->
 <!-- ========================= -->
@@ -245,14 +367,7 @@
 <!-- value: TODO -->
 <!ATTLIST version value %text; #IMPLIED>
 
-<!-- DEPRECATED: Use of the <width> element has been deprecated [Use the 
-                 <form> attribute "width" instead.] -->
-<!-- TODO -->
-<!ELEMENT width EMPTY>
-<!ATTLIST width name %name; #FIXED "width">
-<!ATTLIST width value %text; #IMPLIED>
 
-
 <!-- =========================== -->
 <!-- Child elements of condition -->
 <!-- =========================== -->
@@ -302,6 +417,256 @@
 <!ELEMENT staticsetrow (staticsetfield*)>
 
 
+<!-- ====================== -->
+<!-- Child elements of page -->
+<!-- ====================== -->
+<!-- TODO -->
+<!ELEMENT box EMPTY>
+<!-- focusorder: TODO -->
+<!ATTLIST box focusorder %whole; #IMPLIED>
+<!-- label: An optional text label that will be displayed on the border. -->
+<!ATTLIST box label %text; #IMPLIED>
+<!-- name: TODO -->
+<!ATTLIST box name ID #IMPLIED>
+
+<!-- TODO -->
+<!ELEMENT button EMPTY>
+<!-- block: The (optional) name of the block that this ties to. If a button is 
+       associated with a block, then the button honors the block's rows= 
+       value. -->
+<!ATTLIST button block IDREF #IMPLIED>
+<!-- focusorder: TODO -->
+<!ATTLIST button focusorder %whole; #IMPLIED>
+<!-- label: The text that should appear on the button -->
+<!ATTLIST button label %name; #IMPLIED>
+<!-- name: A unique ID for the widget. Useful for importable buttons. -->
+<!ATTLIST button name ID #IMPLIED>
+
+<!-- TODO -->
+<!ELEMENT component EMPTY>
+<!-- block: The name of the block that this ties to. -->
+<!ATTLIST component block IDREF #REQUIRED>
+<!-- field: The name of the field that this ties to. -->
+<!ATTLIST component field IDREF #REQUIRED>
+<!-- mimetype: TODO -->
+<!ATTLIST component mimetype %name; #REQUIRED>
+<!-- focusorder: TODO -->
+<!ATTLIST component focusorder %whole; #IMPLIED>
+<!-- name: TODO -->
+<!ATTLIST component name ID #IMPLIED>
+<!-- type: TODO -->
+<!ATTLIST component type (Base64 | URL) "URL">
+
+<!-- An {entry} is the visual counterpart to a {field}. -->
+<!ELEMENT entry EMPTY>
+<!-- block: The name of the block that this ties to. -->
+<!ATTLIST entry block IDREF #REQUIRED>
+<!-- field: The name of the field that this ties to. -->
+<!ATTLIST entry field IDREF #REQUIRED>
+<!-- displaymask: TODO -->
+<!ATTLIST entry displaymask %text; #IMPLIED>
+<!-- focusorder: TODO -->
+<!ATTLIST entry focusorder %whole; #IMPLIED>
+<!-- formatmask: TODO -->
+<!ATTLIST entry formatmask %text; #IMPLIED>
+<!-- hidden: If defined the entry widget will not be displayed on the form. 
+       This is usefull for fields the user doesn't need to know about that you 
+       wish to update via triggers. -->
+<!ATTLIST entry hidden %boolean;>
+<!-- inputmask: TODO -->
+<!ATTLIST entry inputmask %text; #IMPLIED>
+<!-- label: The optional label displayed next to checkbox. -->
+<!ATTLIST entry label %text; #IMPLIED>
+<!-- name: The unique ID of the entry. -->
+<!ATTLIST entry name ID #IMPLIED>
+<!-- navigable: If false, the user will be unable to navigate to this entry. 
+       Triggers can still alter the value. -->
+<!ATTLIST entry navigable %boolean;>
+<!-- rowSpacer: TODO -->
+<!ATTLIST entry rowSpacer %whole; #IMPLIED>
+<!-- rows: TODO -->
+<!ATTLIST entry rows %whole; #IMPLIED>
+<!-- style: The style of entry widget requested. Currently either {text}, 
+       {label}, {checkbox}, or {dropdown}. To use {dropdown} you are required 
+       to use both the {fk_source}, {fk_key}, and {fk_description} attributes. 
+       The {label} style implies the {readonly} attribute. -->
+<!ATTLIST entry style (checkbox | default | dropdown | label | password) 
+                       "default">
+
+<!-- TODO -->
+<!ELEMENT image EMPTY>
+<!-- block: The name of the block that this ties to. -->
+<!ATTLIST image block IDREF #REQUIRED>
+<!-- field: The name of the field that this ties to. -->
+<!ATTLIST image field IDREF #REQUIRED>
+<!-- focusorder: TODO -->
+<!ATTLIST image focusorder %whole; #IMPLIED>
+<!-- name: TODO -->
+<!ATTLIST image name ID #IMPLIED>
+<!-- type: TODO -->
+<!ATTLIST image type (PIL | URL) "URL">
+
+<!-- TODO -->
+<!ELEMENT import-button EMPTY>
+<!ATTLIST import-button library %name; #REQUIRED>
+<!-- block: The (optional) name of the block that this ties to. If a button is 
+       associated with a block, then the button honors the block's rows= 
+       value. -->
+<!ATTLIST import-button block IDREF #IMPLIED>
+<!-- focusorder: TODO -->
+<!ATTLIST import-button focusorder %whole; #IMPLIED>
+<!-- label: The text that should appear on the button -->
+<!ATTLIST import-button label %name; #IMPLIED>
+<!-- name: A unique ID for the widget. Useful for importable buttons. -->
+<!ATTLIST import-button name ID #IMPLIED>
+
+<!-- TODO -->
+<!ELEMENT label EMPTY>
+<!-- text: The text to be displayed. -->
+<!ATTLIST label text %text; #REQUIRED>
+<!-- alignment: The justification of the label. Can be one of the following: 
+       {left}, {right}, or {center}. Requires that the {width} attribute be 
+       set. -->
+<!ATTLIST label alignment (center | left | right) "left">
+<!-- name: The unique ID of the label. -->
+<!ATTLIST label name ID #IMPLIED>
+<!-- rowSpacer: Overriders the rowSpace setting defined at the block level. 
+       -->
+<!ATTLIST label rowSpacer %whole; #IMPLIED>
+<!-- rows: Overrides the rows setting defined at the block level. -->
+<!ATTLIST label rows %whole; #IMPLIED>
+
+<!-- TODO -->
+<!ELEMENT scrollbar EMPTY>
+<!-- block: The {block} to which this scrollbar scrolls. -->
+<!ATTLIST scrollbar block IDREF #REQUIRED>
+<!-- name: TODO -->
+<!ATTLIST scrollbar name ID #IMPLIED>
+
+
+<!-- ======================= -->
+<!-- Child elements of block -->
+<!-- ======================= -->
+<!-- TODO -->
+<!ELEMENT field EMPTY>
+<!-- name: The unique ID of the entry. Referenced in master/detail setups as 
+       well as triggers. -->
+<!ATTLIST field name ID #REQUIRED>
+<!-- case: TODO -->
+<!ATTLIST field case (lower | mixed | upper) "mixed">
+<!-- default: The default value for any new records created. If the field is 
+       visible the user can override the value. -->
+<!ATTLIST field default %text; #IMPLIED>
+<!-- defaultToLast: If true, then new records will default to the last value 
+       the user entered for this field. If no new values have been entered, 
+       then defaults back to the normal {default} setting. -->
+<!ATTLIST field defaultToLast %boolean;>
+<!-- editOnNull: TODO -->
+<!ATTLIST field editOnNull %boolean;>
+<!-- field: The name of the field in the datasource to which this widget is 
+       tied. -->
+<!ATTLIST field field %name; #IMPLIED>
+<!-- fk_description: TODO -->
+<!ATTLIST field fk_description %name; #IMPLIED>
+<!-- fk_key: TODO -->
+<!ATTLIST field fk_key %name; #IMPLIED>
+<!-- fk_refresh: TODO -->
+<!ATTLIST field fk_refresh (change | commit | startup) "startup">
+<!-- fk_source: TODO -->
+<!ATTLIST field fk_source IDREF #IMPLIED>
+<!-- ignoreCaseOnQuery: If defined the entry widget ignores the case of the 
+       information entered into the query mask. -->
+<!ATTLIST field ignoreCaseOnQuery %boolean;>
+<!-- ltrim: Trim extraneous space at beginning of user input. -->
+<!ATTLIST field ltrim %boolean;>
+<!-- max_length: The maximum number of characters the user is allowed to enter 
+       into the entry. -->
+<!ATTLIST field max_length %whole; #IMPLIED>
+<!-- min_length: The minimum number of characters the user must enter into the 
+       entry. -->
+<!ATTLIST field min_length %whole; "0">
+<!-- queryDefault: The form will be populated with this value automatically 
+       when a query is requested. If the field is visible the user can still 
+       override the value. -->
+<!ATTLIST field queryDefault %text; #IMPLIED>
+<!-- readonly: It defined the user will be unable to alter the contents of 
+       this entry. Triggers can still alter the value. -->
+<!ATTLIST field readonly %boolean;>
+<!-- required: This object cannot have an empty value prior to a commit. -->
+<!ATTLIST field required %boolean;>
+<!-- rtrim: Trim extraneous space at end of user input. -->
+<!ATTLIST field rtrim %boolean;>
+<!-- sloppyQuery: When set, whatever value the user enters for the query mask 
+       is rewritten with % between each character. Thus {example} would be 
+       queried as {%e%x%a%m%p%l%e%} -->
+<!ATTLIST field sloppyQuery %text; #IMPLIED>
+<!-- typecast: The type of data the entry widget will accept. Possible values 
+       are {text}, {number}, {date}. -->
+<!ATTLIST field typecast (date | number | text) "text">
+<!-- value: TODO -->
+<!ATTLIST field value %text; #IMPLIED>
+
+<!-- TODO -->
+<!ELEMENT import-field EMPTY>
+<!-- name: The unique ID of the entry. Referenced in master/detail setups as 
+       well as triggers. -->
+<!ATTLIST import-field name ID #REQUIRED>
+<!ATTLIST import-field library %name; #REQUIRED>
+<!-- case: TODO -->
+<!ATTLIST import-field case (lower | mixed | upper) "mixed">
+<!-- default: The default value for any new records created. If the field is 
+       visible the user can override the value. -->
+<!ATTLIST import-field default %text; #IMPLIED>
+<!-- defaultToLast: If true, then new records will default to the last value 
+       the user entered for this field. If no new values have been entered, 
+       then defaults back to the normal {default} setting. -->
+<!ATTLIST import-field defaultToLast %boolean;>
+<!-- editOnNull: TODO -->
+<!ATTLIST import-field editOnNull %boolean;>
+<!-- field: The name of the field in the datasource to which this widget is 
+       tied. -->
+<!ATTLIST import-field field %name; #IMPLIED>
+<!-- fk_description: TODO -->
+<!ATTLIST import-field fk_description %name; #IMPLIED>
+<!-- fk_key: TODO -->
+<!ATTLIST import-field fk_key %name; #IMPLIED>
+<!-- fk_refresh: TODO -->
+<!ATTLIST import-field fk_refresh (change | commit | startup) "startup">
+<!-- fk_source: TODO -->
+<!ATTLIST import-field fk_source IDREF #IMPLIED>
+<!-- ignoreCaseOnQuery: If defined the entry widget ignores the case of the 
+       information entered into the query mask. -->
+<!ATTLIST import-field ignoreCaseOnQuery %boolean;>
+<!-- ltrim: Trim extraneous space at beginning of user input. -->
+<!ATTLIST import-field ltrim %boolean;>
+<!-- max_length: The maximum number of characters the user is allowed to enter 
+       into the entry. -->
+<!ATTLIST import-field max_length %whole; #IMPLIED>
+<!-- min_length: The minimum number of characters the user must enter into the 
+       entry. -->
+<!ATTLIST import-field min_length %whole; "0">
+<!-- queryDefault: The form will be populated with this value automatically 
+       when a query is requested. If the field is visible the user can still 
+       override the value. -->
+<!ATTLIST import-field queryDefault %text; #IMPLIED>
+<!-- readonly: It defined the user will be unable to alter the contents of 
+       this entry. Triggers can still alter the value. -->
+<!ATTLIST import-field readonly %boolean;>
+<!-- required: This object cannot have an empty value prior to a commit. -->
+<!ATTLIST import-field required %boolean;>
+<!-- rtrim: Trim extraneous space at end of user input. -->
+<!ATTLIST import-field rtrim %boolean;>
+<!-- sloppyQuery: When set, whatever value the user enters for the query mask 
+       is rewritten with % between each character. Thus {example} would be 
+       queried as {%e%x%a%m%p%l%e%} -->
+<!ATTLIST import-field sloppyQuery %text; #IMPLIED>
+<!-- typecast: The type of data the entry widget will accept. Possible values 
+       are {text}, {number}, {date}. -->
+<!ATTLIST import-field typecast (date | number | text) "text">
+<!-- value: TODO -->
+<!ATTLIST import-field value %text; #IMPLIED>
+
+
 <!-- ===================== -->
 <!-- Child elements of and -->
 <!-- ===================== -->
@@ -317,6 +682,7 @@
 
 <!ELEMENT cconst EMPTY>
 <!ATTLIST cconst value %text; #REQUIRED>
+<!ATTLIST cconst type %text; #IMPLIED>
 
 <!ELEMENT cfield EMPTY>
 <!ATTLIST cfield name %name; #REQUIRED>
@@ -340,5 +706,5 @@
 
 
 <!-- This DTD was created by gnuedtd
-     Updated: 2003-01-08 15:08:04   -->
+     Updated: 2004-03-31 01:35:00   -->
 

Modified: trunk/gnue-navigator/doc/gnue-navigator.dtd
===================================================================
--- trunk/gnue-navigator/doc/gnue-navigator.dtd 2004-03-30 23:00:33 UTC (rev 
5584)
+++ trunk/gnue-navigator/doc/gnue-navigator.dtd 2004-03-31 01:39:41 UTC (rev 
5585)
@@ -1,7 +1,7 @@
-<!-- GNUe Navigator DTD (Version 0.0.1a) -->
+<!-- GNUe-Navigator DTD (Version 0.0.6.99) -->
 
 <!--
-     Copyright 2001-2002 Free Software Foundation
+     Copyright 2001-2004 Free Software Foundation
 
      This file is part of GNU Enterprise.
 
@@ -41,7 +41,7 @@
 <!-- Top level element -->
 <!-- ================= -->
 <!ELEMENT processes (import-process*, process*)>
-<!ATTLIST processes title %text; #DEFAULT "Untitled Menu">
+<!ATTLIST processes title %text; "Untitled Menu">
 
 
 <!-- =========================== -->
@@ -52,7 +52,7 @@
 <!ATTLIST import-process id ID #IMPLIED>
 <!ATTLIST import-process title %text; #IMPLIED>
 
-<!ELEMENT process (import-process*, process*, step*)>
+<!ELEMENT process (description*, import-process*, process*, step*)>
 <!ATTLIST process id ID #IMPLIED>
 <!ATTLIST process title %text; #IMPLIED>
 
@@ -60,7 +60,9 @@
 <!-- ========================= -->
 <!-- Child elements of process -->
 <!-- ========================= -->
-<!ELEMENT step EMPTY>
+<!ELEMENT description EMPTY>
+
+<!ELEMENT step (description*)>
 <!ATTLIST step type (app | form | report) #IMPLIED>
 <!ATTLIST step id ID #IMPLIED>
 <!ATTLIST step location %text; #IMPLIED>
@@ -68,5 +70,5 @@
 
 
 <!-- This DTD was created by gnuedtd
-     Updated: 2002-07-15 14:56:27   -->
+     Updated: 2004-03-31 01:35:01   -->
 

Modified: trunk/gnue-reports/doc/gnue-reports.dtd
===================================================================
--- trunk/gnue-reports/doc/gnue-reports.dtd     2004-03-30 23:00:33 UTC (rev 
5584)
+++ trunk/gnue-reports/doc/gnue-reports.dtd     2004-03-31 01:39:41 UTC (rev 
5585)
@@ -1,7 +1,7 @@
-<!-- GNUe Reports DTD (Version 0.0.2a) -->
+<!-- GNUe Reports DTD (Version 0.1.0.99) -->
 
 <!--
-     Copyright 2001-2002 Free Software Foundation
+     Copyright 2001-2004 Free Software Foundation
 
      This file is part of GNU Enterprise.
 
@@ -47,7 +47,8 @@
 <!-- ================= -->
 <!-- Top level element -->
 <!-- ================= -->
-<!ELEMENT report (layout, parameters?, sortoptions?, sources?)>
+<!ELEMENT report (import-trigger*, layout, parameters?, sortoptions?, 
+                  sources?, trigger*)>
 <!ATTLIST report author %text; #IMPLIED>
 <!ATTLIST report description %text; #IMPLIED>
 <!ATTLIST report title %text; #IMPLIED>
@@ -57,6 +58,13 @@
 <!-- ======================== -->
 <!-- Child elements of report -->
 <!-- ======================== -->
+<!ELEMENT import-trigger EMPTY>
+<!ATTLIST import-trigger library %name; #REQUIRED>
+<!ATTLIST import-trigger language %name; #FIXED "python">
+<!ATTLIST import-trigger name ID #IMPLIED>
+<!ATTLIST import-trigger src IDREF #IMPLIED>
+<!ATTLIST import-trigger type CDATA #IMPLIED>
+
 <!ELEMENT layout (param*, section+, summ*, #PCDATA)>
 <!ATTLIST layout format %text; #IMPLIED>
 <!ATTLIST layout suppressGNUeTags %boolean;>
@@ -65,9 +73,15 @@
 
 <!ELEMENT sortoptions (sortoption*)>
 
-<!ELEMENT sources (datasource*)>
+<!ELEMENT sources (connection*, datasource*, import-datasource*)>
 
+<!ELEMENT trigger EMPTY>
+<!ATTLIST trigger language %name; #FIXED "python">
+<!ATTLIST trigger name ID #IMPLIED>
+<!ATTLIST trigger src IDREF #IMPLIED>
+<!ATTLIST trigger type CDATA #IMPLIED>
 
+
 <!-- ======================== -->
 <!-- Child elements of layout -->
 <!-- ======================== -->
@@ -83,7 +97,7 @@
 <!ELEMENT summ EMPTY>
 <!ATTLIST summ field %name; #IMPLIED>
 <!ATTLIST summ format %name; #IMPLIED>
-<!ATTLIST summ function %name; #DEFAULT "count">
+<!ATTLIST summ function %name; "count">
 <!ATTLIST summ name %name; #IMPLIED>
 <!ATTLIST summ section %name; #IMPLIED>
 
@@ -98,7 +112,7 @@
 <!ATTLIST parameter limited %boolean;>
 <!ATTLIST parameter required %boolean;>
 <!ATTLIST parameter source %name; #IMPLIED>
-<!ATTLIST parameter type %name; #DEFAULT "char">
+<!ATTLIST parameter type %name; "char">
 
 
 <!-- ============================= -->
@@ -113,19 +127,59 @@
 <!-- ========================= -->
 <!-- Child elements of sources -->
 <!-- ========================= -->
-<!ELEMENT datasource (conditions?)>
+<!-- TODO -->
+<!ELEMENT connection EMPTY>
+<!-- name: TODO -->
+<!ATTLIST connection name ID #REQUIRED>
+<!-- provider: TODO -->
+<!ATTLIST connection provider %name; #REQUIRED>
+<!-- comment: TODO -->
+<!ATTLIST connection comment %text; #IMPLIED>
+<!-- dbname: TODO -->
+<!ATTLIST connection dbname %text; #IMPLIED>
+<!-- host: TODO -->
+<!ATTLIST connection host %text; #IMPLIED>
+<!-- service: TODO -->
+<!ATTLIST connection service %text; #IMPLIED>
+
+<!ELEMENT datasource (condition*, staticset*)>
 <!ATTLIST datasource name ID #REQUIRED>
-<!ATTLIST datasource cache %whole; #DEFAULT "5">
+<!ATTLIST datasource cache %whole; "5">
+<!ATTLIST datasource connection %name; #IMPLIED>
+<!-- DEPRECATED: The "database" attribute of "datasource" has been deprecated 
+                 [Use {connection} attribute instead] -->
 <!ATTLIST datasource database %name; #IMPLIED>
 <!ATTLIST datasource detaillink %text; #IMPLIED>
+<!ATTLIST datasource distinct %boolean;>
+<!ATTLIST datasource explicitfields %text; #IMPLIED>
 <!ATTLIST datasource master %name; #IMPLIED>
 <!ATTLIST datasource masterlink %text; #IMPLIED>
 <!ATTLIST datasource order_by %text; #IMPLIED>
 <!ATTLIST datasource prequery %boolean;>
+<!ATTLIST datasource primarykey %text; #IMPLIED>
 <!ATTLIST datasource table %name; #IMPLIED>
-<!ATTLIST datasource type %name; #DEFAULT "object">
+<!ATTLIST datasource type %name; "object">
 
+<!ELEMENT import-datasource EMPTY>
+<!ATTLIST import-datasource name ID #REQUIRED>
+<!ATTLIST import-datasource library %name; #REQUIRED>
+<!ATTLIST import-datasource cache %whole; "5">
+<!ATTLIST import-datasource connection %name; #IMPLIED>
+<!-- DEPRECATED: The "database" attribute of "import-datasource" has been 
+                 deprecated [Use {connection} attribute instead] -->
+<!ATTLIST import-datasource database %name; #IMPLIED>
+<!ATTLIST import-datasource detaillink %text; #IMPLIED>
+<!ATTLIST import-datasource distinct %boolean;>
+<!ATTLIST import-datasource explicitfields %text; #IMPLIED>
+<!ATTLIST import-datasource master %name; #IMPLIED>
+<!ATTLIST import-datasource masterlink %text; #IMPLIED>
+<!ATTLIST import-datasource order_by %text; #IMPLIED>
+<!ATTLIST import-datasource prequery %boolean;>
+<!ATTLIST import-datasource primarykey %text; #IMPLIED>
+<!ATTLIST import-datasource table %name; #IMPLIED>
+<!ATTLIST import-datasource type %name; "object">
 
+
 <!-- ========================= -->
 <!-- Child elements of section -->
 <!-- ========================= -->
@@ -156,21 +210,20 @@
 <!-- ============================ -->
 <!-- Child elements of datasource -->
 <!-- ============================ -->
-<!ELEMENT conditions (condition*)>
+<!ELEMENT condition (and*, between*, eq*, ge*, gt*, le*, like*, lt*, ne*, 
+                     negate*, not*, notbetween*, notlike*, notnull*, null*, 
+                     or*)>
 
+<!ELEMENT staticset (staticsetrow*)>
+<!ATTLIST staticset fields %text; #REQUIRED>
 
-<!-- ============================ -->
-<!-- Child elements of conditions -->
-<!-- ============================ -->
-<!ELEMENT condition (and*, between*, eq*, ge*, gt*, le*, like*, lt*, ne*, 
-                     negate*, not*, notbetween*, notlike*, or*)>
 
-
 <!-- =========================== -->
 <!-- Child elements of condition -->
 <!-- =========================== -->
-<!ELEMENT and (and*, between*, condition*, eq*, ge*, gt*, le*, like*, lt*, 
-               ne*, negate*, not*, notbetween*, notlike*, or*)>
+<!ELEMENT and (and*, between*, conditions*, eq*, ge*, gt*, le*, like*, lt*, 
+               ne*, negate*, not*, notbetween*, notlike*, notnull*, null*, 
+               or*)>
 
 <!ELEMENT between (add*, cconst*, cfield*, cparam*, div*, mul*, sub*)>
 
@@ -188,20 +241,40 @@
 
 <!ELEMENT ne (add*, cconst*, cfield*, cparam*, div*, mul*, sub*)>
 
-<!ELEMENT negate (and*, between*, condition*, eq*, ge*, gt*, le*, like*, lt*, 
+<!ELEMENT negate (and*, between*, conditions*, eq*, ge*, gt*, le*, like*, lt*, 
                   ne*, negate*, not*, notbetween*, notlike*, or*)>
 
-<!ELEMENT not (and*, between*, condition*, eq*, ge*, gt*, le*, like*, lt*, 
-               ne*, negate*, not*, notbetween*, notlike*, or*)>
+<!ELEMENT not (and*, between*, conditions*, eq*, ge*, gt*, le*, like*, lt*, 
+               ne*, negate*, not*, notbetween*, notlike*, notnull*, null*, 
+               or*)>
 
 <!ELEMENT notbetween (add*, cconst*, cfield*, cparam*, div*, mul*, sub*)>
 
 <!ELEMENT notlike (add*, cconst*, cfield*, cparam*, div*, mul*, sub*)>
 
-<!ELEMENT or (and*, between*, condition*, eq*, ge*, gt*, le*, like*, lt*, ne*, 
-              negate*, not*, notbetween*, notlike*, or*)>
+<!ELEMENT notnull EMPTY>
 
+<!ELEMENT null EMPTY>
 
+<!ELEMENT or (and*, between*, conditions*, eq*, ge*, gt*, le*, like*, lt*, 
+              ne*, negate*, not*, notbetween*, notlike*, notnull*, null*, 
+              or*)>
+
+
+<!-- =========================== -->
+<!-- Child elements of staticset -->
+<!-- =========================== -->
+<!ELEMENT staticsetrow (staticsetfield*)>
+
+
+<!-- ===================== -->
+<!-- Child elements of and -->
+<!-- ===================== -->
+<!-- DEPRECATED: Use of the <conditions> element has been deprecated [Use the 
+                 <condition> tag instead.] -->
+<!ELEMENT conditions (conditions*)>
+
+
 <!-- ========================= -->
 <!-- Child elements of between -->
 <!-- ========================= -->
@@ -209,6 +282,7 @@
 
 <!ELEMENT cconst EMPTY>
 <!ATTLIST cconst value %text; #REQUIRED>
+<!ATTLIST cconst type %text; #IMPLIED>
 
 <!ELEMENT cfield EMPTY>
 <!ATTLIST cfield name %name; #REQUIRED>
@@ -223,6 +297,14 @@
 <!ELEMENT sub (add*, cconst*, cfield*, cparam*, div*, mul*, sub*)>
 
 
+<!-- ============================== -->
+<!-- Child elements of staticsetrow -->
+<!-- ============================== -->
+<!ELEMENT staticsetfield EMPTY>
+<!ATTLIST staticsetfield name %text; #REQUIRED>
+<!ATTLIST staticsetfield value %text; #REQUIRED>
+
+
 <!-- This DTD was created by gnuedtd
-     Updated: 2002-07-15 14:56:27   -->
+     Updated: 2004-03-31 01:35:01   -->
 





reply via email to

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