[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r6799 - trunk/gnue-forms/src
From: |
kilo |
Subject: |
r6799 - trunk/gnue-forms/src |
Date: |
Fri, 10 Dec 2004 07:27:14 -0600 (CST) |
Author: kilo
Date: 2004-12-10 07:27:13 -0600 (Fri, 10 Dec 2004)
New Revision: 6799
Modified:
trunk/gnue-forms/src/GFClient.py
Log:
Enable Forms to run Reports with runReport
Modified: trunk/gnue-forms/src/GFClient.py
===================================================================
--- trunk/gnue-forms/src/GFClient.py 2004-12-10 11:14:12 UTC (rev 6798)
+++ trunk/gnue-forms/src/GFClient.py 2004-12-10 13:27:13 UTC (rev 6799)
@@ -37,7 +37,15 @@
from gnue.forms.GFConfig import ConfigOptions
from gnue.forms.uidrivers._base import Exceptions
+try:
+ from gnue.reports.base.GRConfig import ConfigOptions as ReportsConfigOptions
+ REPORTS_SUPPORT = True
+
+except:
+ REPORTS_SUPPORT = False
+
+
# =============================================================================
# GNU Enterprise Forms Client
# =============================================================================
@@ -73,7 +81,12 @@
GClientApp.__init__(self, connections, 'forms', ConfigOptions)
self.configurationManager.registerAlias ('gConfigForms', 'forms')
+ if REPORTS_SUPPORT:
+ self.configurationManager.loadApplicationConfig (section = "reports",
+ defaults = ReportsConfigOptions)
+ self.configurationManager.registerAlias ('gConfigReports', 'reports')
+
# ---------------------------------------------------------------------------
# Run the client application
# ---------------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r6799 - trunk/gnue-forms/src,
kilo <=