Monotone-Parent: 85d881f3ccf755097f7f86f1eb0e9adea989feab

Monotone-Revision: 2e8ad34005721407e216ea0f211d634d0dcc3e72

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-08-25T20:45:16
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2006-08-25 20:45:16 +00:00
parent fb6b67a8dc
commit a24b1bb7b6
3 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-08-25 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Common/UIxPageFrame.m ([UIxPageFrame -productFrameworkName]):
returns the bundle name associated to the current running product.
2006-08-24 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/WebServerResources/UIxAppointmentEditor.js: fixed the AJAX

View File

@ -45,6 +45,8 @@
- (BOOL) hasPageSpecificCSS;
- (BOOL) hasProductSpecificCSS;
- (NSString *) productFrameworkName;
- (void) setPopup: (BOOL) popup;
- (BOOL) isPopup;

View File

@ -143,6 +143,15 @@
return [self urlForResourceFilename: fwJSFilename];
}
- (NSString *) productFrameworkName
{
WOComponent *page;
page = [[self context] page];
return [NSString stringWithFormat: @"%@.SOGo", [page frameworkName]];
}
- (BOOL) hasPageSpecificJavaScript
{
return ([[self pageJavaScriptURL] length] > 0);
@ -177,6 +186,11 @@
return [self urlForResourceFilename: fwJSFilename];
}
- (NSString *) thisPageURL
{
return [[[self context] page] uri];
}
- (BOOL) hasPageSpecificCSS
{
return ([[self pageCSSURL] length] > 0);