commit-gnue
[Top][All Lists]
Advanced

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

gnue/reports samples/foobulations/monthly.grd s...


From: Jason Cater
Subject: gnue/reports samples/foobulations/monthly.grd s...
Date: Fri, 05 Apr 2002 00:36:11 -0500

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/04/05 00:36:10

Modified files:
        reports/samples/foobulations: monthly.grd 
        reports/src    : GRLayout.py 

Log message:
        more work towards 0.0.1

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/reports/samples/foobulations/monthly.grd.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/reports/src/GRLayout.py.diff?cvsroot=OldCVS&tr1=1.15&tr2=1.16&r1=text&r2=text

Patches:
Index: gnue/reports/samples/foobulations/monthly.grd
diff -c gnue/reports/samples/foobulations/monthly.grd:1.2 
gnue/reports/samples/foobulations/monthly.grd:1.3
*** gnue/reports/samples/foobulations/monthly.grd:1.2   Thu Apr  4 18:38:20 2002
--- gnue/reports/samples/foobulations/monthly.grd       Fri Apr  5 00:36:10 2002
***************
*** 4,13 ****
    <parameters>
       <parameter name="subtitle" description="Report Subtitle"
                  default="Subtitle Not Provided"/>
    </parameters>
  
    <sources>
!    <datasource name="dtsFoo" table="foobulations"/>
    </sources>
  
    <layout xmlns:out="GNUe:Reports:UnsupportedSimple:0.0.1">
--- 4,17 ----
    <parameters>
       <parameter name="subtitle" description="Report Subtitle"
                  default="Subtitle Not Provided"/>
+      <parameter name="subtitle" description="Starting Date"
+                 default="Subtitle Not Provided"/>
+      <parameter name="subtitle" description="Ending Date"
+                 default="04/30/02"/>
    </parameters>
  
    <sources>
!    <datasource database="gnue" name="dtsFoo" table="foobulations"/>
    </sources>
  
    <layout xmlns:out="GNUe:Reports:UnsupportedSimple:0.0.1">
***************
*** 24,39 ****
          </out:tablehead>
  
          <section source="dtsFoo" name="nameBreak">
!           <out:col><field name="name" section="nameBreak"/></out:col>
!           <section>
!             <notFirstRow><out:col/></notFirstRow>
!             <out:col><field name="foodate"/></out:col>
!             <out:col><field name="foobs"/></out:col>
!           </section>
            <default>
!             <out:col>(No results to display)</out:col>
!             <out:col/>
!             <out:col/>
            </default>
          </section>
  
--- 28,47 ----
          </out:tablehead>
  
          <section source="dtsFoo" name="nameBreak">
!           <out:row>
!               <out:col><field name="name"/></out:col>
!             <section>
!               <notFirstRow><out:col/></notFirstRow>
!               <out:col><field name="foodate"/></out:col>
!               <out:col><field name="foobs"/></out:col>
!             </section>
!           </out:row>
            <default>
!             <out:row>
!               <out:col>(No results to display)</out:col>
!               <out:col/>
!               <out:col/>
!             </out:row>
            </default>
          </section>
  
Index: gnue/reports/src/GRLayout.py
diff -c gnue/reports/src/GRLayout.py:1.15 gnue/reports/src/GRLayout.py:1.16
*** gnue/reports/src/GRLayout.py:1.15   Thu Apr  4 18:38:20 2002
--- gnue/reports/src/GRLayout.py        Fri Apr  5 00:36:10 2002
***************
*** 242,247 ****
--- 242,251 ----
    def __init__(self, parent):
      ContainerElement.__init__(self, parent, 'GRSection')
  
+   def _buildObject(self):
+     if not hasattr(self,'name') or self.name == None:
+       self.name = id(self)
+     return ContainerElement._buildObject(self)
  
    # Retrieve the first row of data, if available.
    # Handle default data if no rows retrieved.



reply via email to

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