webwork/src/resources/web/tests tabletest.jsp,1.2,1.3 tabbedpanetest.jsp,1.1,1.2 formtest.jsp,1.3,1.4 formtest-disabled.jsp,1.1,1.2 cascadingTest.jsp,1.1,1.2

[email protected] Mon, 17 Jun 2002 05:51:10 -0700
Newsgroups gmane.comp.java.webwork.cvs
Message-ID <[email protected]>
Update of /cvsroot/webwork/webwork/src/resources/web/tests
In directory usw-pr-cvs1:/tmp/cvs-serv8018

Modified Files:
	tabletest.jsp tabbedpanetest.jsp formtest.jsp 
	formtest-disabled.jsp cascadingTest.jsp 
Log Message:
made it xhtml

Index: tabletest.jsp
===================================================================
RCS file: /cvsroot/webwork/webwork/src/resources/web/tests/tabletest.jsp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- tabletest.jsp	8 May 2002 21:13:37 -0000	1.2
+++ tabletest.jsp	17 Jun 2002 12:51:08 -0000	1.3
@@ -1,15 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+
 <%@ taglib uri="webwork" prefix="webwork" %>
-<HTML>
-<HEAD>
-	<LINK REL=STYLESHEET HREF="../template/standard/style.css" TYPE="text/css">
-</HEAD>
+<head>
+	<link rel="stylesheet" href="../template/standard/style.css" type="text/css"/>
+    <title>Table test</title>
+</head>
 
-<BODY>
-	<H1>TestAction</H1>
+<body>
+	<h1>TestAction</h1>
 
 	<webwork:if test=".">
 
-		<hr width="%69"/>
+		<hr width="69%"/>
 		<%/*Set up a date cell renderer with the desired format same as SimpleDateFormatter*/%>
 		<webwork:bean name="'webwork.view.taglib.ui.table.renderer.DateCellRenderer'" id="dateRenderer">
 			<webwork:param name="'formatString'" value="'yyyy-MM-dd'"/>
@@ -59,7 +63,7 @@
 		</webwork:table>
 	</webwork:if>
 	<webwork:else>
-		This JSP should NOT be called directly!
+		<p>This JSP should NOT be called directly!</p>
 	</webwork:else>
 </body>
-</HTML>
\ No newline at end of file
+</html>
\ No newline at end of file

Index: tabbedpanetest.jsp
===================================================================
RCS file: /cvsroot/webwork/webwork/src/resources/web/tests/tabbedpanetest.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- tabbedpanetest.jsp	3 Mar 2002 03:47:36 -0000	1.1
+++ tabbedpanetest.jsp	17 Jun 2002 12:51:08 -0000	1.2
@@ -1,8 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <%@ taglib uri="webwork" prefix="webwork" %>
-<html>
 <head>
 <title>TPTEST</title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
 </head>
 <body bgcolor="#FFFFFF" text="#000000">
 <form name="form1" method="post" action="<webwork:url/>">

Index: formtest.jsp
===================================================================
RCS file: /cvsroot/webwork/webwork/src/resources/web/tests/formtest.jsp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- formtest.jsp	22 Apr 2002 18:39:20 -0000	1.3
+++ formtest.jsp	17 Jun 2002 12:51:08 -0000	1.4
@@ -1,18 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <%@ taglib uri="webwork" prefix="webwork" %>
 <%@ taglib uri="webwork" prefix="ui" %>
-<%@ taglib uri="webwork" prefix="iterator" %>
 
-<link rel="stylesheet" type="text/css" href="../template/standard/styles.css" title="Style">
+<link rel="stylesheet" type="text/css" href="../template/standard/styles.css" title="Style"/>
 
-<html>
 <head>
 <title><webwork:text name="'title'"/></title>
 </head>
-<body>
 
+<body>
 <h1><webwork:text name="'title'">Form test</webwork:text></h1>
 
-<center>
+<p align="center">
 <form action="<webwork:url page="formtest.action"/>" method="POST">
 
 <table width="350" border="0" cellpadding="3" cellspacing="0">
