2002-04-15 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWDynamicURLString.h:
o remove NSMutableString protocol
* GSWUtils.m
o removed NSString and NSMutableString protocol use
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd:
o change .png to .mng
* GSWExtensions.framework/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd:
o added framework for image
* GSWeb.framework/GSWDisplayGroup.h:
o aded -setQueryOperator:
o added -initWithKeyValueUnarchiver:
* GSWeb.framework/GSWDisplayGroup.m:
o added -setQueryOperator:
o unarchive queryOperator
o changed hasMultipleBatches implementation
* GSWeb.framework/GSWBody.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImage.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWResourceURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFrame.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWDynamicElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWGenericElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElementIDString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWActionURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWHyperlink.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticGroup.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWInput.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWText.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWTextField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFileUpload.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWBrowser.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBox.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBoxList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPopUpButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButtonList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWSubmitButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHiddenField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPasswordField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImageButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13471 72102866-910b-0410-8b05-ffd578937521
2002-04-15 14:33:16 +00:00
|
|
|
/** GSWHyperlink.m - <title>GSWeb: Class GSWHyperlink</title>
|
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
Copyright (C) 2005-2006 Free Software Foundation, Inc.
|
2000-01-22 12:49:49 +00:00
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
Written by: David Wetzel <dave@turbocat.de> http://www.turbocat.de/
|
|
|
|
Date: Jan 2006
|
|
|
|
|
|
|
|
$Revision$
|
|
|
|
$Date$
|
2000-01-22 12:49:49 +00:00
|
|
|
|
2002-04-15 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWDynamicURLString.h:
o remove NSMutableString protocol
* GSWUtils.m
o removed NSString and NSMutableString protocol use
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd:
o change .png to .mng
* GSWExtensions.framework/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd:
o added framework for image
* GSWeb.framework/GSWDisplayGroup.h:
o aded -setQueryOperator:
o added -initWithKeyValueUnarchiver:
* GSWeb.framework/GSWDisplayGroup.m:
o added -setQueryOperator:
o unarchive queryOperator
o changed hasMultipleBatches implementation
* GSWeb.framework/GSWBody.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImage.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWResourceURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFrame.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWDynamicElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWGenericElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElementIDString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWActionURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWHyperlink.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticGroup.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWInput.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWText.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWTextField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFileUpload.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWBrowser.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBox.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBoxList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPopUpButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButtonList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWSubmitButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHiddenField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPasswordField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImageButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13471 72102866-910b-0410-8b05-ffd578937521
2002-04-15 14:33:16 +00:00
|
|
|
$Revision$
|
|
|
|
$Date$
|
2003-01-19 15:33:07 +00:00
|
|
|
$Id$
|
2002-04-15 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWDynamicURLString.h:
o remove NSMutableString protocol
* GSWUtils.m
o removed NSString and NSMutableString protocol use
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd:
o change .png to .mng
* GSWExtensions.framework/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd:
o added framework for image
* GSWeb.framework/GSWDisplayGroup.h:
o aded -setQueryOperator:
o added -initWithKeyValueUnarchiver:
* GSWeb.framework/GSWDisplayGroup.m:
o added -setQueryOperator:
o unarchive queryOperator
o changed hasMultipleBatches implementation
* GSWeb.framework/GSWBody.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImage.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWResourceURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFrame.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWDynamicElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWGenericElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElementIDString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWActionURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWHyperlink.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticGroup.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWInput.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWText.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWTextField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFileUpload.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWBrowser.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBox.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBoxList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPopUpButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButtonList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWSubmitButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHiddenField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPasswordField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImageButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13471 72102866-910b-0410-8b05-ffd578937521
2002-04-15 14:33:16 +00:00
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
This file is part of the GNUstep Web Library.
|
|
|
|
|
2002-04-15 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWDynamicURLString.h:
o remove NSMutableString protocol
* GSWUtils.m
o removed NSString and NSMutableString protocol use
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd:
o change .png to .mng
* GSWExtensions.framework/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd:
o added framework for image
* GSWeb.framework/GSWDisplayGroup.h:
o aded -setQueryOperator:
o added -initWithKeyValueUnarchiver:
* GSWeb.framework/GSWDisplayGroup.m:
o added -setQueryOperator:
o unarchive queryOperator
o changed hasMultipleBatches implementation
* GSWeb.framework/GSWBody.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImage.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWResourceURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFrame.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWDynamicElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWGenericElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElementIDString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWActionURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWHyperlink.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticGroup.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWInput.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWText.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWTextField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFileUpload.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWBrowser.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBox.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBoxList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPopUpButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButtonList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWSubmitButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHiddenField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPasswordField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImageButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13471 72102866-910b-0410-8b05-ffd578937521
2002-04-15 14:33:16 +00:00
|
|
|
<license>
|
2000-01-22 12:49:49 +00:00
|
|
|
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-04-15 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWDynamicURLString.h:
o remove NSMutableString protocol
* GSWUtils.m
o removed NSString and NSMutableString protocol use
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd:
o change .png to .mng
* GSWExtensions.framework/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd:
o added framework for image
* GSWeb.framework/GSWDisplayGroup.h:
o aded -setQueryOperator:
o added -initWithKeyValueUnarchiver:
* GSWeb.framework/GSWDisplayGroup.m:
o added -setQueryOperator:
o unarchive queryOperator
o changed hasMultipleBatches implementation
* GSWeb.framework/GSWBody.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImage.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWResourceURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFrame.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWDynamicElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWGenericElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElementIDString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWActionURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWHyperlink.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticGroup.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWInput.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWText.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWTextField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFileUpload.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWBrowser.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBox.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBoxList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPopUpButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButtonList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWSubmitButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHiddenField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPasswordField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImageButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13471 72102866-910b-0410-8b05-ffd578937521
2002-04-15 14:33:16 +00:00
|
|
|
</license>
|
|
|
|
**/
|
2000-01-22 12:49:49 +00:00
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
// todo disabledInContext ??
|
|
|
|
|
2003-03-21 14:32:57 +00:00
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
RCS_ID("$Id$")
|
2000-01-22 12:49:49 +00:00
|
|
|
|
2003-01-22 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWeb.framework/Makefile.postamble:
o use $(LN_S) -f in install-WO-headers
o added $(MKDIRS) $(GNUSTEP_HEADERS)/$(GSWExtensions_wo_HEADER_FILES_INSTALL_DIR);
* GSWExtensionsGSW.framework/Makefile.postamble: use $(LN_S) -f in install-WO-headers
2003-01-20 David Ayers <d.ayers@inode.at>
* Makefile.postamble
o added support for make gswnames=(gsw,wo,all) (corrected
typo)
o reinserted support for $(INSTALL_ROOT_DIR)
* config.h.in
o added HAVE_GDL2
* configure
o added support for --with-gswnames=(gsw,wo,all)
o set LIBWRAP during configure
o added config.mak.in as configurable file
* configure.ac
o (see configure)
* config.mak: removed (replaced by config.mak.in)
* config.mak.in: new file
o added support for make gswnames=(gsw,wo,all)
* gsweb.make.in
o add GSANTLR as auxiliary lib
o add gsweb libs to AUXILIARY_GSW_LIBS
o include correct extensions for GSW/WO-libs
* gsweb_wo.make: new file
* GSWeb/GSWConfig.h
o changed support for GSWEB_WONAMES
o conditionally import file GSWWOCompatiblity
here instead of in GSWeb.h
* GSWeb/GNUMakefile
o added support for make gswnames=(gsw,wo,all)
o ensure each lib gets built with its own object files
o removed deactivated framework extension determination code
o removed reference to unused files:
GSWeb.m, GSWWOCompatibility.m
o added references to new files:
GSWExtenstions.h, GSWExtWOCompatibility.h
o added support to create WO header files
* GSWeb/Makefile.postamble
o changed support to install WO header files according to
make gswnames=(gsw,wo,all)
o remove Makefile.preamble during distclean
* GSWeb/Makefile.preamble.in
o fixed typo
* GSWeb/GSWeb.h
o moved GSW/WO-Name-mapping to GSWWOCompatibility.h
o replaced inclusions of
<GSWeb/file.h> with "file.h"
* GSWeb/GSWeb.m: removed
* GSWeb/GSWWOCompatibility.h
o changed GSWEB_WONAMES handling
o removed hybrid namespace WO subclasses
o moved & reorganized GSW/WO-Name-mapping from GSWeb.h
o inlucluded missing GSW/WO-Name-mappings
* GSWeb/GSWWOCompatibility.m: removed
* GSWeb/*.m
o replaced inclusions of
<GSWeb/file.h> with "file.h"
* GSWeb/GSWApplication.m
o remove special GSW/WO handling of WOApp
* GSWeb/WebObject/WO*: removed
* GSWeb/WebObject/WebObjects
o replaced inclusions of
<GSWeb/file.h> with "file.h"
* GSWExtensions/GNUMakefile
o added support for make gswnames=(gsw,wo,all)
o ensure each lib gets built with its own object files
o removed deactivated framework extension determination code
o added references to new files:
GSWExtenstions.h, GSWExtWOCompatibility.h
o added support to create WO header files
* GSWExtensions/Makefile.preamble
o let gnustep make figure whether to link agains debug libs
o added support for make gswnames=(gsw,wo,all)
* GSWExtensions/Makefile.postamble
o changed support to install WO header files according to
make gswnames=(gsw,wo,all)
* GSWExtensions/*.m
o replaced inclusions of
<GSWeb/GSWeb.h> with "GSWExtWOCompatibility.h"
o replaces inclusions of
<GSWExtensions/file.h> with "file.h"
* GSWExtensions/GSWExtensions.h: new file
* GSWExtensions/WOExtensions.h: new file
* GSWExtensions/GSWExtWOCompatibility.h: new file
* GSWExtensionsGSW/GNUMakefile
o added support for make gswnames=(gsw,wo,all)
o ensure each lib gets built with its own object files
o removed deactivated framework extension determination code
o added references to new file GSWExtGSWWOCompatibility.h
o added support to create WO header files
* GSWExtensionsGSW/Makefile.pramble
o let gnustep make figure whether to link agains debug libs
o added support for make gswnames=(gsw,wo,all)
o removed GSWExtensions from ADDITIONAL_LIB_DIRS
* GSWExtensionsGSW/*.m
o replaced inclusions of
<GSWeb/GSWeb.h> with "GSWExtGSWWOCompatibility.h"
* GSWExtensions/GSWExtGSWWOCompatibility.h: new file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15675 72102866-910b-0410-8b05-ffd578937521
2003-01-22 12:24:26 +00:00
|
|
|
#include "GSWeb.h"
|
2000-01-22 12:49:49 +00:00
|
|
|
|
2004-12-31 14:33:16 +00:00
|
|
|
static GSWIMP_BOOL standardEvaluateConditionInContextIMP = NULL;
|
|
|
|
|
|
|
|
static Class standardClass = Nil;
|
2007-04-13 18:32:02 +00:00
|
|
|
static Class NSStringClass = Nil;
|
2004-12-31 14:33:16 +00:00
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
//====================================================================
|
|
|
|
@implementation GSWHyperlink
|
|
|
|
|
2004-12-31 14:33:16 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
+ (void) initialize
|
|
|
|
{
|
|
|
|
if (self == [GSWHyperlink class])
|
|
|
|
{
|
|
|
|
standardClass=[GSWHyperlink class];
|
2007-04-13 18:32:02 +00:00
|
|
|
NSStringClass = [NSString class];
|
2004-12-31 14:33:16 +00:00
|
|
|
|
|
|
|
standardEvaluateConditionInContextIMP =
|
|
|
|
(GSWIMP_BOOL)[self instanceMethodForSelector:evaluateConditionInContextSEL];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
-(void) dealloc
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2002-04-15 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWDynamicURLString.h:
o remove NSMutableString protocol
* GSWUtils.m
o removed NSString and NSMutableString protocol use
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd:
o change .png to .mng
* GSWExtensions.framework/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd:
o added framework for image
* GSWeb.framework/GSWDisplayGroup.h:
o aded -setQueryOperator:
o added -initWithKeyValueUnarchiver:
* GSWeb.framework/GSWDisplayGroup.m:
o added -setQueryOperator:
o unarchive queryOperator
o changed hasMultipleBatches implementation
* GSWeb.framework/GSWBody.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImage.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWResourceURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFrame.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWDynamicElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWGenericElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElementIDString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWActionURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWHyperlink.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticGroup.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWInput.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWText.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWTextField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFileUpload.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWBrowser.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBox.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBoxList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPopUpButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButtonList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWSubmitButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHiddenField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPasswordField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImageButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13471 72102866-910b-0410-8b05-ffd578937521
2002-04-15 14:33:16 +00:00
|
|
|
DESTROY(_action);
|
|
|
|
DESTROY(_string);
|
|
|
|
DESTROY(_pageName);
|
|
|
|
DESTROY(_href);
|
|
|
|
DESTROY(_disabled);
|
|
|
|
DESTROY(_fragmentIdentifier);
|
2010-04-22 04:28:50 +00:00
|
|
|
// DESTROY(_secure);
|
2002-04-15 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWDynamicURLString.h:
o remove NSMutableString protocol
* GSWUtils.m
o removed NSString and NSMutableString protocol use
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd:
o change .png to .mng
* GSWExtensions.framework/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd:
o added framework for image
* GSWeb.framework/GSWDisplayGroup.h:
o aded -setQueryOperator:
o added -initWithKeyValueUnarchiver:
* GSWeb.framework/GSWDisplayGroup.m:
o added -setQueryOperator:
o unarchive queryOperator
o changed hasMultipleBatches implementation
* GSWeb.framework/GSWBody.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImage.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWResourceURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFrame.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWDynamicElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWGenericElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElementIDString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWActionURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWHyperlink.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticGroup.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWInput.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWText.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWTextField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFileUpload.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWBrowser.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBox.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBoxList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPopUpButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButtonList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWSubmitButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHiddenField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPasswordField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImageButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13471 72102866-910b-0410-8b05-ffd578937521
2002-04-15 14:33:16 +00:00
|
|
|
DESTROY(_queryDictionary);
|
|
|
|
DESTROY(_actionClass);
|
|
|
|
DESTROY(_directActionName);
|
|
|
|
DESTROY(_otherQueryAssociations);
|
2007-04-13 18:32:02 +00:00
|
|
|
|
2000-01-22 12:49:49 +00:00
|
|
|
[super dealloc];
|
|
|
|
}
|
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
-(id)initWithName:(NSString*)name
|
|
|
|
associations:(NSDictionary*)associations
|
|
|
|
template:(GSWElement*)template
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2007-04-13 18:32:02 +00:00
|
|
|
self = [super initWithName:@"a" associations:associations template:template];
|
|
|
|
if (!self) {
|
|
|
|
return nil;
|
|
|
|
}
|
2000-01-22 12:49:49 +00:00
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
DESTROY(_otherQueryAssociations);
|
|
|
|
_otherQueryAssociations = RETAIN([_associations extractObjectsForKeysWithPrefix:@"?" removePrefix: YES]);
|
|
|
|
|
2008-08-20 20:32:10 +00:00
|
|
|
// _otherQueryAssociations = (((_otherQueryAssociations == nil) ||
|
|
|
|
// ([_otherQueryAssociations count] <= 0)) ? nil : _otherQueryAssociations);
|
2007-04-13 18:32:02 +00:00
|
|
|
|
|
|
|
if ((_otherQueryAssociations != nil) && ([_otherQueryAssociations count] == 0)) {
|
|
|
|
DESTROY(_otherQueryAssociations);
|
|
|
|
}
|
|
|
|
ASSIGN(_action, [_associations objectForKey: action__Key]);
|
|
|
|
if (_action != nil) {
|
|
|
|
[_associations removeObjectForKey: action__Key];
|
|
|
|
}
|
|
|
|
ASSIGN(_href, [_associations objectForKey: href__Key]);
|
|
|
|
if (_href != nil) {
|
|
|
|
[_associations removeObjectForKey: href__Key];
|
|
|
|
}
|
|
|
|
ASSIGN(_string, [_associations objectForKey: string__Key]);
|
|
|
|
if (_string != nil) {
|
|
|
|
[_associations removeObjectForKey: string__Key];
|
|
|
|
}
|
|
|
|
ASSIGN(_disabled, [_associations objectForKey: disabled__Key]);
|
|
|
|
if (_disabled != nil) {
|
|
|
|
[_associations removeObjectForKey: disabled__Key];
|
|
|
|
}
|
|
|
|
ASSIGN(_queryDictionary, [_associations objectForKey: queryDictionary__Key]);
|
|
|
|
if (_queryDictionary != nil) {
|
|
|
|
[_associations removeObjectForKey: queryDictionary__Key];
|
|
|
|
}
|
|
|
|
ASSIGN(_actionClass, [_associations objectForKey: actionClass__Key]);
|
|
|
|
if (_actionClass != nil) {
|
|
|
|
[_associations removeObjectForKey: actionClass__Key];
|
|
|
|
}
|
|
|
|
ASSIGN(_directActionName, [_associations objectForKey: directActionName__Key]);
|
|
|
|
if (_directActionName != nil) {
|
|
|
|
[_associations removeObjectForKey: directActionName__Key];
|
|
|
|
}
|
|
|
|
ASSIGN(_pageName, [_associations objectForKey: pageName__Key]);
|
|
|
|
if (_pageName != nil) {
|
|
|
|
[_associations removeObjectForKey: pageName__Key];
|
|
|
|
}
|
|
|
|
ASSIGN(_secure, [_associations objectForKey: secure__Key]);
|
|
|
|
if (_secure != nil) {
|
|
|
|
[_associations removeObjectForKey: secure__Key];
|
|
|
|
}
|
|
|
|
ASSIGN(_fragmentIdentifier, [_associations objectForKey: fragmentIdentifier__Key]);
|
|
|
|
if (_fragmentIdentifier != nil) {
|
|
|
|
[_associations removeObjectForKey: fragmentIdentifier__Key];
|
|
|
|
}
|
|
|
|
|
|
|
|
if ((_action == nil) && (_href == nil) && (_pageName == nil) &&
|
|
|
|
(_directActionName == nil) && (_actionClass == nil)) {
|
|
|
|
|
|
|
|
[NSException raise:NSInvalidArgumentException
|
|
|
|
format:@"%s: Missing required attribute: 'action' or 'href' or 'pageName' or 'directActionName' or 'actionClass'",
|
|
|
|
__PRETTY_FUNCTION__];
|
|
|
|
}
|
2008-08-20 20:32:10 +00:00
|
|
|
if (((_action != nil) && (_href != nil)) || ((_action != nil) && (_pageName != nil)) ||
|
|
|
|
((_href != nil) && (_pageName != nil)) || ((_action != nil) &&
|
|
|
|
(_directActionName != nil)) || ((_href != nil) && (_directActionName != nil)) || ((_pageName != nil) &&
|
|
|
|
(_directActionName != nil)) || ((_action != nil) && (_actionClass != nil))) {
|
2007-04-13 18:32:02 +00:00
|
|
|
|
|
|
|
[NSException raise:NSInvalidArgumentException
|
|
|
|
format:@"%s: At least two of these conflicting attributes are present: 'action', 'href', 'pageName', 'directActionName', 'actionClass'.",
|
|
|
|
__PRETTY_FUNCTION__];
|
|
|
|
}
|
|
|
|
if ((_action != nil) && ([_action isValueConstant])) {
|
|
|
|
[NSException raise:NSInvalidArgumentException
|
|
|
|
format:@"%s: 'action' is a constant.",
|
|
|
|
__PRETTY_FUNCTION__];
|
|
|
|
|
|
|
|
}
|
|
|
|
return self;
|
|
|
|
}
|
2000-01-22 12:49:49 +00:00
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
-(id) description
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2007-04-13 18:32:02 +00:00
|
|
|
return [NSString stringWithFormat:@"<%s %p action: %@ actionClass: %@ directActionName: %@ href:%@ string:%@ queryDictionary: %@ otherQueryAssociations: %@ pageName: %@ fragmentIdentifier:%@ disabled:%@ secure:%@ >",
|
2010-04-22 04:28:50 +00:00
|
|
|
object_getClassName(self),
|
2007-04-13 18:32:02 +00:00
|
|
|
(void*)self, _action, _actionClass, _directActionName, _href,
|
|
|
|
_string,
|
|
|
|
_queryDictionary, _otherQueryAssociations, _pageName,
|
|
|
|
_fragmentIdentifier, _disabled, _secure];
|
2000-01-22 12:49:49 +00:00
|
|
|
};
|
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
// isDisabled in wo5
|
|
|
|
- (BOOL) isDisabledInContext:(GSWContext *) context
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2007-04-13 18:32:02 +00:00
|
|
|
return ((_disabled != nil) && ([_disabled boolValueInComponent: GSWContext_component(context)]));
|
|
|
|
}
|
|
|
|
|
|
|
|
-(GSWElement*)invokeActionForRequest:(GSWRequest*) request
|
|
|
|
inContext:(GSWContext*) context
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2007-04-13 18:32:02 +00:00
|
|
|
NSString * str = nil;
|
|
|
|
id obj = nil;
|
|
|
|
id value = nil;
|
|
|
|
GSWComponent * component = GSWContext_component(context);
|
2004-01-09 11:36:22 +00:00
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
if ([[context elementID] isEqual:[context senderID]]) {
|
|
|
|
if ((_disabled == nil) || (![_disabled boolValueInComponent:component])) {
|
|
|
|
if (_pageName != nil) {
|
|
|
|
value = [_pageName valueInComponent:component];
|
|
|
|
if (value != nil) {
|
|
|
|
str = value; //stringValue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (_action != nil) {
|
|
|
|
obj = [_action valueInComponent:component];
|
|
|
|
} else {
|
|
|
|
if (_pageName == nil) {
|
|
|
|
[NSException raise:NSInternalInconsistencyException
|
|
|
|
format:@"%s: Missing page name.", __PRETTY_FUNCTION__];
|
|
|
|
}
|
|
|
|
if (str != nil) {
|
|
|
|
obj = [GSWApp pageWithName:str inContext:context];
|
|
|
|
} else {
|
|
|
|
// CHECKME: log page name? dave@turbocat.de
|
|
|
|
[NSException raise:NSInternalInconsistencyException
|
|
|
|
format:@"%s: cannot find page.", __PRETTY_FUNCTION__];
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
2008-08-20 20:32:10 +00:00
|
|
|
//TODO GSWNoContentElement
|
2007-04-13 18:32:02 +00:00
|
|
|
obj = nil;
|
2004-01-09 11:36:22 +00:00
|
|
|
}
|
2007-04-13 18:32:02 +00:00
|
|
|
if (obj == nil) {
|
|
|
|
obj = [context page];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return obj;
|
|
|
|
}
|
2000-01-22 12:49:49 +00:00
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
-(void) _appendOpenTagToResponse:(GSWResponse *) response
|
|
|
|
inContext:(GSWContext*) context
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2007-04-13 18:32:02 +00:00
|
|
|
if (! [self isDisabledInContext:context]) {
|
|
|
|
[super _appendOpenTagToResponse:response
|
|
|
|
inContext:context];
|
|
|
|
}
|
|
|
|
}
|
2000-01-22 12:49:49 +00:00
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
-(void) _appendCloseTagToResponse:(GSWResponse *) response
|
|
|
|
inContext:(GSWContext*) context
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2007-04-13 18:32:02 +00:00
|
|
|
if (! [self isDisabledInContext:context]) {
|
|
|
|
[super _appendCloseTagToResponse:response
|
|
|
|
inContext:context];
|
|
|
|
}
|
|
|
|
}
|
2000-01-22 12:49:49 +00:00
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
-(void) _appendQueryStringToResponse:(GSWResponse*) response
|
|
|
|
inContext:(GSWContext*) context
|
2003-01-19 15:33:07 +00:00
|
|
|
{
|
2007-04-13 18:32:02 +00:00
|
|
|
NSString * str = nil;
|
2008-08-20 20:32:10 +00:00
|
|
|
|
|
|
|
GSOnceMLog(@"%s is deprecated, use _appendQueryStringToResponse: inContext: requestHandlerPath: htmlEscapeURL:", __PRETTY_FUNCTION__);
|
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
NSDictionary * queryDict = [self computeQueryDictionaryWithActionClassAssociation: _actionClass
|
|
|
|
directActionNameAssociation: _directActionName
|
|
|
|
queryDictionaryAssociation: _queryDictionary
|
|
|
|
otherQueryAssociations: _otherQueryAssociations
|
|
|
|
inContext: context];
|
|
|
|
|
|
|
|
if ((queryDict != nil) && ([queryDict count] > 0)) {
|
|
|
|
str = [queryDict encodeAsCGIFormValues];
|
|
|
|
GSWResponse_appendContentCharacter(response,'?');
|
|
|
|
GSWResponse_appendContentHTMLAttributeValue(response, str);
|
|
|
|
}
|
|
|
|
}
|
2003-01-19 15:33:07 +00:00
|
|
|
|
2008-08-20 20:32:10 +00:00
|
|
|
-(void) _appendQueryStringToResponse:(GSWResponse*) response
|
|
|
|
inContext:(GSWContext*) context
|
|
|
|
requestHandlerPath: (NSString*) aRequestHandlerPath
|
|
|
|
htmlEscapeURL: (BOOL) htmlEscapeURL
|
|
|
|
{
|
|
|
|
NSString * str = nil;
|
|
|
|
NSString * path;
|
|
|
|
|
2013-03-03 02:02:36 +00:00
|
|
|
if (aRequestHandlerPath == nil) {
|
2008-08-20 20:32:10 +00:00
|
|
|
path = @"";
|
|
|
|
} else {
|
|
|
|
path = aRequestHandlerPath;
|
|
|
|
}
|
|
|
|
|
|
|
|
NSDictionary * queryDict = [self computeQueryDictionaryWithRequestHandlerPath: path
|
|
|
|
queryDictionaryAssociation: _queryDictionary
|
|
|
|
otherQueryAssociations: _otherQueryAssociations
|
|
|
|
inContext: context];
|
|
|
|
|
|
|
|
if ((queryDict != nil) && ([queryDict count] > 0)) {
|
2010-06-16 09:20:13 +00:00
|
|
|
str = [queryDict encodeAsCGIFormValuesEscapeAmpersand:htmlEscapeURL];
|
2008-08-20 20:32:10 +00:00
|
|
|
GSWResponse_appendContentCharacter(response,'?');
|
|
|
|
GSWResponse_appendContentHTMLAttributeValue(response, str);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
-(void) _appendFragmentToResponse:(GSWResponse*) response
|
|
|
|
inContext:(GSWContext*) context
|
2000-01-22 12:49:49 +00:00
|
|
|
|
2004-01-09 11:36:22 +00:00
|
|
|
{
|
2007-04-13 18:32:02 +00:00
|
|
|
if (_fragmentIdentifier != nil) {
|
|
|
|
id obj = [_fragmentIdentifier valueInComponent:GSWContext_component(context)];
|
|
|
|
if (obj != nil) {
|
|
|
|
GSWResponse_appendContentCharacter(response,'#');
|
|
|
|
GSWResponse_appendContentString(response, obj); // [obj stringValue] ??
|
|
|
|
}
|
|
|
|
}
|
2004-01-09 11:36:22 +00:00
|
|
|
}
|
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
-(void)_appendCGIActionURLToResponse:(GSWResponse*) response
|
|
|
|
inContext:(GSWContext*) context
|
2004-01-09 11:36:22 +00:00
|
|
|
{
|
2007-04-13 18:32:02 +00:00
|
|
|
NSString * actionStr = [self computeActionStringWithActionClassAssociation: _actionClass
|
|
|
|
directActionNameAssociation: _directActionName
|
|
|
|
inContext: context];
|
|
|
|
|
|
|
|
NSDictionary * queryDict = [self computeQueryDictionaryWithActionClassAssociation: _actionClass
|
|
|
|
directActionNameAssociation: _directActionName
|
|
|
|
queryDictionaryAssociation: _queryDictionary
|
|
|
|
otherQueryAssociations: _otherQueryAssociations
|
|
|
|
inContext: context];
|
|
|
|
NSString * urlString = nil;
|
|
|
|
if (_secure != nil) {
|
|
|
|
[context _generateCompleteURLs];
|
|
|
|
}
|
|
|
|
urlString = [context directActionURLForActionNamed: actionStr
|
|
|
|
queryDictionary: queryDict];
|
|
|
|
|
|
|
|
if (_secure != nil) {
|
|
|
|
[context _generateRelativeURLs];
|
|
|
|
}
|
|
|
|
GSWResponse_appendContentString(response,urlString);
|
|
|
|
|
|
|
|
[self _appendFragmentToResponse: response inContext:context];
|
2004-01-09 11:36:22 +00:00
|
|
|
}
|
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
-(void) appendAttributesToResponse:(GSWResponse *) response
|
|
|
|
inContext:(GSWContext*) context
|
2000-01-22 12:49:49 +00:00
|
|
|
{
|
2007-04-13 18:32:02 +00:00
|
|
|
id obj = nil;
|
|
|
|
|
|
|
|
GSWComponent * component = GSWContext_component(context);
|
|
|
|
BOOL securestuff = ((_secure != nil) && [_secure boolValueInComponent:component]);
|
|
|
|
|
|
|
|
[super appendAttributesToResponse: response
|
|
|
|
inContext: context];
|
|
|
|
|
|
|
|
if (_href != nil) {
|
|
|
|
obj = [_href valueInComponent:component];
|
|
|
|
}
|
|
|
|
if (_actionClass != nil || _directActionName != nil) {
|
|
|
|
GSWResponse_appendContentCharacter(response,' ');
|
|
|
|
GSWResponse_appendContentAsciiString(response, href__Key);
|
|
|
|
GSWResponse_appendContentCharacter(response,'=');
|
|
|
|
GSWResponse_appendContentCharacter(response,'"');
|
|
|
|
|
|
|
|
[self _appendCGIActionURLToResponse:response
|
|
|
|
inContext:context];
|
|
|
|
|
|
|
|
GSWResponse_appendContentCharacter(response,'"');
|
|
|
|
} else {
|
|
|
|
if (_action != nil || _pageName != nil) {
|
|
|
|
GSWResponse_appendContentCharacter(response,' ');
|
|
|
|
GSWResponse_appendContentAsciiString(response, href__Key);
|
|
|
|
GSWResponse_appendContentCharacter(response,'=');
|
|
|
|
GSWResponse_appendContentCharacter(response,'"');
|
|
|
|
if (securestuff) {
|
|
|
|
[context _generateCompleteURLs];
|
|
|
|
}
|
|
|
|
GSWResponse_appendContentString(response,
|
|
|
|
[context _componentActionURL]);
|
|
|
|
|
|
|
|
if (securestuff) {
|
|
|
|
[context _generateRelativeURLs];
|
|
|
|
}
|
2010-06-16 09:20:13 +00:00
|
|
|
[self _appendQueryStringToResponse:response
|
|
|
|
inContext:context
|
|
|
|
requestHandlerPath:nil
|
|
|
|
htmlEscapeURL:YES];
|
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
[self _appendFragmentToResponse: response inContext:context];
|
|
|
|
GSWResponse_appendContentCharacter(response,'"');
|
|
|
|
} else {
|
|
|
|
if (obj != nil) {
|
|
|
|
NSString * s1 = obj; //stringValue?
|
|
|
|
GSWResponse_appendContentCharacter(response,' ');
|
|
|
|
GSWResponse_appendContentAsciiString(response,href__Key);
|
|
|
|
GSWResponse_appendContentCharacter(response,'=');
|
|
|
|
GSWResponse_appendContentCharacter(response,'"');
|
|
|
|
if ([s1 isRelativeURL] && (![s1 isFragmentURL])) {
|
|
|
|
NSString * s = [context _urlForResourceNamed:s1 inFramework:nil];
|
|
|
|
if (s != nil) {
|
|
|
|
GSWResponse_appendContentString(response,s);
|
|
|
|
} else {
|
|
|
|
GSWResponse_appendContentAsciiString(response,[component baseURL]);
|
|
|
|
GSWResponse_appendContentCharacter(response,'/');
|
|
|
|
GSWResponse_appendContentString(response,s1);
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
GSWResponse_appendContentString(response,s1);
|
2002-04-15 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWDynamicURLString.h:
o remove NSMutableString protocol
* GSWUtils.m
o removed NSString and NSMutableString protocol use
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd:
o change .png to .mng
* GSWExtensions.framework/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd:
o added framework for image
* GSWeb.framework/GSWDisplayGroup.h:
o aded -setQueryOperator:
o added -initWithKeyValueUnarchiver:
* GSWeb.framework/GSWDisplayGroup.m:
o added -setQueryOperator:
o unarchive queryOperator
o changed hasMultipleBatches implementation
* GSWeb.framework/GSWBody.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImage.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWResourceURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFrame.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWDynamicElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWGenericElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElementIDString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWActionURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWHyperlink.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticGroup.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWInput.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWText.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWTextField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFileUpload.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWBrowser.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBox.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBoxList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPopUpButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButtonList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWSubmitButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHiddenField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPasswordField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImageButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13471 72102866-910b-0410-8b05-ffd578937521
2002-04-15 14:33:16 +00:00
|
|
|
}
|
2010-06-16 09:20:13 +00:00
|
|
|
|
|
|
|
[self _appendQueryStringToResponse:response
|
|
|
|
inContext:context
|
|
|
|
requestHandlerPath:nil
|
|
|
|
htmlEscapeURL:YES];
|
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
[self _appendFragmentToResponse: response inContext:context];
|
|
|
|
GSWResponse_appendContentCharacter(response,'"');
|
|
|
|
} else {
|
|
|
|
if (_fragmentIdentifier != nil) {
|
|
|
|
id obj2 = [_fragmentIdentifier valueInComponent:component];
|
|
|
|
if (obj2 != nil) {
|
|
|
|
GSWResponse_appendContentCharacter(response,' ');
|
|
|
|
GSWResponse_appendContentAsciiString(response,href__Key);
|
|
|
|
GSWResponse_appendContentCharacter(response,'=');
|
|
|
|
GSWResponse_appendContentCharacter(response,'"');
|
2010-06-16 09:20:13 +00:00
|
|
|
|
|
|
|
[self _appendQueryStringToResponse:response
|
|
|
|
inContext:context
|
|
|
|
requestHandlerPath:nil
|
|
|
|
htmlEscapeURL:YES];
|
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
GSWResponse_appendContentCharacter(response,'#');
|
|
|
|
GSWResponse_appendContentString(response,obj2); // stringValue?
|
|
|
|
GSWResponse_appendContentCharacter(response,'"');
|
|
|
|
}
|
2002-04-15 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWDynamicURLString.h:
o remove NSMutableString protocol
* GSWUtils.m
o removed NSString and NSMutableString protocol use
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd:
o change .png to .mng
* GSWExtensions.framework/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd:
o added framework for image
* GSWeb.framework/GSWDisplayGroup.h:
o aded -setQueryOperator:
o added -initWithKeyValueUnarchiver:
* GSWeb.framework/GSWDisplayGroup.m:
o added -setQueryOperator:
o unarchive queryOperator
o changed hasMultipleBatches implementation
* GSWeb.framework/GSWBody.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImage.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWResourceURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFrame.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWDynamicElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWGenericElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElementIDString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWActionURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWHyperlink.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticGroup.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWInput.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWText.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWTextField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFileUpload.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWBrowser.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBox.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBoxList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPopUpButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButtonList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWSubmitButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHiddenField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPasswordField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImageButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13471 72102866-910b-0410-8b05-ffd578937521
2002-04-15 14:33:16 +00:00
|
|
|
}
|
2007-04-13 18:32:02 +00:00
|
|
|
}
|
2002-04-15 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWDynamicURLString.h:
o remove NSMutableString protocol
* GSWUtils.m
o removed NSString and NSMutableString protocol use
* GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.gswd:
o change .png to .mng
* GSWExtensions.framework/GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswd:
o added framework for image
* GSWeb.framework/GSWDisplayGroup.h:
o aded -setQueryOperator:
o added -initWithKeyValueUnarchiver:
* GSWeb.framework/GSWDisplayGroup.m:
o added -setQueryOperator:
o unarchive queryOperator
o changed hasMultipleBatches implementation
* GSWeb.framework/GSWBody.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImage.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWResourceURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFrame.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWDynamicElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWGenericElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticElement.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWElementIDString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWActionURL.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
o removed logs
* GSWeb.framework/GSWHyperlink.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHTMLStaticGroup.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWInput.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWText.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWTextField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWFileUpload.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWBrowser.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBox.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWCheckBoxList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPopUpButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWRadioButtonList.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWSubmitButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWHiddenField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWPasswordField.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWString.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
* GSWeb.framework/GSWImageButton.h,.m:
o ivar names changes to conform to coding standards
o headers changed for gsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@13471 72102866-910b-0410-8b05-ffd578937521
2002-04-15 14:33:16 +00:00
|
|
|
}
|
2007-04-13 18:32:02 +00:00
|
|
|
}
|
|
|
|
}
|
2004-12-14 23:48:51 +00:00
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
-(void) appendContentStringToResponse:(GSWResponse *) response
|
|
|
|
inContext:(GSWContext*) context
|
|
|
|
{
|
|
|
|
if (_string != nil) {
|
|
|
|
id value = [_string valueInComponent:GSWContext_component(context)];
|
|
|
|
if (value != nil) {
|
|
|
|
if ([value isKindOfClass:NSStringClass]) {
|
|
|
|
GSWResponse_appendContentString(response, value);
|
|
|
|
} else {
|
|
|
|
GSWResponse_appendContentString(response, [value description]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2004-12-14 23:48:51 +00:00
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
-(void) appendChildrenToResponse:(GSWResponse *) response
|
|
|
|
inContext:(GSWContext*) context
|
|
|
|
{
|
|
|
|
[super appendChildrenToResponse:response
|
|
|
|
inContext:context];
|
2004-12-14 23:48:51 +00:00
|
|
|
|
2007-04-13 18:32:02 +00:00
|
|
|
[self appendContentStringToResponse:response
|
|
|
|
inContext:context];
|
|
|
|
}
|
2000-01-22 12:49:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
@end
|