From dbe5566a03b1757a143a60af2d5179c0be161e5c Mon Sep 17 00:00:00 2001 From: helge Date: Tue, 22 Feb 2005 22:15:44 +0000 Subject: [PATCH] added container tag generator git-svn-id: http://svn.opengroupware.org/SOPE/trunk@589 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- .../Associations/WOResourceURLAssociation.m | 11 +- sope-appserver/NGObjWeb/ChangeLog | 11 ++ .../DynamicElements/WOxHTMLElemBuilder.m | 123 +++++++++++++----- .../NGObjWeb/NGObjWeb/WOxElemBuilder.h | 1 + .../NGObjWeb/SoObjects/SoComponent.m | 2 +- .../Templates/WOxTagClassElemBuilder.m | 22 ++-- sope-appserver/NGObjWeb/Version | 2 +- 7 files changed, 121 insertions(+), 51 deletions(-) diff --git a/sope-appserver/NGObjWeb/Associations/WOResourceURLAssociation.m b/sope-appserver/NGObjWeb/Associations/WOResourceURLAssociation.m index 81eee440..c2216da6 100644 --- a/sope-appserver/NGObjWeb/Associations/WOResourceURLAssociation.m +++ b/sope-appserver/NGObjWeb/Associations/WOResourceURLAssociation.m @@ -100,9 +100,11 @@ static BOOL doDebug = NO; WORequest *rq; id url; - if (doDebug) - [self debugWithFormat:@"lookup resource: %@", [self resourceName]]; - + if (doDebug) { + [self debugWithFormat:@"lookup resource: %@ in component %@", + [self resourceName], _component]; + } + if ((ctx = [_component context]) == nil) ctx = [[WOApplication application] context]; rq = [ctx request]; @@ -115,6 +117,9 @@ static BOOL doDebug = NO; if ((rm = [_component resourceManager]) == nil) { WOApplication *app; + + if (doDebug) + [self logWithFormat:@"component has no own resource manager!"]; if ((app = [ctx application]) == nil) app = [WOApplication application]; diff --git a/sope-appserver/NGObjWeb/ChangeLog b/sope-appserver/NGObjWeb/ChangeLog index 8aae22cf..5de3e360 100644 --- a/sope-appserver/NGObjWeb/ChangeLog +++ b/sope-appserver/NGObjWeb/ChangeLog @@ -1,3 +1,14 @@ +2005-02-22 Helge Hess + + * v4.5.119 + + * Templates/WOxTagClassElemBuilder.m: added some API to improve support + for subclassing + + * DynamicElements/WOxHTMLElemBuilder.m: added tag + which is suitable as a root tag for template, it only generates its + contents + 2005-02-17 Helge Hess * v4.5.118 diff --git a/sope-appserver/NGObjWeb/DynamicElements/WOxHTMLElemBuilder.m b/sope-appserver/NGObjWeb/DynamicElements/WOxHTMLElemBuilder.m index a9af77fa..23acf87c 100644 --- a/sope-appserver/NGObjWeb/DynamicElements/WOxHTMLElemBuilder.m +++ b/sope-appserver/NGObjWeb/DynamicElements/WOxHTMLElemBuilder.m @@ -51,6 +51,7 @@