@@ -57,21 +58,22 @@
    <ui:checkbox label="'Check here to receive additional information.  You must use a very long string of text to test the wrapping appearance of the checkbox label.'" name="'additionalInfo'" fieldValue="'true'"/>
 
    <tr><td colspan="2" align="center">
-   <input type=submit value="Update">
+   <input type="submit" value="Update"/>
    </td></tr>
 </table>
-
-</center>
-
 </form>
+</p>
 
-<I>Note:</I><br>
+<i>Note:</i><br/>
+<p>
 Most form elements are generated by custom tags. These are merely wrappers ("syntactic sugar") for included JSP files which you can call directly instead if you want to. Some form elements do not have
 tag counterparts and thus demonstrate this technique.
+</p>
 <p>
 Also note that some form elements have matching "bean" tags to provide the values.
+</p>
 <p>
 This page use the standard templates, so the JSP's are taken from /template/standard. Use the 'template="blah"' attribute on the form tags to use JSP's from /template/blah instead (a.k.a. "skinning").
-
+</p>
 </body>
 </html>

Index: formtest-disabled.jsp
===================================================================
RCS file: /cvsroot/webwork/webwork/src/resources/web/tests/formtest-disabled.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- formtest-disabled.jsp	3 Mar 2002 03:47:36 -0000	1.1
+++ formtest-disabled.jsp	17 Jun 2002 12:51:08 -0000	1.2
@@ -1,19 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <%@ taglib uri="webwork" prefix="webwork" %>
 <%@ taglib uri="webwork" prefix="ui" %>
 
-<link rel="stylesheet" type="text/css" href="../template/standard/styles.css" title="Style">
+<link rel="stylesheet" type="text/css" href="../template/standard/styles.css" title="Style"/>
 
-<html>
 <head>
 <title><webwork:text name="'title'"/></title>
 </head>
-<body>
 
+<body>
 <h1><webwork:text name="'title'">Form test</webwork:text> - DISABLED/READONLY controls</h1>
 
-<center>
+<p align="center">
 <form action="<webwork:url page="formtest.disabled.action"/>" method="POST">
-
 <table width="350" border="0" cellpadding="3" cellspacing="0">
 
    <ui:textfield label="text('user_name')" name="'user'" disabled="true" readonly="true"/>
@@ -48,26 +49,27 @@
 
    <ui:textarea label="'Comments'" name="'comments'" cols="30" rows="8" disabled="true"/>
 
-   <ui:checkbox label="'Check here to receive additional information.  You must use a very long string of text to test the wrapping appearance of the checkbox label.'" name="'additionalInfo'" fieldValue="'true'"
+   <ui:checkbox label="'Check here to receive additional information.  You must use a very long string of text to test the wrapping appearance of the checkbox label.'" name="'additionalInfo'" fieldValue="'true'"
       disabled="true"/>
 
    <tr><td colspan="2" align="center">
-   <input type=submit value="Update">
+   <input type="submit" value="Update"/>
    </td></tr>
 
 </table>
-
-</center>
-
 </form>
+</p>
 
-<I>Note:</I><br>
+<i>Note:</i><br/>
+<p>
 Most form elements are generated by custom tags. These are merely wrappers ("syntactic sugar") for included JSP files which you can call directly instead if you want to. Some form elements do not have
 tag counterparts and thus demonstrate this technique.
+</p>
 <p>
 Also note that some form elements have matching "bean" tags to provide the values.
+</p>
 <p>
 This page use the standard templates, so the JSP's are taken from /template/standard. Use the 'template="blah"' attribute on the form tags to use JSP's from /template/blah instead (a.k.a. "skinning").
-
+</p>
 </body>
 </html>

Index: cascadingTest.jsp
===================================================================
RCS file: /cvsroot/webwork/webwork/src/resources/web/tests/cascadingTest.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cascadingTest.jsp	3 Mar 2002 03:47:36 -0000	1.1
+++ cascadingTest.jsp	17 Jun 2002 12:51:08 -0000	1.2
@@ -2,7 +2,7 @@
 <html>
 <head>
 <title>Cascading Select Testing</title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
 <script language="JavaScript" src="script/map.js"></script>
 <script language="JavaScript" src="script/cascadingUtil.js"></script>
 </head>



_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/