mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-05-31 09:11:11 +00:00
2002-01-26 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWeb.framework/GSWSwitchComponent.m: o logs o corected bug: use GSWComponentName__Key[] * GSWeb.framework/GSWSession.m: o logs * GSWExtensions.framework/GSWExtensions.m: o added better formatting * GSWExtensions.framework/GSWExtensions.gswc/GSWExtensions.HTML: o added better formatting * GSWExtensions.framework/French.lproj/GSWExtensions.gswc/GSWExtensions.HTML: o added better formatting * GSWExtensionsGSW.framework/GSWLogin.m: o added -login exception cataching to add exception verbosity. * GSWeb.framework/GSWDynamicElement.m/.h: o logs o added ivar _definitionName and associated methods * GSWeb.framework/GSWElement.m/.h: o added ivar -definitionName * GSWeb.framework/GSWTemplateParserANTLR.m: o set dynamic element definition name * GSWeb.framework/GSWTemplateParserXML.m: o set dynamic element definition name * GSWeb.framework/GSWConditional.m: o logs * GSWeb.framework/GSWComponent.m: o logs o remove GDL2 code in -valueForBinding: and setValue:forBinding: I don't see a reason for this code and it may make a loop * GSWeb.framework/GSWAssociation.m: o logs o Fix in validateValue:forKeyPath: test & call * GSWeb.framework/GSWDisplayGroup.m: o logs * GSWeb.framework/GSWBundle.m: o logs * GSWeb.framework/GSWImageButton.m: o logs (element definition name) * GSWeb.framework/GSWForm.m: o logs (element definition name) o stop invokeActionForRequest:inContext: when the current Id is after senderID * GSWeb.framework: GSWElementIDString.m o added -compare:options:range: * GSWeb.framework: GSWHTMLDynamicElement.m o stop invokeActionForRequest:inContext: when the current Id is after senderID * GSWeb.framework: GSWHTMLStaticElement.m o stop invokeActionForRequest:inContext: when the current Id is after senderID * GSWExtensions.framework/WebServerResources: o converted .gif to .png * GSWeb.framework/GSWUtils.m: o removed members in NSUserDefaults description git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@12219 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bb8d9887cd
commit
7976caba68
50 changed files with 1121 additions and 619 deletions
|
@ -103,6 +103,13 @@ static char rcsId[] = "$Id$";
|
|||
NSDebugMLLog(@"gswdync",@"elementID=%@",[context_ elementID]);
|
||||
if (_negate)
|
||||
_doIt=!_doIt;
|
||||
NSDebugMLLog(@"gswdync",@"defname=%@ condition=%@ negate=%@ evaluatedCondition=%s evaluatedNegate=%s _doIt=%s",
|
||||
[self definitionName],
|
||||
condition,
|
||||
negate,
|
||||
(_condition ? "YES" : "NO"),
|
||||
(_negate ? "YES" : "NO"),
|
||||
(_doIt ? "YES" : "NO"));
|
||||
if (_doIt)
|
||||
{
|
||||
GSWRequest* _request=[context_ request];
|
||||
|
@ -118,7 +125,7 @@ static char rcsId[] = "$Id$";
|
|||
|
||||
//--------------------------------------------------------------------
|
||||
-(GSWElement*)invokeActionForRequest:(GSWRequest*)request_
|
||||
inContext:(GSWContext*)context_
|
||||
inContext:(GSWContext*)context_
|
||||
{
|
||||
//OK
|
||||
GSWElement* _element=nil;
|
||||
|
@ -129,24 +136,30 @@ static char rcsId[] = "$Id$";
|
|||
NSDebugMLLog(@"gswdync",@"ET=%@ id=%@ senderId=%@",[self class],[context_ elementID],[context_ senderID]);
|
||||
GSWAssertCorrectElementID(context_);// Debug Only
|
||||
_condition=[self evaluateCondition:condition
|
||||
inContext:context_];
|
||||
inContext:context_];
|
||||
_negate=[self evaluateCondition:negate
|
||||
inContext:context_];
|
||||
inContext:context_];
|
||||
_doIt=_condition;
|
||||
if (_negate)
|
||||
_doIt=!_doIt;
|
||||
NSDebugMLLog(@"gswdync",@"_doIt=%s",_doIt ? "YES" : "NO");
|
||||
_doIt=!_doIt;
|
||||
NSDebugMLLog(@"gswdync",@"defname=%@ condition=%@ negate=%@ evaluatedCondition=%s evaluatedNegate=%s _doIt=%s",
|
||||
[self definitionName],
|
||||
condition,
|
||||
negate,
|
||||
(_condition ? "YES" : "NO"),
|
||||
(_negate ? "YES" : "NO"),
|
||||
(_doIt ? "YES" : "NO"));
|
||||
if (_doIt)
|
||||
{
|
||||
GSWRequest* _request=[context_ request];
|
||||
BOOL _isFromClientComponent=[_request isFromClientComponent];
|
||||
[context_ appendZeroElementIDComponent];
|
||||
NSDebugMLLog(@"gswdync",@"childrenGroup=%@",childrenGroup);
|
||||
_element=[childrenGroup invokeActionForRequest:request_
|
||||
inContext:context_];
|
||||
NSDebugMLLog(@"gswdync",@"_element=%@",_element);
|
||||
[context_ deleteLastElementIDComponent];
|
||||
};
|
||||
{
|
||||
GSWRequest* _request=[context_ request];
|
||||
BOOL _isFromClientComponent=[_request isFromClientComponent];
|
||||
[context_ appendZeroElementIDComponent];
|
||||
NSDebugMLLog(@"gswdync",@"childrenGroup=%@",childrenGroup);
|
||||
_element=[childrenGroup invokeActionForRequest:request_
|
||||
inContext:context_];
|
||||
NSDebugMLLog(@"gswdync",@"_element=%@",_element);
|
||||
[context_ deleteLastElementIDComponent];
|
||||
};
|
||||
NSDebugMLLog(@"gswdync",@"END ET=%@ id=%@",[self class],[context_ elementID]);
|
||||
LOGObjectFnStop();
|
||||
return _element;
|
||||
|
@ -172,7 +185,13 @@ static char rcsId[] = "$Id$";
|
|||
_doIt=_condition;
|
||||
if (_negate)
|
||||
_doIt=!_doIt;
|
||||
NSDebugMLLog(@"gswdync",@"_doIt=%s",_doIt ? "YES" : "NO");
|
||||
NSDebugMLLog(@"gswdync",@"defname=%@ condition=%@ negate=%@ evaluatedCondition=%s evaluatedNegate=%s _doIt=%s",
|
||||
[self definitionName],
|
||||
condition,
|
||||
negate,
|
||||
(_condition ? "YES" : "NO"),
|
||||
(_negate ? "YES" : "NO"),
|
||||
(_doIt ? "YES" : "NO"));
|
||||
if (_doIt)
|
||||
{
|
||||
GSWRequest* _request=[context_ request];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue