mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-05-30 00:31:34 +00:00
2002-12-06 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWExtensions.framework/Makefile.preamble: o added -I/usr/include/libxml2 in ADDITIONAL_INCLUDE_DIRS * GSWExtensionsGSW.framework/Makefile.preamble: o added -I/usr/include/libxml2 in ADDITIONAL_INCLUDE_DIRS * GSWeb/GSWeb.h: o removed #include <GSWeb/GSWTemplateParserXML.h> * GSWCheckBox.m: o logs o rewritten some part to match specifications o removed rcsId o documentation * GSWeb/GSWRadioButton.m: o logs o rewritten some part to match specifications o removed rcsId o documentation * GSWeb/GSWTemplateParser.m o added #include "GSWTemplateParserXML.h" o removed rcsId * GSWeb/GSWTemplateParserANTLR.m o added #include "GSWTemplateParserANTLR.h" o removed rcsId * GSWeb/GSWTemplateParserXML.m o added #include "GSWTemplateParserXML.h" o removed rcsId * GSWeb/GSWHTMLAttrParser.m o added #include "GSWHTMLAttrParser.h" o removed rcsId * GSWeb/GSWRepetition.m: o logs * Testing/DynamicElements/Makefile.preamble o removed -lFoundationExt * Examples/hello/Makefile.preamble o removed -lFoundationExt * GSWeb/GSWBundle.m: o logs * GSWeb/GSWInput.[hm]gswinput o added -valueInContext:context o removed rcsId * Testing/DynamicElements/CheckBox1Page.* o added *Testing/DynamicElements/CheckBox2Page.* o added * Testing/DynamicElements/RadioButton1Page.* o added * Testing/DynamicElements/RadioButton2Page.* o added * TODO: o updated git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@15261 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4cc05074d1
commit
1806a001f5
44 changed files with 914 additions and 201 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
|
@ -27,8 +28,6 @@
|
|||
</license>
|
||||
**/
|
||||
|
||||
static char rcsId[] = "$Id$";
|
||||
|
||||
#include <GSWeb/GSWeb.h>
|
||||
#include "BasePage.h"
|
||||
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
|
||||
$Revision$
|
||||
$Date$
|
||||
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
<license>
|
||||
|
@ -27,8 +28,6 @@
|
|||
</license>
|
||||
**/
|
||||
|
||||
static char rcsId[] = "$Id$";
|
||||
|
||||
#include <GSWeb/GSWeb.h>
|
||||
#include "BasePage.h"
|
||||
#include "Browser1Page.h"
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
|
@ -27,8 +28,6 @@
|
|||
</license>
|
||||
**/
|
||||
|
||||
static char rcsId[] = "$Id$";
|
||||
|
||||
#include <GSWeb/GSWeb.h>
|
||||
#include "BasePage.h"
|
||||
#include "Browser2Page.h"
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
#include "Base"
|
||||
|
||||
ACheckBox: GSWCheckBox
|
||||
{
|
||||
value = "MyValue";
|
||||
selection = checkBoxValue;
|
||||
checked = isChecked;
|
||||
};
|
||||
|
||||
CheckValue: GSWString
|
||||
{
|
||||
value = checkBoxValue;
|
||||
};
|
||||
|
||||
IsCheckedValue: GSWString
|
||||
{
|
||||
value = isChecked;
|
||||
};
|
|
@ -0,0 +1,18 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>GSWCheckBox Test 1</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>GSWCheckBox Test 1</h2>
|
||||
<br/>
|
||||
Value : <gsweb name="CheckValue"></gsweb><br/>
|
||||
Is Checked : <gsweb name="IsCheckedValue"></gsweb><br/>
|
||||
<br/>
|
||||
<gsweb name="Form">
|
||||
<gsweb name="ACheckBox"></gsweb>Check Me !
|
||||
<gsweb name="SubmitButton"></gsweb>
|
||||
</gsweb>
|
||||
<hr/>
|
||||
<gsweb name="MainPageLink"></gsweb>
|
||||
</body>
|
||||
</html>
|
42
Testing/DynamicElements/CheckBox1Page.h
Normal file
42
Testing/DynamicElements/CheckBox1Page.h
Normal file
|
@ -0,0 +1,42 @@
|
|||
/** CheckBox1Page.h - <title>GSWeb Testing: Class CheckBox1Page</title>
|
||||
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
|
||||
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
|
||||
Date: Dec 2002
|
||||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
<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.
|
||||
</license>
|
||||
**/
|
||||
|
||||
|
||||
#ifndef _CheckBox1Page_h__
|
||||
#define _CheckBox1Page_h__
|
||||
|
||||
@interface CheckBox1Page: BasePage
|
||||
{
|
||||
id _checkBoxValue;
|
||||
id _isChecked;
|
||||
}
|
||||
@end
|
||||
|
||||
#endif //_CheckBox1Page_h__
|
39
Testing/DynamicElements/CheckBox1Page.m
Normal file
39
Testing/DynamicElements/CheckBox1Page.m
Normal file
|
@ -0,0 +1,39 @@
|
|||
/** CheckBox1Page.m - <title>GSWeb Testing: Class CheckBox1Page</title>
|
||||
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
|
||||
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
|
||||
Date: Dec 2002
|
||||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
<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.
|
||||
</license>
|
||||
**/
|
||||
|
||||
#include <GSWeb/GSWeb.h>
|
||||
#include "BasePage.h"
|
||||
#include "CheckBox1Page.h"
|
||||
|
||||
|
||||
@implementation CheckBox1Page
|
||||
|
||||
@end
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
#include "Base"
|
||||
|
||||
ACheckBox: GSWCheckBox
|
||||
{
|
||||
selection = checkBoxValue;
|
||||
checked = isChecked;
|
||||
};
|
||||
|
||||
CheckValue: GSWString
|
||||
{
|
||||
value = checkBoxValue;
|
||||
};
|
||||
|
||||
IsCheckedValue: GSWString
|
||||
{
|
||||
value = isChecked;
|
||||
};
|
|
@ -0,0 +1,18 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>GSWCheckBox Test 2</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>GSWCheckBox Test 2</h2>
|
||||
<br/>
|
||||
Value : <gsweb name="CheckValue"></gsweb><br/>
|
||||
Is Checked : <gsweb name="IsCheckedValue"></gsweb><br/>
|
||||
<br/>
|
||||
<gsweb name="Form">
|
||||
<gsweb name="ACheckBox"></gsweb>Check Me !
|
||||
<gsweb name="SubmitButton"></gsweb>
|
||||
</gsweb>
|
||||
<hr/>
|
||||
<gsweb name="MainPageLink"></gsweb>
|
||||
</body>
|
||||
</html>
|
42
Testing/DynamicElements/CheckBox2Page.h
Normal file
42
Testing/DynamicElements/CheckBox2Page.h
Normal file
|
@ -0,0 +1,42 @@
|
|||
/** CheckBox2Page.h - <title>GSWeb Testing: Class CheckBox2Page</title>
|
||||
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
|
||||
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
|
||||
Date: Dec 2002
|
||||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
<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.
|
||||
</license>
|
||||
**/
|
||||
|
||||
|
||||
#ifndef _CheckBox2Page_h__
|
||||
#define _CheckBox2Page_h__
|
||||
|
||||
@interface CheckBox2Page: BasePage
|
||||
{
|
||||
id _checkBoxValue;
|
||||
id _isChecked;
|
||||
}
|
||||
@end
|
||||
|
||||
#endif //_CheckBox2Page_h__
|
39
Testing/DynamicElements/CheckBox2Page.m
Normal file
39
Testing/DynamicElements/CheckBox2Page.m
Normal file
|
@ -0,0 +1,39 @@
|
|||
/** CheckBox2Page.m - <title>GSWeb Testing: Class CheckBox2Page</title>
|
||||
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
|
||||
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
|
||||
Date: Dec 2002
|
||||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
<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.
|
||||
</license>
|
||||
**/
|
||||
|
||||
#include <GSWeb/GSWeb.h>
|
||||
#include "BasePage.h"
|
||||
#include "CheckBox2Page.h"
|
||||
|
||||
|
||||
@implementation CheckBox2Page
|
||||
|
||||
@end
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
|
@ -27,8 +28,6 @@
|
|||
</license>
|
||||
**/
|
||||
|
||||
static char rcsId[] = "$Id$";
|
||||
|
||||
#include <GSWeb/GSWeb.h>
|
||||
#include "BasePage.h"
|
||||
#include "CheckBoxList1Page.h"
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
|
@ -27,8 +28,6 @@
|
|||
</license>
|
||||
**/
|
||||
|
||||
static char rcsId[] = "$Id$";
|
||||
|
||||
#include <GSWeb/GSWeb.h>
|
||||
#include "BasePage.h"
|
||||
#include "CheckBoxList2Page.h"
|
||||
|
|
|
@ -56,7 +56,10 @@ Browser2Page.m \
|
|||
PopUpButton1Page.m \
|
||||
PopUpButton2Page.m \
|
||||
TextField1Page.m \
|
||||
|
||||
CheckBox1Page.m \
|
||||
CheckBox2Page.m \
|
||||
RadioButton1Page.m \
|
||||
RadioButton2Page.m \
|
||||
|
||||
DynamicElements_COMPONENTS = \
|
||||
Main.gswc \
|
||||
|
@ -69,6 +72,11 @@ Browser2Page.gswc \
|
|||
PopUpButton1Page.gswc \
|
||||
PopUpButton2Page.gswc \
|
||||
TextField1Page.gswc \
|
||||
CheckBox1Page.gswc \
|
||||
CheckBox2Page.gswc \
|
||||
RadioButton1Page.gswc \
|
||||
RadioButton2Page.gswc \
|
||||
|
||||
|
||||
SRCS = $(GSWAPP_NAME:=.m)
|
||||
|
||||
|
|
|
@ -54,9 +54,9 @@ ADDITIONAL_INCLUDE_DIRS = -I$(GNUSTEP_SYSTEM_ROOT)/db -I../..
|
|||
|
||||
# Additional LDFLAGS to pass to the linker
|
||||
ifeq ($(debug), yes)
|
||||
ADDITIONAL_LDFLAGS = -lFoundationExt_d -lGSWeb -lGSANTLR_d -lgnustep-db2_d -lgnustep-db2control_d
|
||||
ADDITIONAL_LDFLAGS = -lGSWeb -lGSANTLR_d -lgnustep-db2_d -lgnustep-db2control_d
|
||||
else
|
||||
ADDITIONAL_LDFLAGS = -lFoundationExt -lGSWeb -lGSANTLR -lgnustep-db2 -lgnustep-db2control
|
||||
ADDITIONAL_LDFLAGS = -lGSWeb -lGSANTLR -lgnustep-db2 -lgnustep-db2control
|
||||
endif
|
||||
|
||||
ifeq ($(LIBWRAP), yes)
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
|
@ -27,8 +28,6 @@
|
|||
</license>
|
||||
**/
|
||||
|
||||
static char rcsId[] = "$Id$";
|
||||
|
||||
#include <GSWeb/GSWeb.h>
|
||||
#include "BasePage.h"
|
||||
#include "PopUpButton1Page.h"
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
|
@ -27,8 +28,6 @@
|
|||
</license>
|
||||
**/
|
||||
|
||||
static char rcsId[] = "$Id$";
|
||||
|
||||
#include <GSWeb/GSWeb.h>
|
||||
#include "BasePage.h"
|
||||
#include "PopUpButton2Page.h"
|
||||
|
|
|
@ -0,0 +1,46 @@
|
|||
#include "Base"
|
||||
|
||||
|
||||
RadioButton1: GSWRadioButton
|
||||
{
|
||||
value = "MyValue1";
|
||||
selection = value;
|
||||
checked = isChecked1;
|
||||
name = "RadioButton";
|
||||
};
|
||||
|
||||
RadioButton2: GSWRadioButton
|
||||
{
|
||||
value = "MyValue2";
|
||||
selection = value;
|
||||
checked = isChecked2;
|
||||
name = "RadioButton";
|
||||
};
|
||||
|
||||
RadioButton3: GSWRadioButton
|
||||
{
|
||||
value = "MyValue3";
|
||||
selection = value;
|
||||
checked = isChecked3;
|
||||
name = "RadioButton";
|
||||
};
|
||||
|
||||
CheckValue: GSWString
|
||||
{
|
||||
value = value;
|
||||
};
|
||||
|
||||
IsCheckedValue1: GSWString
|
||||
{
|
||||
value = isChecked1;
|
||||
};
|
||||
|
||||
IsCheckedValue2: GSWString
|
||||
{
|
||||
value = isChecked2;
|
||||
};
|
||||
|
||||
IsCheckedValue3: GSWString
|
||||
{
|
||||
value = isChecked3;
|
||||
};
|
|
@ -0,0 +1,22 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>GSWRadioButton Test 1</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>GSWRadioButton Test 1</h2>
|
||||
<br/>
|
||||
Value : <gsweb name="CheckValue"></gsweb><br/>
|
||||
Is Checked 1 : <gsweb name="IsCheckedValue1"></gsweb><br/>
|
||||
Is Checked 2 : <gsweb name="IsCheckedValue2"></gsweb><br/>
|
||||
Is Checked 3 : <gsweb name="IsCheckedValue3"></gsweb><br/>
|
||||
<br/>
|
||||
<gsweb name="Form">
|
||||
<gsweb name="RadioButton1"></gsweb>Check Me 1 !
|
||||
<gsweb name="RadioButton2"></gsweb>Check Me 2 !
|
||||
<gsweb name="RadioButton3"></gsweb>Check Me 3 !
|
||||
<gsweb name="SubmitButton"></gsweb>
|
||||
</gsweb>
|
||||
<hr/>
|
||||
<gsweb name="MainPageLink"></gsweb>
|
||||
</body>
|
||||
</html>
|
44
Testing/DynamicElements/RadioButton1Page.h
Normal file
44
Testing/DynamicElements/RadioButton1Page.h
Normal file
|
@ -0,0 +1,44 @@
|
|||
/** RadioButton1Page.h - <title>GSWeb Testing: Class RadioButton1Page</title>
|
||||
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
|
||||
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
|
||||
Date: Dec 2002
|
||||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
<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.
|
||||
</license>
|
||||
**/
|
||||
|
||||
|
||||
#ifndef _RadioButton1Page_h__
|
||||
#define _RadioButton1Page_h__
|
||||
|
||||
@interface RadioButton1Page: BasePage
|
||||
{
|
||||
id _value;
|
||||
id _isChecked1;
|
||||
id _isChecked2;
|
||||
id _isChecked3;
|
||||
}
|
||||
@end
|
||||
|
||||
#endif //_RadioButton1Page_h__
|
39
Testing/DynamicElements/RadioButton1Page.m
Normal file
39
Testing/DynamicElements/RadioButton1Page.m
Normal file
|
@ -0,0 +1,39 @@
|
|||
/** RadioButton1Page.m - <title>GSWeb Testing: Class RadioButton1Page</title>
|
||||
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
|
||||
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
|
||||
Date: Dec 2002
|
||||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
<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.
|
||||
</license>
|
||||
**/
|
||||
|
||||
#include <GSWeb/GSWeb.h>
|
||||
#include "BasePage.h"
|
||||
#include "RadioButton1Page.h"
|
||||
|
||||
|
||||
@implementation RadioButton1Page
|
||||
|
||||
@end
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
#include "Base"
|
||||
|
||||
|
||||
RadioButton1: GSWRadioButton
|
||||
{
|
||||
selection = value;
|
||||
checked = isChecked1;
|
||||
name = "RadioButton";
|
||||
};
|
||||
|
||||
RadioButton2: GSWRadioButton
|
||||
{
|
||||
selection = value;
|
||||
checked = isChecked2;
|
||||
name = "RadioButton";
|
||||
};
|
||||
|
||||
RadioButton3: GSWRadioButton
|
||||
{
|
||||
selection = value;
|
||||
checked = isChecked3;
|
||||
name = "RadioButton";
|
||||
};
|
||||
|
||||
CheckValue: GSWString
|
||||
{
|
||||
value = value;
|
||||
};
|
||||
|
||||
IsCheckedValue1: GSWString
|
||||
{
|
||||
value = isChecked1;
|
||||
};
|
||||
|
||||
IsCheckedValue2: GSWString
|
||||
{
|
||||
value = isChecked2;
|
||||
};
|
||||
|
||||
IsCheckedValue3: GSWString
|
||||
{
|
||||
value = isChecked3;
|
||||
};
|
|
@ -0,0 +1,22 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>GSWRadioButton Test 2</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>GSWRadioButton Test 2</h2>
|
||||
<br/>
|
||||
Value : <gsweb name="CheckValue"></gsweb><br/>
|
||||
Is Checked 1 : <gsweb name="IsCheckedValue1"></gsweb><br/>
|
||||
Is Checked 2 : <gsweb name="IsCheckedValue2"></gsweb><br/>
|
||||
Is Checked 3 : <gsweb name="IsCheckedValue3"></gsweb><br/>
|
||||
<br/>
|
||||
<gsweb name="Form">
|
||||
<gsweb name="RadioButton1"></gsweb>Check Me 1 !
|
||||
<gsweb name="RadioButton2"></gsweb>Check Me 2 !
|
||||
<gsweb name="RadioButton3"></gsweb>Check Me 3 !
|
||||
<gsweb name="SubmitButton"></gsweb>
|
||||
</gsweb>
|
||||
<hr/>
|
||||
<gsweb name="MainPageLink"></gsweb>
|
||||
</body>
|
||||
</html>
|
44
Testing/DynamicElements/RadioButton2Page.h
Normal file
44
Testing/DynamicElements/RadioButton2Page.h
Normal file
|
@ -0,0 +1,44 @@
|
|||
/** RadioButton2Page.h - <title>GSWeb Testing: Class RadioButton2Page</title>
|
||||
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
|
||||
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
|
||||
Date: Dec 2002
|
||||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
<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.
|
||||
</license>
|
||||
**/
|
||||
|
||||
|
||||
#ifndef _RadioButton2Page_h__
|
||||
#define _RadioButton2Page_h__
|
||||
|
||||
@interface RadioButton2Page: BasePage
|
||||
{
|
||||
id _value;
|
||||
id _isChecked1;
|
||||
id _isChecked2;
|
||||
id _isChecked3;
|
||||
}
|
||||
@end
|
||||
|
||||
#endif //_RadioButton2Page_h__
|
39
Testing/DynamicElements/RadioButton2Page.m
Normal file
39
Testing/DynamicElements/RadioButton2Page.m
Normal file
|
@ -0,0 +1,39 @@
|
|||
/** RadioButton2Page.m - <title>GSWeb Testing: Class RadioButton2Page</title>
|
||||
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
|
||||
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
|
||||
Date: Dec 2002
|
||||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
<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.
|
||||
</license>
|
||||
**/
|
||||
|
||||
#include <GSWeb/GSWeb.h>
|
||||
#include "BasePage.h"
|
||||
#include "RadioButton2Page.h"
|
||||
|
||||
|
||||
@implementation RadioButton2Page
|
||||
|
||||
@end
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
|
@ -27,8 +28,6 @@
|
|||
</license>
|
||||
**/
|
||||
|
||||
static char rcsId[] = "$Id$";
|
||||
|
||||
#include <GSWeb/GSWeb.h>
|
||||
#include "BasePage.h"
|
||||
#include "RadioButtonList1Page.h"
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
|
@ -27,8 +28,6 @@
|
|||
</license>
|
||||
**/
|
||||
|
||||
static char rcsId[] = "$Id$";
|
||||
|
||||
#include <GSWeb/GSWeb.h>
|
||||
#include "BasePage.h"
|
||||
#include "RadioButtonList2Page.h"
|
||||
|
|
|
@ -58,6 +58,26 @@
|
|||
pageName = "TextField1Page";
|
||||
label = "TextField 1";
|
||||
comment = "GSWTextField Test 1";
|
||||
},
|
||||
{
|
||||
pageName = "CheckBox1Page";
|
||||
label = "CheckBox 1";
|
||||
comment = "GSWCheckBox Test 1";
|
||||
},
|
||||
{
|
||||
pageName = "CheckBox2Page";
|
||||
label = "CheckBox 2";
|
||||
comment = "GSWCheckBox Test 2";
|
||||
},
|
||||
{
|
||||
pageName = "RadioButton1Page";
|
||||
label = "RadioButton 1";
|
||||
comment = "GSWRadioButton Test 1";
|
||||
},
|
||||
{
|
||||
pageName = "RadioButton2Page";
|
||||
label = "RadioButton 2";
|
||||
comment = "GSWRadioButton Test 2";
|
||||
}
|
||||
);
|
||||
RadioButtonList = {
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
$Revision$
|
||||
$Date$
|
||||
$Id$
|
||||
|
||||
This file is part of the GNUstep Web Library.
|
||||
|
||||
|
@ -27,8 +28,6 @@
|
|||
</license>
|
||||
**/
|
||||
|
||||
static char rcsId[] = "$Id$";
|
||||
|
||||
#include <GSWeb/GSWeb.h>
|
||||
#include "BasePage.h"
|
||||
#include "TextField1Page.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue