libs-gsweb/GSWeb.framework/GSWForm.m

534 lines
19 KiB
Mathematica
Raw Normal View History

2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
/** GSWForm.m - <title>GSWeb: Class GSWForm</title>
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
Copyright (C) 1999-2003 Free Software Foundation, Inc.
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
Date: Jan 1999
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
$Revision$
$Date$
This file is part of the GNUstep Web Library.
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
<license>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
</license>
**/
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
static const char rcsId[] = "$Id$";
#include <GSWeb/GSWeb.h>
//====================================================================
@implementation GSWForm
//--------------------------------------------------------------------
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
-(id)initWithName:(NSString*)aName
associations:(NSDictionary*)associations
contentElements:(NSArray*)elements
{
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
NSMutableDictionary* tmpAssociations=[NSMutableDictionary dictionaryWithDictionary:associations];
LOGObjectFnStartC("GSWForm");
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
NSDebugMLLog(@"gswdync",@"aName=%@ associations:%@ elements=%@",aName,associations,elements);
if (![tmpAssociations objectForKey:@"method"])
{
if ([tmpAssociations objectForKey:@"get"])
[tmpAssociations setObject:[GSWAssociation associationWithValue:@"get"]
forKey:@"method"];
else
[tmpAssociations setObject:[GSWAssociation associationWithValue:@"post"]
forKey:@"method"];
};
[tmpAssociations removeObjectForKey:action__Key];
[tmpAssociations removeObjectForKey:href__Key];
[tmpAssociations removeObjectForKey:multipleSubmit__Key];
[tmpAssociations removeObjectForKey:actionClass__Key];
if (_directActionName)
[tmpAssociations removeObjectForKey:_directActionName];
2001-03-11 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWWOCompatibility.h/.m: added * GSWeb.framework/GNUmakefile: added GSWWOCompatibility.h/.m * GSWeb.framework/GSWApplication.h/m: added WOApplicationMain, handle WO/GSWeb names * GSWeb.framework/GSWContext.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWConstants.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWDynamicURLString.m: handle WO/GSWeb names * GSWeb.framework/GSWProjectBundle.m/.h: handle WO/GSWeb names, suppress warnings * GSWeb.framework/GSWSession.m: handle WO/GSWeb names * GSWeb.framework/GSWRequest.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParser.m: handle WO/GSWeb names, added tag counts to help errors hunt * GSWeb.framework/GSWBundle.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWResourceManager.m: handle WO/GSWeb names * GSWeb.framework/GSWURLValuedElementData.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectAction.m: handle WO/GSWeb names * GSWeb.framework/GSWForm.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWHyperlink.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWResourceRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectActionRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWActiveImage.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWBindingNameAssociation.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWBrowser.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWComponent.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWHTMLURLValuedElement.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWImageButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWInput.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWPopUpButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWString.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWAssociation.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBox.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBoxList.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentDefinition.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButton.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButtonList.m: handle WO/GSWeb names * GSWeb.framework/GSWText.m: handle WO/GSWeb names * GSWeb.framework/GSWTextField.m: handle WO/GSWeb names * GSWeb.framework/GSWDeployedBundle.m: warnings * GSWeb.framework/GSWeb.h: added include GSWeb/GSWSessionTimeOut.h, GSWWOCompatibility.h * GSWeb.framework/GSWAdaptor.m: traces * GSWeb.framework/GSWDefaultAdaptor.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWDefaultAdaptorThread.m/.h: handle WO/GSWeb names * GSWeb.framework/NSNonBlockingFileHandle.m: added traces * GSWeb.framework/GSWTemplateParserANTLR.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParserXML.m: handle WO/GSWeb names added tag count to help errors hunt remove "Tag gsweb invalid" message handle unicode strings in node content traces remove html and body tags if they are not present in the template * GSWeb.framework/GSWTemplateParseXML.h: added ivar _isHTMLTag, _isBodyTag * GSWeb.framework/GSWSessionTimeOutManager.m: dealloc sessionOrderedTimeOuts instead of deallocating 2 times sessionTimeOuts * GSWExtensions.framework/French.lproj/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch, Encode french characters * GSWExtensions.framework/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch * GSWHTMLBareString.m: handle unicode strings in description * GSWExtensions.framework/French.lproj/GSWExceptionPage.gswc/GSWExceptionPage.html: Encode french characters, Tag Mismatch * GSWExtensions.framework/French.lproj/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.html: Encode french characters * GSWExtensions.framework/French.lproj/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.html: Encode french characters * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.html: Tag Mismatch * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd: added convertHTMLEntities for strings * GSWeb.framework/GSWRepetition.m: added traces, fix "count" property bug, standardize ivars * GSWeb.framework/NSObject+IVarAccess+PerformSel.m: added traces, handle underscored ivars search git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@9332 72102866-910b-0410-8b05-ffd578937521
2001-03-11 17:15:44 +00:00
if (!WOStrictFlag)
{
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
[tmpAssociations removeObjectForKey:disabled__Key];
[tmpAssociations removeObjectForKey:enabled__Key];
2001-03-11 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWWOCompatibility.h/.m: added * GSWeb.framework/GNUmakefile: added GSWWOCompatibility.h/.m * GSWeb.framework/GSWApplication.h/m: added WOApplicationMain, handle WO/GSWeb names * GSWeb.framework/GSWContext.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWConstants.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWDynamicURLString.m: handle WO/GSWeb names * GSWeb.framework/GSWProjectBundle.m/.h: handle WO/GSWeb names, suppress warnings * GSWeb.framework/GSWSession.m: handle WO/GSWeb names * GSWeb.framework/GSWRequest.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParser.m: handle WO/GSWeb names, added tag counts to help errors hunt * GSWeb.framework/GSWBundle.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWResourceManager.m: handle WO/GSWeb names * GSWeb.framework/GSWURLValuedElementData.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectAction.m: handle WO/GSWeb names * GSWeb.framework/GSWForm.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWHyperlink.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWResourceRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectActionRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWActiveImage.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWBindingNameAssociation.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWBrowser.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWComponent.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWHTMLURLValuedElement.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWImageButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWInput.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWPopUpButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWString.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWAssociation.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBox.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBoxList.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentDefinition.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButton.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButtonList.m: handle WO/GSWeb names * GSWeb.framework/GSWText.m: handle WO/GSWeb names * GSWeb.framework/GSWTextField.m: handle WO/GSWeb names * GSWeb.framework/GSWDeployedBundle.m: warnings * GSWeb.framework/GSWeb.h: added include GSWeb/GSWSessionTimeOut.h, GSWWOCompatibility.h * GSWeb.framework/GSWAdaptor.m: traces * GSWeb.framework/GSWDefaultAdaptor.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWDefaultAdaptorThread.m/.h: handle WO/GSWeb names * GSWeb.framework/NSNonBlockingFileHandle.m: added traces * GSWeb.framework/GSWTemplateParserANTLR.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParserXML.m: handle WO/GSWeb names added tag count to help errors hunt remove "Tag gsweb invalid" message handle unicode strings in node content traces remove html and body tags if they are not present in the template * GSWeb.framework/GSWTemplateParseXML.h: added ivar _isHTMLTag, _isBodyTag * GSWeb.framework/GSWSessionTimeOutManager.m: dealloc sessionOrderedTimeOuts instead of deallocating 2 times sessionTimeOuts * GSWExtensions.framework/French.lproj/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch, Encode french characters * GSWExtensions.framework/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch * GSWHTMLBareString.m: handle unicode strings in description * GSWExtensions.framework/French.lproj/GSWExceptionPage.gswc/GSWExceptionPage.html: Encode french characters, Tag Mismatch * GSWExtensions.framework/French.lproj/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.html: Encode french characters * GSWExtensions.framework/French.lproj/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.html: Encode french characters * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.html: Tag Mismatch * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd: added convertHTMLEntities for strings * GSWeb.framework/GSWRepetition.m: added traces, fix "count" property bug, standardize ivars * GSWeb.framework/NSObject+IVarAccess+PerformSel.m: added traces, handle underscored ivars search git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@9332 72102866-910b-0410-8b05-ffd578937521
2001-03-11 17:15:44 +00:00
};
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
[tmpAssociations removeObjectForKey:queryDictionary__Key];
//call isValueSettable sur value (return YES)
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
_action = [[associations objectForKey:action__Key
withDefaultObject:[_action autorelease]] retain];
NSDebugMLLog(@"gswdync",@"GSWForm: action=%@",_action);
_href = [[associations objectForKey:href__Key
withDefaultObject:[_href autorelease]] retain];
NSDebugMLLog(@"gswdync",@"GSWForm: href=%@",_href);
_multipleSubmit = [[associations objectForKey:multipleSubmit__Key
withDefaultObject:[_multipleSubmit autorelease]] retain];
NSDebugMLLog(@"gswdync",@"GSWForm: multipleSubmit=%@",_multipleSubmit);
_actionClass = [[associations objectForKey:actionClass__Key
withDefaultObject:[_actionClass autorelease]] retain];
NSDebugMLLog(@"gswdync",@"GSWForm: actionClass=%@",_actionClass);
_directActionName = [[associations objectForKey:directActionName__Key
withDefaultObject:[_directActionName autorelease]] retain];
NSDebugMLLog(@"gswdync",@"GSWForm: directActionName=%@",_directActionName);
2001-03-11 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWWOCompatibility.h/.m: added * GSWeb.framework/GNUmakefile: added GSWWOCompatibility.h/.m * GSWeb.framework/GSWApplication.h/m: added WOApplicationMain, handle WO/GSWeb names * GSWeb.framework/GSWContext.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWConstants.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWDynamicURLString.m: handle WO/GSWeb names * GSWeb.framework/GSWProjectBundle.m/.h: handle WO/GSWeb names, suppress warnings * GSWeb.framework/GSWSession.m: handle WO/GSWeb names * GSWeb.framework/GSWRequest.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParser.m: handle WO/GSWeb names, added tag counts to help errors hunt * GSWeb.framework/GSWBundle.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWResourceManager.m: handle WO/GSWeb names * GSWeb.framework/GSWURLValuedElementData.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectAction.m: handle WO/GSWeb names * GSWeb.framework/GSWForm.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWHyperlink.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWResourceRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectActionRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWActiveImage.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWBindingNameAssociation.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWBrowser.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWComponent.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWHTMLURLValuedElement.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWImageButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWInput.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWPopUpButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWString.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWAssociation.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBox.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBoxList.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentDefinition.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButton.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButtonList.m: handle WO/GSWeb names * GSWeb.framework/GSWText.m: handle WO/GSWeb names * GSWeb.framework/GSWTextField.m: handle WO/GSWeb names * GSWeb.framework/GSWDeployedBundle.m: warnings * GSWeb.framework/GSWeb.h: added include GSWeb/GSWSessionTimeOut.h, GSWWOCompatibility.h * GSWeb.framework/GSWAdaptor.m: traces * GSWeb.framework/GSWDefaultAdaptor.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWDefaultAdaptorThread.m/.h: handle WO/GSWeb names * GSWeb.framework/NSNonBlockingFileHandle.m: added traces * GSWeb.framework/GSWTemplateParserANTLR.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParserXML.m: handle WO/GSWeb names added tag count to help errors hunt remove "Tag gsweb invalid" message handle unicode strings in node content traces remove html and body tags if they are not present in the template * GSWeb.framework/GSWTemplateParseXML.h: added ivar _isHTMLTag, _isBodyTag * GSWeb.framework/GSWSessionTimeOutManager.m: dealloc sessionOrderedTimeOuts instead of deallocating 2 times sessionTimeOuts * GSWExtensions.framework/French.lproj/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch, Encode french characters * GSWExtensions.framework/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch * GSWHTMLBareString.m: handle unicode strings in description * GSWExtensions.framework/French.lproj/GSWExceptionPage.gswc/GSWExceptionPage.html: Encode french characters, Tag Mismatch * GSWExtensions.framework/French.lproj/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.html: Encode french characters * GSWExtensions.framework/French.lproj/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.html: Encode french characters * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.html: Tag Mismatch * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd: added convertHTMLEntities for strings * GSWeb.framework/GSWRepetition.m: added traces, fix "count" property bug, standardize ivars * GSWeb.framework/NSObject+IVarAccess+PerformSel.m: added traces, handle underscored ivars search git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@9332 72102866-910b-0410-8b05-ffd578937521
2001-03-11 17:15:44 +00:00
if (!WOStrictFlag)
{
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
_disabled = [[associations objectForKey:disabled__Key
withDefaultObject:[_disabled autorelease]] retain];
NSDebugMLLog(@"gswdync",@"GSWForm disabled=%@",_disabled);
_enabled = [[associations objectForKey:enabled__Key
withDefaultObject:[_enabled autorelease]] retain];
NSDebugMLLog(@"gswdync",@"GSWForm enabled=%@",_enabled);
if (_disabled && _enabled)
{
ExceptionRaise(@"GSWForm",@"You can't specify 'disabled' and 'enabled' together. componentAssociations:%@",
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
associations);
};
2001-03-11 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWWOCompatibility.h/.m: added * GSWeb.framework/GNUmakefile: added GSWWOCompatibility.h/.m * GSWeb.framework/GSWApplication.h/m: added WOApplicationMain, handle WO/GSWeb names * GSWeb.framework/GSWContext.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWConstants.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWDynamicURLString.m: handle WO/GSWeb names * GSWeb.framework/GSWProjectBundle.m/.h: handle WO/GSWeb names, suppress warnings * GSWeb.framework/GSWSession.m: handle WO/GSWeb names * GSWeb.framework/GSWRequest.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParser.m: handle WO/GSWeb names, added tag counts to help errors hunt * GSWeb.framework/GSWBundle.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWResourceManager.m: handle WO/GSWeb names * GSWeb.framework/GSWURLValuedElementData.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectAction.m: handle WO/GSWeb names * GSWeb.framework/GSWForm.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWHyperlink.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWResourceRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectActionRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWActiveImage.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWBindingNameAssociation.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWBrowser.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWComponent.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWHTMLURLValuedElement.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWImageButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWInput.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWPopUpButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWString.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWAssociation.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBox.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBoxList.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentDefinition.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButton.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButtonList.m: handle WO/GSWeb names * GSWeb.framework/GSWText.m: handle WO/GSWeb names * GSWeb.framework/GSWTextField.m: handle WO/GSWeb names * GSWeb.framework/GSWDeployedBundle.m: warnings * GSWeb.framework/GSWeb.h: added include GSWeb/GSWSessionTimeOut.h, GSWWOCompatibility.h * GSWeb.framework/GSWAdaptor.m: traces * GSWeb.framework/GSWDefaultAdaptor.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWDefaultAdaptorThread.m/.h: handle WO/GSWeb names * GSWeb.framework/NSNonBlockingFileHandle.m: added traces * GSWeb.framework/GSWTemplateParserANTLR.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParserXML.m: handle WO/GSWeb names added tag count to help errors hunt remove "Tag gsweb invalid" message handle unicode strings in node content traces remove html and body tags if they are not present in the template * GSWeb.framework/GSWTemplateParseXML.h: added ivar _isHTMLTag, _isBodyTag * GSWeb.framework/GSWSessionTimeOutManager.m: dealloc sessionOrderedTimeOuts instead of deallocating 2 times sessionTimeOuts * GSWExtensions.framework/French.lproj/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch, Encode french characters * GSWExtensions.framework/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch * GSWHTMLBareString.m: handle unicode strings in description * GSWExtensions.framework/French.lproj/GSWExceptionPage.gswc/GSWExceptionPage.html: Encode french characters, Tag Mismatch * GSWExtensions.framework/French.lproj/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.html: Encode french characters * GSWExtensions.framework/French.lproj/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.html: Encode french characters * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.html: Tag Mismatch * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd: added convertHTMLEntities for strings * GSWeb.framework/GSWRepetition.m: added traces, fix "count" property bug, standardize ivars * GSWeb.framework/NSObject+IVarAccess+PerformSel.m: added traces, handle underscored ivars search git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@9332 72102866-910b-0410-8b05-ffd578937521
2001-03-11 17:15:44 +00:00
};
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
_queryDictionary = [[associations objectForKey:queryDictionary__Key
withDefaultObject:[_queryDictionary autorelease]] retain];
NSDebugMLLog(@"gswdync",@"GSWForm: queryDictionary=%@",_queryDictionary);
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
if ([tmpAssociations count]>0)
{
ASSIGN(_otherQueryAssociations,([tmpAssociations extractObjectsForKeysWithPrefix:@"?"
removePrefix:YES]));
if ([_otherQueryAssociations count]==0)
DESTROY(_otherQueryAssociations);
};
NSDebugMLLog(@"gswdync",@"_otherQueryAssociations=%@",_otherQueryAssociations);
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
if ((self=[super initWithName:aName
attributeAssociations:tmpAssociations
contentElements:elements]))
{
};
return self;
};
//--------------------------------------------------------------------
-(void)dealloc
{
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
DESTROY(_action);
DESTROY(_href);
DESTROY(_multipleSubmit);
DESTROY(_actionClass);
DESTROY(_directActionName);
DESTROY(_queryDictionary);
DESTROY(_disabled);
DESTROY(_enabled);
DESTROY(_otherQueryAssociations);
[super dealloc];
};
//--------------------------------------------------------------------
-(id)description
{
return [NSString stringWithFormat:@"<%s %p>",
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
object_get_class_name(self),
(void*)self];
};
//--------------------------------------------------------------------
-(id)elementName
{
//OK
return @"form";
};
@end
//====================================================================
@implementation GSWForm (GSWFormA)
2001-03-11 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWWOCompatibility.h/.m: added * GSWeb.framework/GNUmakefile: added GSWWOCompatibility.h/.m * GSWeb.framework/GSWApplication.h/m: added WOApplicationMain, handle WO/GSWeb names * GSWeb.framework/GSWContext.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWConstants.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWDynamicURLString.m: handle WO/GSWeb names * GSWeb.framework/GSWProjectBundle.m/.h: handle WO/GSWeb names, suppress warnings * GSWeb.framework/GSWSession.m: handle WO/GSWeb names * GSWeb.framework/GSWRequest.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParser.m: handle WO/GSWeb names, added tag counts to help errors hunt * GSWeb.framework/GSWBundle.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWResourceManager.m: handle WO/GSWeb names * GSWeb.framework/GSWURLValuedElementData.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectAction.m: handle WO/GSWeb names * GSWeb.framework/GSWForm.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWHyperlink.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWResourceRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectActionRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWActiveImage.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWBindingNameAssociation.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWBrowser.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWComponent.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWHTMLURLValuedElement.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWImageButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWInput.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWPopUpButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWString.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWAssociation.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBox.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBoxList.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentDefinition.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButton.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButtonList.m: handle WO/GSWeb names * GSWeb.framework/GSWText.m: handle WO/GSWeb names * GSWeb.framework/GSWTextField.m: handle WO/GSWeb names * GSWeb.framework/GSWDeployedBundle.m: warnings * GSWeb.framework/GSWeb.h: added include GSWeb/GSWSessionTimeOut.h, GSWWOCompatibility.h * GSWeb.framework/GSWAdaptor.m: traces * GSWeb.framework/GSWDefaultAdaptor.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWDefaultAdaptorThread.m/.h: handle WO/GSWeb names * GSWeb.framework/NSNonBlockingFileHandle.m: added traces * GSWeb.framework/GSWTemplateParserANTLR.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParserXML.m: handle WO/GSWeb names added tag count to help errors hunt remove "Tag gsweb invalid" message handle unicode strings in node content traces remove html and body tags if they are not present in the template * GSWeb.framework/GSWTemplateParseXML.h: added ivar _isHTMLTag, _isBodyTag * GSWeb.framework/GSWSessionTimeOutManager.m: dealloc sessionOrderedTimeOuts instead of deallocating 2 times sessionTimeOuts * GSWExtensions.framework/French.lproj/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch, Encode french characters * GSWExtensions.framework/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch * GSWHTMLBareString.m: handle unicode strings in description * GSWExtensions.framework/French.lproj/GSWExceptionPage.gswc/GSWExceptionPage.html: Encode french characters, Tag Mismatch * GSWExtensions.framework/French.lproj/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.html: Encode french characters * GSWExtensions.framework/French.lproj/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.html: Encode french characters * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.html: Tag Mismatch * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd: added convertHTMLEntities for strings * GSWeb.framework/GSWRepetition.m: added traces, fix "count" property bug, standardize ivars * GSWeb.framework/NSObject+IVarAccess+PerformSel.m: added traces, handle underscored ivars search git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@9332 72102866-910b-0410-8b05-ffd578937521
2001-03-11 17:15:44 +00:00
//GSWeb Additions {
//--------------------------------------------------------------------
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
-(BOOL)disabledInContext:(GSWContext*)context
{
//OK
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
if (_enabled)
return ![self evaluateCondition:_enabled
inContext:context];
else
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
return [self evaluateCondition:_disabled
inContext:context];
};
2001-03-11 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWWOCompatibility.h/.m: added * GSWeb.framework/GNUmakefile: added GSWWOCompatibility.h/.m * GSWeb.framework/GSWApplication.h/m: added WOApplicationMain, handle WO/GSWeb names * GSWeb.framework/GSWContext.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWConstants.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWDynamicURLString.m: handle WO/GSWeb names * GSWeb.framework/GSWProjectBundle.m/.h: handle WO/GSWeb names, suppress warnings * GSWeb.framework/GSWSession.m: handle WO/GSWeb names * GSWeb.framework/GSWRequest.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParser.m: handle WO/GSWeb names, added tag counts to help errors hunt * GSWeb.framework/GSWBundle.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWResourceManager.m: handle WO/GSWeb names * GSWeb.framework/GSWURLValuedElementData.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectAction.m: handle WO/GSWeb names * GSWeb.framework/GSWForm.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWHyperlink.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWResourceRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectActionRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWActiveImage.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWBindingNameAssociation.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWBrowser.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWComponent.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWHTMLURLValuedElement.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWImageButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWInput.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWPopUpButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWString.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWAssociation.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBox.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBoxList.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentDefinition.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButton.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButtonList.m: handle WO/GSWeb names * GSWeb.framework/GSWText.m: handle WO/GSWeb names * GSWeb.framework/GSWTextField.m: handle WO/GSWeb names * GSWeb.framework/GSWDeployedBundle.m: warnings * GSWeb.framework/GSWeb.h: added include GSWeb/GSWSessionTimeOut.h, GSWWOCompatibility.h * GSWeb.framework/GSWAdaptor.m: traces * GSWeb.framework/GSWDefaultAdaptor.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWDefaultAdaptorThread.m/.h: handle WO/GSWeb names * GSWeb.framework/NSNonBlockingFileHandle.m: added traces * GSWeb.framework/GSWTemplateParserANTLR.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParserXML.m: handle WO/GSWeb names added tag count to help errors hunt remove "Tag gsweb invalid" message handle unicode strings in node content traces remove html and body tags if they are not present in the template * GSWeb.framework/GSWTemplateParseXML.h: added ivar _isHTMLTag, _isBodyTag * GSWeb.framework/GSWSessionTimeOutManager.m: dealloc sessionOrderedTimeOuts instead of deallocating 2 times sessionTimeOuts * GSWExtensions.framework/French.lproj/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch, Encode french characters * GSWExtensions.framework/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch * GSWHTMLBareString.m: handle unicode strings in description * GSWExtensions.framework/French.lproj/GSWExceptionPage.gswc/GSWExceptionPage.html: Encode french characters, Tag Mismatch * GSWExtensions.framework/French.lproj/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.html: Encode french characters * GSWExtensions.framework/French.lproj/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.html: Encode french characters * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.html: Tag Mismatch * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd: added convertHTMLEntities for strings * GSWeb.framework/GSWRepetition.m: added traces, fix "count" property bug, standardize ivars * GSWeb.framework/NSObject+IVarAccess+PerformSel.m: added traces, handle underscored ivars search git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@9332 72102866-910b-0410-8b05-ffd578937521
2001-03-11 17:15:44 +00:00
// }
//--------------------------------------------------------------------
-(BOOL)compactHTMLTags
{
LOGObjectFnNotImplemented(); //TODOFN
return NO;
};
//--------------------------------------------------------------------
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
-(void)_appendHiddenFieldsToResponse:(GSWResponse*)response
inContext:(GSWContext*)context
{
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
NSDictionary* hiddenFields = nil;
LOGObjectFnStart();
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
hiddenFields = [self computeQueryDictionaryInContext:context];
if([hiddenFields count]>0)
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
{
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
NSEnumerator* enumerator=[hiddenFields keyEnumerator];
id key=nil;
while((key=[enumerator nextObject]))
{
id value=[hiddenFields objectForKey:key];
[response _appendContentAsciiString:@"<input type=hidden"];
[response _appendTagAttribute:@"name"
value:key
escapingHTMLAttributeValue:NO];//Don't escape name
[response _appendTagAttribute:@"value"
value:value
escapingHTMLAttributeValue:NO];//Don't escape value (should be escaped before !)
};
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
};
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
LOGObjectFnStop();
};
//--------------------------------------------------------------------
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
-(NSDictionary*)computeQueryDictionaryInContext:(GSWContext*)context
{
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
NSDictionary* queryDictionary=nil;
LOGObjectFnStart();
queryDictionary=[self computeQueryDictionaryWithActionClassAssociation:_actionClass
directActionNameAssociation:_directActionName
queryDictionaryAssociation:_queryDictionary
otherQueryAssociations:_otherQueryAssociations
inContext:context];
LOGObjectFnStop();
return queryDictionary;
};
//--------------------------------------------------------------------
-(NSString*)computeActionStringInContext:(GSWContext*)context
{
NSString* actionString=nil;
LOGObjectFnStart();
actionString=[self computeActionStringWithActionClassAssociation:_actionClass
directActionNameAssociation:_directActionName
inContext:context];
LOGObjectFnStop();
return actionString;
};
//--------------------------------------------------------------------
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
-(void)appendToResponse:(GSWResponse*)response
inContext:(GSWContext*)context
{
//OK
#ifndef NDEBBUG
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
int elementsNb=[(GSWElementIDString*)[context elementID]elementsNb];
#endif
LOGObjectFnStartC("GSWForm");
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
GSWStartElement(context);
GSWSaveAppendToResponseElementID(context);
[response appendDebugCommentContentString:[NSString stringWithFormat:@"defName=%@ ID=%@",
[self definitionName],
[context elementID]]];
2001-03-11 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWWOCompatibility.h/.m: added * GSWeb.framework/GNUmakefile: added GSWWOCompatibility.h/.m * GSWeb.framework/GSWApplication.h/m: added WOApplicationMain, handle WO/GSWeb names * GSWeb.framework/GSWContext.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWConstants.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWDynamicURLString.m: handle WO/GSWeb names * GSWeb.framework/GSWProjectBundle.m/.h: handle WO/GSWeb names, suppress warnings * GSWeb.framework/GSWSession.m: handle WO/GSWeb names * GSWeb.framework/GSWRequest.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParser.m: handle WO/GSWeb names, added tag counts to help errors hunt * GSWeb.framework/GSWBundle.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWResourceManager.m: handle WO/GSWeb names * GSWeb.framework/GSWURLValuedElementData.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectAction.m: handle WO/GSWeb names * GSWeb.framework/GSWForm.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWHyperlink.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWResourceRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectActionRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWActiveImage.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWBindingNameAssociation.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWBrowser.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWComponent.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWHTMLURLValuedElement.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWImageButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWInput.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWPopUpButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWString.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWAssociation.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBox.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBoxList.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentDefinition.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButton.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButtonList.m: handle WO/GSWeb names * GSWeb.framework/GSWText.m: handle WO/GSWeb names * GSWeb.framework/GSWTextField.m: handle WO/GSWeb names * GSWeb.framework/GSWDeployedBundle.m: warnings * GSWeb.framework/GSWeb.h: added include GSWeb/GSWSessionTimeOut.h, GSWWOCompatibility.h * GSWeb.framework/GSWAdaptor.m: traces * GSWeb.framework/GSWDefaultAdaptor.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWDefaultAdaptorThread.m/.h: handle WO/GSWeb names * GSWeb.framework/NSNonBlockingFileHandle.m: added traces * GSWeb.framework/GSWTemplateParserANTLR.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParserXML.m: handle WO/GSWeb names added tag count to help errors hunt remove "Tag gsweb invalid" message handle unicode strings in node content traces remove html and body tags if they are not present in the template * GSWeb.framework/GSWTemplateParseXML.h: added ivar _isHTMLTag, _isBodyTag * GSWeb.framework/GSWSessionTimeOutManager.m: dealloc sessionOrderedTimeOuts instead of deallocating 2 times sessionTimeOuts * GSWExtensions.framework/French.lproj/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch, Encode french characters * GSWExtensions.framework/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch * GSWHTMLBareString.m: handle unicode strings in description * GSWExtensions.framework/French.lproj/GSWExceptionPage.gswc/GSWExceptionPage.html: Encode french characters, Tag Mismatch * GSWExtensions.framework/French.lproj/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.html: Encode french characters * GSWExtensions.framework/French.lproj/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.html: Encode french characters * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.html: Tag Mismatch * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd: added convertHTMLEntities for strings * GSWeb.framework/GSWRepetition.m: added traces, fix "count" property bug, standardize ivars * GSWeb.framework/NSObject+IVarAccess+PerformSel.m: added traces, handle underscored ivars search git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@9332 72102866-910b-0410-8b05-ffd578937521
2001-03-11 17:15:44 +00:00
if (!WOStrictFlag)
{
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
BOOL disabledInContext=NO;
disabledInContext=[self disabledInContext:context];
[context setInForm:!disabledInContext];
2001-03-11 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWWOCompatibility.h/.m: added * GSWeb.framework/GNUmakefile: added GSWWOCompatibility.h/.m * GSWeb.framework/GSWApplication.h/m: added WOApplicationMain, handle WO/GSWeb names * GSWeb.framework/GSWContext.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWConstants.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWDynamicURLString.m: handle WO/GSWeb names * GSWeb.framework/GSWProjectBundle.m/.h: handle WO/GSWeb names, suppress warnings * GSWeb.framework/GSWSession.m: handle WO/GSWeb names * GSWeb.framework/GSWRequest.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParser.m: handle WO/GSWeb names, added tag counts to help errors hunt * GSWeb.framework/GSWBundle.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWResourceManager.m: handle WO/GSWeb names * GSWeb.framework/GSWURLValuedElementData.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectAction.m: handle WO/GSWeb names * GSWeb.framework/GSWForm.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWHyperlink.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWResourceRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectActionRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWActiveImage.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWBindingNameAssociation.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWBrowser.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWComponent.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWHTMLURLValuedElement.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWImageButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWInput.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWPopUpButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWString.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWAssociation.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBox.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBoxList.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentDefinition.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButton.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButtonList.m: handle WO/GSWeb names * GSWeb.framework/GSWText.m: handle WO/GSWeb names * GSWeb.framework/GSWTextField.m: handle WO/GSWeb names * GSWeb.framework/GSWDeployedBundle.m: warnings * GSWeb.framework/GSWeb.h: added include GSWeb/GSWSessionTimeOut.h, GSWWOCompatibility.h * GSWeb.framework/GSWAdaptor.m: traces * GSWeb.framework/GSWDefaultAdaptor.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWDefaultAdaptorThread.m/.h: handle WO/GSWeb names * GSWeb.framework/NSNonBlockingFileHandle.m: added traces * GSWeb.framework/GSWTemplateParserANTLR.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParserXML.m: handle WO/GSWeb names added tag count to help errors hunt remove "Tag gsweb invalid" message handle unicode strings in node content traces remove html and body tags if they are not present in the template * GSWeb.framework/GSWTemplateParseXML.h: added ivar _isHTMLTag, _isBodyTag * GSWeb.framework/GSWSessionTimeOutManager.m: dealloc sessionOrderedTimeOuts instead of deallocating 2 times sessionTimeOuts * GSWExtensions.framework/French.lproj/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch, Encode french characters * GSWExtensions.framework/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch * GSWHTMLBareString.m: handle unicode strings in description * GSWExtensions.framework/French.lproj/GSWExceptionPage.gswc/GSWExceptionPage.html: Encode french characters, Tag Mismatch * GSWExtensions.framework/French.lproj/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.html: Encode french characters * GSWExtensions.framework/French.lproj/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.html: Encode french characters * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.html: Tag Mismatch * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd: added convertHTMLEntities for strings * GSWeb.framework/GSWRepetition.m: added traces, fix "count" property bug, standardize ivars * GSWeb.framework/NSObject+IVarAccess+PerformSel.m: added traces, handle underscored ivars search git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@9332 72102866-910b-0410-8b05-ffd578937521
2001-03-11 17:15:44 +00:00
}
else
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
[context setInForm:YES];
[self appendToResponse:response
inContext:context
elementsFromIndex:0
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
toIndex:[_elementsMap length]-2];
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
[self _appendHiddenFieldsToResponse:response
inContext:context];
[self appendToResponse:response
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
inContext:context
elementsFromIndex:[_elementsMap length]-1
toIndex:[_elementsMap length]-1];
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
[context setInForm:NO];
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
GSWStopElement(context);
#ifndef NDEBBUG
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
NSAssert3(elementsNb==[(GSWElementIDString*)[context elementID]elementsNb],
@"GSWForm appendToResponse: bad elementID: elementsNb=%d [context elementID]=%@ [(GSWElementIDString*)[context elementID]elementsNb]=%d",
elementsNb,[context elementID],[(GSWElementIDString*)[context elementID]elementsNb]);
#endif
LOGObjectFnStopC("GSWForm");
};
//--------------------------------------------------------------------
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
-(GSWElement*)invokeActionForRequest:(GSWRequest*)request
inContext:(GSWContext*)context
{
//OK
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
GSWElement* element=nil;
NSString* senderID=nil;
GSWElementIDString* elementID=nil;
BOOL isFormSubmited=NO;
#ifndef NDEBBUG
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
int elementsNb=[(GSWElementIDString*)[context elementID]elementsNb];
#endif
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
BOOL multipleSubmitValue=NO;
LOGObjectFnStartC("GSWForm");
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
GSWStartElement(context);
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
senderID=[context senderID];
elementID=[context elementID];
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
NSDebugMLLog(@"gswdync",@"senderId=%@",senderID);
NS_DURING
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
2002-01-26 10:43:23 +00:00
{
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
GSWAssertCorrectElementID(context);// Debug Only
if ([self prefixMatchSenderIDInContext:context]) //Avoid trying to find action if we are not the good component
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
2002-01-26 10:43:23 +00:00
{
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
isFormSubmited=[elementID isEqualToString:senderID];
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
NSDebugMLLog(@"gswdync",@"ET=%@ defName=%@ \n id=%@ \nsenderId=%@ \nisFormSubmited=%s",
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
2002-01-26 10:43:23 +00:00
[self class],
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
[self definitionName],
elementID,
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
senderID,
(isFormSubmited ? "YES" : "NO"));
if (!WOStrictFlag && isFormSubmited && [self disabledInContext:context])
isFormSubmited=NO;
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
2002-01-26 10:43:23 +00:00
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
if (isFormSubmited)
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
2002-01-26 10:43:23 +00:00
{
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
[context setInForm:YES];
[context _setFormSubmitted:YES];
multipleSubmitValue=[self evaluateCondition:_multipleSubmit
inContext:context];
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
NSDebugMLLog(@"gswdync",@"ET=%@ defName=%@ \n id=%@ \nsenderId=%@ \nmultipleSubmit=%s",
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
2002-01-26 10:43:23 +00:00
[self class],
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
[self definitionName],
elementID,
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
senderID,
(multipleSubmitValue ? "YES" : "NO"));
[context _setIsMultipleSubmitForm:multipleSubmitValue];
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
2002-01-26 10:43:23 +00:00
};
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
/*
for(i=0;!element && !searchIsOver && i<[_dynamicChildren count];i++)
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
2002-01-26 10:43:23 +00:00
{
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
NSDebugMLLog(@"gswdync",@"i=%d",i);
element=[[_dynamicChildren objectAtIndex:i] invokeActionForRequest:request
inContext:context];
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
// if (![context _wasFormSubmitted] && [[context elementID] compare:senderID]==NSOrderedDescending)
if (![context _wasFormSubmitted] && [[context elementID] isSearchOverForSenderID:senderID])
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
2002-01-26 10:43:23 +00:00
{
NSDebugMLLog(@"gswdync",@"id=%@ senderid=%@ => search is over",
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
[context elementID],
senderID);
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
2002-01-26 10:43:23 +00:00
searchIsOver=YES;
};
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
[context incrementLastElementIDComponent];
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
2002-01-26 10:43:23 +00:00
};
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
*/
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
NSDebugMLLog(@"gswdync",@"isFormSubmited=%d",isFormSubmited);
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
element=[super invokeActionForRequest:request
inContext:context];
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
NSDebugMLLog(@"gswdync",@"isFormSubmited=%d",isFormSubmited);
NSDebugMLLog(@"gswdync",@"[context _wasActionInvoked]=%d",[context _wasActionInvoked]);
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
if (isFormSubmited)
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
2002-01-26 10:43:23 +00:00
{
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
NSDebugMLLog(@"gswdync",@"ET=%@ defName=%@ \n id=%@ \nsenderId=%@ \nmultipleSubmit=%s \n[context _wasActionInvoked]=%d",
[self class],
[self definitionName],
elementID,
senderID,
(multipleSubmitValue ? "YES" : "NO"),
[context _wasActionInvoked]);
if (_action && ![context _wasActionInvoked])
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
2002-01-26 10:43:23 +00:00
{
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
GSWComponent* component=[context component];
element = (GSWElement*)[_action valueInComponent:component];
[context _setActionInvoked:YES];
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
2002-01-26 10:43:23 +00:00
};
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
[context setInForm:NO];
[context _setFormSubmitted:NO];
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
[context _setIsMultipleSubmitForm:NO];
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
2002-01-26 10:43:23 +00:00
};
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
elementID=[context elementID];
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
GSWStopElement(context);
};
#ifndef NDEBBUG
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
NSAssert3(elementsNb==[(GSWElementIDString*)[context elementID]elementsNb],
@"GSWForm invokeActionForRequest: bad elementID: elementsNb=%d [context elementID]=%@ [(GSWElementIDString*)[context elementID]elementsNb]=%d",
elementsNb,[context elementID],[(GSWElementIDString*)[context elementID]elementsNb]);
#endif
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
2002-01-26 10:43:23 +00:00
}
NS_HANDLER
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
2002-01-26 10:43:23 +00:00
{
LOGException0(@"exception in GSWForm invokeActionForRequest:inContext");
LOGException(@"exception=%@",localException);
localException=ExceptionByAddingUserInfoObjectFrameInfo(localException,
@"In GSWForm invokeActionForRequest:inContext");
LOGException(@"exception=%@",localException);
[localException raise];
}
NS_ENDHANDLER;
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
senderID=[context senderID];
elementID=[context elementID];
//if (![context _wasActionInvoked] && [_elementID compare:senderID]!=NSOrderedAscending)
if (![context _wasActionInvoked] && [elementID isSearchOverForSenderID:senderID])
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
2002-01-26 10:43:23 +00:00
{
LOGError(@"Action not invoked at the end of %@ (def name=%@) (id=%@) senderId=%@",
[self class],
[self definitionName],
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
elementID,
senderID);
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
2002-01-26 10:43:23 +00:00
};
LOGObjectFnStopC("GSWForm");
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
return element;
};
//--------------------------------------------------------------------
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
-(void)takeValuesFromRequest:(GSWRequest*)request
inContext:(GSWContext*)context
{
//OK
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
NSString* senderID=nil;
NSString* elementID=nil;
BOOL isFormSubmited=NO;
#ifndef NDEBBUG
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
int elementsNb=[(GSWElementIDString*)[context elementID]elementsNb];
#endif
LOGObjectFnStartC("GSWForm");
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
GSWStartElement(context);
GSWAssertCorrectElementID(context);
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
senderID=[context senderID];
elementID=[context elementID];
NSDebugMLLog(@"gswdync",@"senderID=%@",senderID);
if ([self prefixMatchSenderIDInContext:context]) //Avoid taking values if we are not the good form
{
isFormSubmited=[elementID isEqualToString:senderID];
NSDebugMLLog(@"gswdync",@"isFormSubmited=%d",(int)isFormSubmited);
if (!WOStrictFlag && isFormSubmited && [self disabledInContext:context])
isFormSubmited=NO;
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
NSDebugMLLog(@"gswdync",@"Starting GSWForm TV ET=%@ id=%@",[self class],[context elementID]);
if (isFormSubmited)
{
[context setInForm:YES];
[context _setFormSubmitted:YES];
};
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
NSDebugMLLog(@"gswdync",@"\n\ndynamicChildren=%@",_dynamicChildren);
NSDebugMLLog(@"gswdync",@"[dynamicChildren count]=%d",[_dynamicChildren count]);
[super takeValuesFromRequest:request
inContext:context];
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
if (isFormSubmited)
{
[context setInForm:NO];
[context _setFormSubmitted:NO];
};
};
2002-05-16 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWTextField.m: o added warning in _isFormattedValueInComponent:equalToFormattedValue: o added warning in takeValuesFromRequest:inContext: * GSWeb.framework/GSWPopUpButton.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWSwitchComponent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWRepetition.m o added ElementID debugging methods o added DocStructure debugging features o param names changes to conform to coding standards * GSWeb.framework/GSWComponentContent.m o added ElementID debugging methods o added DocStructure debugging features * GSWeb.framework/GSWComponentReference.m: o added ElementID debugging methods o added DocStructure debugging features o ivar names changes to conform to coding standards o logs * GSWeb.framework/GSWElement.m: o added ElementID debugging methods o added DocStructure debugging features o logs * GSWeb.framework/GSWElement.h o added ElementID debugging * GSWeb.framework/GSWForm.m: o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHTMLDynamicElement.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWConditional.m: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWConditional.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWRepetition.h. o param names changes to conform to coding standards * GSWeb.framework/GSWReset.m: o ivar names changes to conform to coding standards o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWReset.h. o ivar names changes to conform to coding standards * GSWeb.framework/GSWResponse.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWContext.h/.m: o added DocStructure debugging features * GSWeb.framework/GSWSession.m: o added DocStructure debugging features * GSWeb.framework/GSWTemplateParserXML.m o logs * GSWeb.framework/GSWTemplateParser.m o logs * GSWeb.framework/GSWDisplayGroup.m: o corrected insertion bugs o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWDisplayGroup.h: o added -insertAfterLastObject o added -selectFirst * GSWeb.framework/GSWHTMLStaticElement.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWCheckBox.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWComponent.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWHTMLStaticGroup.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWTextField.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWString.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWSubmitButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWURLValuedElementData.m/.h: o added ElementID debugging o added DocStructure debugging features o ivar names changes to conform to coding standards * GSWeb.framework/GSWRadioButton.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWInput.m o added ElementID debugging o added DocStructure debugging features o logs * GSWeb.framework/GSWHyperlink.m o added ElementID debugging o added DocStructure debugging features * GSWeb.framework/GSWFileUpload.m o added ElementID debugging o added DocStructure debugging features git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13661 72102866-910b-0410-8b05-ffd578937521
2002-05-16 18:01:40 +00:00
GSWStopElement(context);
#ifndef NDEBBUG
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
NSAssert(elementsNb==[(GSWElementIDString*)[context elementID]elementsNb],
@"GSWForm takeValuesFromRequest: bad elementID");
#endif
LOGObjectFnStopC("GSWForm");
};
@end
//====================================================================
@implementation GSWForm (GSWFormB)
//--------------------------------------------------------------------
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
-(void)appendGSWebObjectsAssociationsToResponse:(GSWResponse*)response
inContext:(GSWContext*)context
{
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
BOOL disabledInContext=NO;
LOGObjectFnStartC("GSWForm");
2001-03-11 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWWOCompatibility.h/.m: added * GSWeb.framework/GNUmakefile: added GSWWOCompatibility.h/.m * GSWeb.framework/GSWApplication.h/m: added WOApplicationMain, handle WO/GSWeb names * GSWeb.framework/GSWContext.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWConstants.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWDynamicURLString.m: handle WO/GSWeb names * GSWeb.framework/GSWProjectBundle.m/.h: handle WO/GSWeb names, suppress warnings * GSWeb.framework/GSWSession.m: handle WO/GSWeb names * GSWeb.framework/GSWRequest.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParser.m: handle WO/GSWeb names, added tag counts to help errors hunt * GSWeb.framework/GSWBundle.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWResourceManager.m: handle WO/GSWeb names * GSWeb.framework/GSWURLValuedElementData.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectAction.m: handle WO/GSWeb names * GSWeb.framework/GSWForm.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWHyperlink.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWResourceRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectActionRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWActiveImage.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWBindingNameAssociation.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWBrowser.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWComponent.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWHTMLURLValuedElement.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWImageButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWInput.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWPopUpButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWString.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWAssociation.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBox.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBoxList.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentDefinition.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButton.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButtonList.m: handle WO/GSWeb names * GSWeb.framework/GSWText.m: handle WO/GSWeb names * GSWeb.framework/GSWTextField.m: handle WO/GSWeb names * GSWeb.framework/GSWDeployedBundle.m: warnings * GSWeb.framework/GSWeb.h: added include GSWeb/GSWSessionTimeOut.h, GSWWOCompatibility.h * GSWeb.framework/GSWAdaptor.m: traces * GSWeb.framework/GSWDefaultAdaptor.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWDefaultAdaptorThread.m/.h: handle WO/GSWeb names * GSWeb.framework/NSNonBlockingFileHandle.m: added traces * GSWeb.framework/GSWTemplateParserANTLR.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParserXML.m: handle WO/GSWeb names added tag count to help errors hunt remove "Tag gsweb invalid" message handle unicode strings in node content traces remove html and body tags if they are not present in the template * GSWeb.framework/GSWTemplateParseXML.h: added ivar _isHTMLTag, _isBodyTag * GSWeb.framework/GSWSessionTimeOutManager.m: dealloc sessionOrderedTimeOuts instead of deallocating 2 times sessionTimeOuts * GSWExtensions.framework/French.lproj/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch, Encode french characters * GSWExtensions.framework/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch * GSWHTMLBareString.m: handle unicode strings in description * GSWExtensions.framework/French.lproj/GSWExceptionPage.gswc/GSWExceptionPage.html: Encode french characters, Tag Mismatch * GSWExtensions.framework/French.lproj/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.html: Encode french characters * GSWExtensions.framework/French.lproj/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.html: Encode french characters * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.html: Tag Mismatch * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd: added convertHTMLEntities for strings * GSWeb.framework/GSWRepetition.m: added traces, fix "count" property bug, standardize ivars * GSWeb.framework/NSObject+IVarAccess+PerformSel.m: added traces, handle underscored ivars search git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@9332 72102866-910b-0410-8b05-ffd578937521
2001-03-11 17:15:44 +00:00
if (!WOStrictFlag)
{
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
disabledInContext=[self disabledInContext:context];
NSDebugMLLog(@"gswdync",@"disabledInContext=%s",(disabledInContext ? "YES" : "NO"));
};
if (!disabledInContext)
{
GSWComponent* component=[context component];
if (_href)
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
{
id actionValue=[_href valueInComponent:component];
//TODO emit a warning !
[response _appendTagAttribute:@"action"
value:actionValue
escapingHTMLAttributeValue:NO];
}
else if (_directActionName || _actionClass)
{
[self _appendCGIActionToResponse:response
inContext:context];
}
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
else
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
{
id actionValue=[context componentActionURL];
[response _appendTagAttribute:@"action"
value:actionValue
escapingHTMLAttributeValue:NO];
};
2001-03-11 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWWOCompatibility.h/.m: added * GSWeb.framework/GNUmakefile: added GSWWOCompatibility.h/.m * GSWeb.framework/GSWApplication.h/m: added WOApplicationMain, handle WO/GSWeb names * GSWeb.framework/GSWContext.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWConstants.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWDynamicURLString.m: handle WO/GSWeb names * GSWeb.framework/GSWProjectBundle.m/.h: handle WO/GSWeb names, suppress warnings * GSWeb.framework/GSWSession.m: handle WO/GSWeb names * GSWeb.framework/GSWRequest.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParser.m: handle WO/GSWeb names, added tag counts to help errors hunt * GSWeb.framework/GSWBundle.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWResourceManager.m: handle WO/GSWeb names * GSWeb.framework/GSWURLValuedElementData.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectAction.m: handle WO/GSWeb names * GSWeb.framework/GSWForm.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWHyperlink.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWResourceRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWDirectActionRequestHandler.m: handle WO/GSWeb names * GSWeb.framework/GSWActiveImage.m/.h: handle WO/GSWeb names * GSWeb.framework/GSWBindingNameAssociation.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWBrowser.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWComponent.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWHTMLURLValuedElement.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWImageButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWInput.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWPopUpButton.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWString.h/.m: handle WO/GSWeb names * GSWeb.framework/GSWAssociation.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBox.m: handle WO/GSWeb names * GSWeb.framework/GSWCheckBoxList.m: handle WO/GSWeb names * GSWeb.framework/GSWComponentDefinition.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButton.m: handle WO/GSWeb names * GSWeb.framework/GSWRadioButtonList.m: handle WO/GSWeb names * GSWeb.framework/GSWText.m: handle WO/GSWeb names * GSWeb.framework/GSWTextField.m: handle WO/GSWeb names * GSWeb.framework/GSWDeployedBundle.m: warnings * GSWeb.framework/GSWeb.h: added include GSWeb/GSWSessionTimeOut.h, GSWWOCompatibility.h * GSWeb.framework/GSWAdaptor.m: traces * GSWeb.framework/GSWDefaultAdaptor.m: handle WO/GSWeb names, added traces * GSWeb.framework/GSWDefaultAdaptorThread.m/.h: handle WO/GSWeb names * GSWeb.framework/NSNonBlockingFileHandle.m: added traces * GSWeb.framework/GSWTemplateParserANTLR.m: handle WO/GSWeb names * GSWeb.framework/GSWTemplateParserXML.m: handle WO/GSWeb names added tag count to help errors hunt remove "Tag gsweb invalid" message handle unicode strings in node content traces remove html and body tags if they are not present in the template * GSWeb.framework/GSWTemplateParseXML.h: added ivar _isHTMLTag, _isBodyTag * GSWeb.framework/GSWSessionTimeOutManager.m: dealloc sessionOrderedTimeOuts instead of deallocating 2 times sessionTimeOuts * GSWExtensions.framework/French.lproj/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch, Encode french characters * GSWExtensions.framework/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html: tag mismatch * GSWHTMLBareString.m: handle unicode strings in description * GSWExtensions.framework/French.lproj/GSWExceptionPage.gswc/GSWExceptionPage.html: Encode french characters, Tag Mismatch * GSWExtensions.framework/French.lproj/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.html: Encode french characters * GSWExtensions.framework/French.lproj/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.html: Encode french characters * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.html: Tag Mismatch * GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd: added convertHTMLEntities for strings * GSWeb.framework/GSWRepetition.m: added traces, fix "count" property bug, standardize ivars * GSWeb.framework/NSObject+IVarAccess+PerformSel.m: added traces, handle underscored ivars search git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@9332 72102866-910b-0410-8b05-ffd578937521
2001-03-11 17:15:44 +00:00
};
LOGObjectFnStopC("GSWForm");
};
//--------------------------------------------------------------------
2002-05-14 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb.framework/GSWSubmitButton.m: o corrected setActionInvoked into _setActionInvoked * GSWeb.framework/GSWGeometricRegion.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.h: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWAssociation.m: o ivar names changes to conform to coding standards o headers changed for gsdoc o logs * GSWForm.h,.m: o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWContext.h: o Changed return type of -elementID and -senderID * GSWContext.m: o Changed return type of -elementID and -senderID * GSWDisplayGroup.m: o logs * GSWeb.framework/GSWPopUpButton.h,.m: o added count & index parameters (like GSWRepetition) * GSWTextField.m: o handling exception in takeValue * GSWText.m: o handling exception in takeValue * GSWInput.m: o corrected bug in akeValuesFromRequest:inContext: * GSWExtensionsGSW.framework: o added GSWFileUploadComponent * GSWExtensionsGSW.framework/GNUmakefile o added GSWFileUploadComponent * GSWComponent.h: o added -definitionName o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWComponent.m: o added -definitionName o added exception handling for debugging purpose o ivar names changes to conform to coding standards o headers changed for gsdoc * GSWKeyValueAssociation.m: o logs * GSWConstantValueAssociation.m: o logs * GSWApplication.h: o added -saveResponsesPath * GSWApplication.m: o added -saveResponsesPath o added GSWOPT_SaveResponsesPath o added exception handling for debugging purpose * GSWConstants.h/.m: o added GSWOPT_SaveResponsesPath * GSWConfig.h: o added GSWOPTVALUE_SaveResponsesPath * GSWDefaultAdaptorThread.h: o add response saving * GSWDefaultAdaptorThread.m: o add response saving * GSWeb.framework/GSWResponse.m o added -appendDebugCommentContentString: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13651 72102866-910b-0410-8b05-ffd578937521
2002-05-14 11:28:50 +00:00
-(void)_appendCGIActionToResponse:(GSWResponse*)response
inContext:(GSWContext*)context
{
2003-01-19 Manuel Guesdon <mguesdon@orange-concept.com> * GSWeb/GSWApplication.m o removed unused +initialize * GSWeb/GSWDefaultAdaptorThread.m: o more information on "bad request first line" exception * GSWeb/GSWHTMLDynamicElement.m o in -initWithName:attributeAssociations:contentElements: add "" to association values because XML parser romove them. o added -computeActionStringWithActionClassAssociation: directActionNameAssociation:inContext: o added -computeQueryDictionaryWithActionClassAssociation: directActionNameAssociation:queryDictionaryAssociation: otherQueryAssociations:inContext: * GSWeb/GSWResponse.m: o don't append debugcomment if !GSDebugSet(@"debugComments") o fixed bug in appendContentString: in NSAssert3 params o adedd -_appendTagAttribute:value:escapingHTMLAttributeValue: o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWResponse.h: o added -forceFinalizeInContext o added GSWResponse (GSWResponseRedirected) * GSWeb/GSWTemplateParserXML.m: o only include comments if [GSWApplication includeCommentsInResponses] * GSWExtensions.framework/GSWLongResponsePage.m: o in -cancel call cancelPageForStatus: instead of cancelPage o declare private interface * GSWeb/GSWComponent.m: o don't output end of component commend if !DEBUG && !GSDebugSet(@"gswcomponents") o fixes in _generateResponseInContext: * GSWeb/GSWContext.[hm]: o added _userInfo to enable developper context specific temporary information storage o added -userInfo o added -_generateRelativeURLs o make -_generateCompleteURLs returning previous state. o added -directActionURLForActionNamed:queryDictionary:isSecure: o added -_directActionURLForActionNamed:queryDictionary:isSecure:url: o added -componentActionURLIsSecure: o modified -session o modified -_takeAwakeComponent: to not add already added component o implemented _takeAwakeComponentsFromArray; o fixed -_incrementContextID o added _session o fixes in -copyWithZone to keep mutable objects mutables. o added _requestContextID o added -_setRequestContextID: and -_requestContextID; * GSWeb/GSWHyperlink.[hm]: o added _secure o added binding validation tests o fixes in -appendToResponse:inContext: o handle correctly otherQueryAssociations (bindings starting with '?') * GSWeb/GSWConstants.[hm]: o added cidStore__Key for GSWHTMLURLValuedElement o added cidKey__Key for GSWHTMLURLValuedElement * GSWeb/GSWImage.[hm]: o added _width, _height * GSWeb/GSWHTMLURLValuedElement.[hm] o implemented -_appendCGIActionURLToResponse:inContext: o implemented -computeActionStringInContext: o implemented -computeQueryDictionaryInContext: o handle otherQueryAssociations (bindings starting with '?') o handle cidStore and cidKey * GSWeb/GSWRequest.[hm]: o added _context o changes for compilation warnings o added -sessionIDFromValuesOrCookieByLookingForCookieFirst: o added +_lookForIDsInCookiesFirst o rewrite form/uri/cookie values retrieving (for sessionID,...) o new use GSMimeParser for formData parsing * Doc/antlr.txt added * GSWeb/GSWPageDefParser.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.txt regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefParserTokenTypes.h regenerated to handle (bindings starting with '?') * GSWeb/GSWPageDefLexer.[hm] regenerated to handle (bindings starting with '?') * GSWeb/GSWUtils.[hm]: o added -extractObjectsForKeysWithPrefix:removePrefix: o fixed bug in HexStringToData o fixed bug in NSDictionary +dictionaryWithArray:onSelector:withObject: * GSWeb/GSWForm.[hm] o handle otherQueryAssociations (bindings starting with '?') o implemented -computeQueryDictionaryInContext: o implemented/fixed -_appendHiddenFieldsToResponse:inContext: o implemented -_appendCGIActionToResponse:inContext: o fix -appendGSWebObjectsAssociationsToResponse:inContext: for directAction o added -computeActionStringInContext: o fixed -invokeActionForRequest:inContext: to invoke action when to element is invoked * GSWeb/GSWDirectAction.m: o fixed -_initializeRequestSessionIDInContext: o added -sessionIDForRequest: * GSWeb/NSString+HTML.[hm]: o added -dictionaryWithSep1:withSep2:withOptionUnescape:forceArray: * GSWeb/NSString+Trimming.m: o fix in +stringUniqueIdWithLength: initialize random generator * GSWeb/GSWSession.[hm]: o added createSessionID which create better sessionID (uniq in time and larger to give better security) o fixes in _saveCurrentPage * GSWeb/GSWBundle.m: o fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15630 72102866-910b-0410-8b05-ffd578937521
2003-01-19 15:33:07 +00:00
NSString* actionString=nil;
NSString* anUrl=nil;
LOGObjectFnStartC("GSWForm");
actionString=[self computeActionStringInContext:context];
NSDebugMLLog(@"gswdync",@"actionString=%@",actionString);
anUrl=(NSString*)[context directActionURLForActionNamed:actionString
queryDictionary:nil
isSecure:NO];
NSDebugMLLog(@"gswdync",@"anUrl=%@",anUrl);
[response _appendTagAttribute:@"action"
value:anUrl
escapingHTMLAttributeValue:NO];
LOGObjectFnStopC("GSWForm");
};
@end
//====================================================================
@implementation GSWForm (GSWFormC)
//--------------------------------------------------------------------
+(BOOL)hasGSWebObjectsAssociations
{
return YES;
};
@end