* GSWeb.framework/GSWComponentRequestHandler.m

([GSWComponentRequestHandler -lockedDispatchWithPreparedSession:
inContext:elements:]): do not 'clear' cookie if not enabled.
* GSWeb.framework/GSWComponent.m ([GSWComponent
-performParentAction:]): implemented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@8247 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mirko 2000-12-03 00:00:18 +00:00
parent a576fb03d7
commit 9e2d22bc63
3 changed files with 38 additions and 7 deletions

View file

@ -1,3 +1,11 @@
2000-12-03 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* GSWeb.framework/GSWComponentRequestHandler.m
([GSWComponentRequestHandler -lockedDispatchWithPreparedSession:
inContext:elements:]): do not 'clear' cookie if not enabled.
* GSWeb.framework/GSWComponent.m ([GSWComponent
-performParentAction:]): implemented.
2000-11-28 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* GSWeb.framework/GSWDisplayGroup.m ([GSWDisplayGroup

View file

@ -1170,10 +1170,31 @@ associationsKeys:(NSArray*)_associationsKeys
//--------------------------------------------------------------------
// performParentAction:
-(id)performParentAction:(NSString*)attribute
- (id)performParentAction:(NSString *)attribute
{
LOGObjectFnNotImplemented(); //TODOFN
return nil;
GSWAssociation *_assoc=nil;
id _ret=nil;
LOGObjectFnStart();
NSDebugMLLog(@"gswcomponents", @"parentBindingName_=%@", parentBindingName_);
NSDebugMLLog(@"gswcomponents", @"parent=%p", (void*)parent);
if (parent)
{
_assoc = [self _associationWithName:attribute];
NSDebugMLLog(@"gswcomponents", @"_assoc=%@", _assoc);
if(_assoc && [_assoc isValueConstant] == YES)
{
NSString *_value = [_assoc valueInComponent:self];
if(_value)
_ret = [parent performSelector:NSSelectorFromString(_value)];
}
}
LOGObjectFnStop();
return _ret;
};
//--------------------------------------------------------------------

View file

@ -287,11 +287,13 @@ static char rcsId[] = "$Id$";
//TODO method adds a header to the HTTP response. This header sets the expiration date for an HTML page to the date and time of the creation of the page. Later, when the browser checks its cache for this page, it finds that the page is no longer valid and so refetches it by resubmitting the request URL to the WebObjects application.
[_session _saveCurrentPage];
#if 0
if (!_contextID) // ??
{
if (![_session storesIDsInCookies])//??
[_session clearCookieFromResponse:_response];
};
{
if (![_session storesIDsInCookies])//??
[_session clearCookieFromResponse:_response];
};
#endif
};
NSDebugMLLog(@"requests",@"_response=%@",_response);
LOGObjectFnStop();