From a0095e0b04ae66a3e40aa3f4f293cb5506eb65ef Mon Sep 17 00:00:00 2001 From: mguesdon Date: Mon, 1 Mar 2004 16:43:20 +0000 Subject: [PATCH] o added _pathQueryDictionary and _pathQueryDictionary handling git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18732 72102866-910b-0410-8b05-ffd578937521 --- GSWeb.framework/GSWHyperlink.h | 1 + GSWeb.framework/GSWHyperlink.m | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/GSWeb.framework/GSWHyperlink.h b/GSWeb.framework/GSWHyperlink.h index 962acac..d745dd9 100644 --- a/GSWeb.framework/GSWHyperlink.h +++ b/GSWeb.framework/GSWHyperlink.h @@ -63,6 +63,7 @@ GSWAssociation* _key; NSDictionary* _otherPathQueryAssociations; GSWAssociation* _urlPrefix; + GSWAssociation* _pathQueryDictionary; // } GSWElement* _children; }; diff --git a/GSWeb.framework/GSWHyperlink.m b/GSWeb.framework/GSWHyperlink.m index 16fd1d3..b8c2e35 100644 --- a/GSWeb.framework/GSWHyperlink.m +++ b/GSWeb.framework/GSWHyperlink.m @@ -78,6 +78,10 @@ RCS_ID("$Id$") withDefaultObject:[_queryDictionary autorelease]] retain]; NSDebugMLLog(@"gswdync",@"queryDictionary=%@",_queryDictionary); + _pathQueryDictionary = [[anAssociationsDict objectForKey:pathQueryDictionary__Key + withDefaultObject:[_pathQueryDictionary autorelease]] retain]; + NSDebugMLLog(@"gswdync",@"pathQueryDictionary=%@",_pathQueryDictionary); + _actionClass = [[anAssociationsDict objectForKey:actionClass__Key withDefaultObject:[_actionClass autorelease]] retain]; NSDebugMLLog(@"gswdync",@"actionClass=%@",_actionClass); @@ -153,6 +157,7 @@ RCS_ID("$Id$") [tmpOtherAssociations removeObjectForKey:mimeType__Key]; [tmpOtherAssociations removeObjectForKey:key__Key]; [tmpOtherAssociations removeObjectForKey:urlPrefix__Key]; + [tmpOtherAssociations removeObjectForKey:pathQueryDictionary__Key]; }; if (!WOStrictFlag) @@ -250,6 +255,7 @@ RCS_ID("$Id$") DESTROY(_mimeType); DESTROY(_key); DESTROY(_urlPrefix); + DESTROY(_pathQueryDictionary); DESTROY(_children); [super dealloc]; } @@ -542,6 +548,7 @@ RCS_ID("$Id$") NSDebugMLLog(@"gswdync",@"_directActionName=%@",_directActionName); actionString=[(GSWHTMLDynamicElement*)self computeActionStringWithActionClassAssociation:_actionClass directActionNameAssociation:_directActionName + pathQueryDictionaryAssociation:_pathQueryDictionary otherPathQueryAssociations:_otherPathQueryAssociations inContext:context]; NSDebugMLLog(@"gswdync",@"actionString=%@",actionString);