Re: Web standards in Tomcat webapps

2005-05-16 Thread Rick Beton
Mark Thomas wrote:
Bugzilla item with patch for review is the way to go. I suggest 
starting small in case there is something the committers don't like ;)

The other thing to bear in mind is that many of the docs and the 
Tomcat web-site are actually generated from xml using style sheets. 
See the CVS repository Jakarta-tomcat-site for details.

Roger wilco.
See http://issues.apache.org/bugzilla/show_bug.cgi?id=34931
I've added the same patch to it as per my first email.
Rick


--
Visit our website at www.roke.co.uk
Roke Manor Research Ltd, Roke Manor, Romsey, Hampshire SO51 0ZN, UK.
The information contained in this e-mail and any attachments is proprietary to
Roke Manor Research Ltd and must not be passed to any third party without
permission. This communication is for information only and shall not create or
change any contractual relationship.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Web standards in Tomcat webapps

2005-05-13 Thread Rick Beton
Schalk Neethling wrote:
Richard
If it is decided to move forward with this, I would also be willing to 
chip in and help the conversion to XHTML + CSS.

   newbie question:
What's the next step? 
Can I submit a bugzilla bug for upgrading these apps  to XHTML + CSS, or 
is there some other approval process?

Rick

--
Visit our website at www.roke.co.uk
Roke Manor Research Ltd, Roke Manor, Romsey, Hampshire SO51 0ZN, UK.
The information contained in this e-mail and any attachments is proprietary to
Roke Manor Research Ltd and must not be passed to any third party without
permission. This communication is for information only and shall not create or
change any contractual relationship.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Web standards in Tomcat webapps

2005-05-13 Thread Mark Thomas
Bugzilla item with patch for review is the way to go. I suggest starting 
small in case there is something the committers don't like ;)

The other thing to bear in mind is that many of the docs and the Tomcat 
web-site are actually generated from xml using style sheets. See the CVS 
repository Jakarta-tomcat-site for details.

Mark
Rick Beton wrote:
Schalk Neethling wrote:
Richard
If it is decided to move forward with this, I would also be willing to 
chip in and help the conversion to XHTML + CSS.

   newbie question:
What's the next step? Can I submit a bugzilla bug for upgrading these 
apps  to XHTML + CSS, or is there some other approval process?

Rick


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Web standards in Tomcat webapps

2005-05-12 Thread Beton, Richard
Hi all,

I'm new to this list - forgive me for bargeing in (if I am).

I'd like to see the webapps distributed with Tomcat upgraded to use web 
standards. I couldn't find any mention of this in bugzilla.

* Is this a Good Thing?  (...I think it is)

* Is anyone already doing it?

* I've attached a first stab at one of the jsp pages: the ROOT/index.jsp 
page.  It uses basic CSS but I don't think I used any CSS2 features that 
might be less backward-compatible.

* I may have spare lunchtimes etc when I might slowly work my way 
through other pages ... if there is enough interest in getting this done.

Rick




cvs -z3 -q diff -u index.jsp (in directory 
C:\rdb\sw\apache\jakarta-tomcat-catalina\webapps\ROOT)
Index: index.jsp
===
RCS file: /home/cvspublic/jakarta-tomcat-catalina/webapps/ROOT/index.jsp,v
retrieving revision 1.17
diff -u -r1.17 index.jsp
--- index.jsp15 Jan 2005 18:18:31 -1.17
+++ index.jsp12 May 2005 16:10:42 -
@@ -1,157 +1,173 @@
-!doctype html public -//w3c//dtd html 4.0 transitional//en 
http://www.w3.org/TR/REC-html40/strict.dtd;
+?xml version=1.0 encoding=ISO-8859-1?
+!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
+   http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
 %@ page session=false %
-html
+html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
 head
-meta http-equiv=Content-Type content=text/html; 
charset=iso-8859-1
 title%= application.getServerInfo() %/title
 style type=text/css
-  !--
+  /*![CDATA[*/
 body {
 color: #00;
 background-color: #FF;
-font-family: Arial, Times New Roman, Times;
-font-size: 16px;
+font-family: Arial, Times New Roman, Times, serif;
+margin: 10px 0px;
 }
 
-A:link {
-color: blue
+img {
+border: none;
 }
 
-A:visited {
-color: blue
+a:link, a:visited {
+color: blue;
+}
+
+th {
+font-family: Verdana, Times New Roman, Times, serif;
+font-size: 110%;
+font-weight: normal;
+font-style: italic;
+background: #D2A41C;
+text-align: left;
 }
 
 td {
 color: #00;
-font-family: Arial, Times New Roman, Times;
-font-size: 16px;
+font-family: Arial, Helvetica, sans-serif;
+}
+
+td.menu {
+background: #FFDC75;
+}
+
+.center {
+text-align: center;
 }
 
 .code {
 color: #00;
-font-family: Courier New, Courier;
-font-size: 16px;
+font-family: Courier New, Courier, monospace;
+font-size: 110%;
+margin-left: 2.5em;
+}
+
+#banner {
+margin-bottom: 12px;
+}
+
+p#congrats {
+margin-top: 0;
+font-weight: bold;
+text-align: center;
+}
+
+p#footer {
+text-align: right;
+font-size: 80%;
 }
-  --
+  /*]]*/
 /style
 /head
 
 body
 
 !-- Header --
-table width=100%
+table id=banner width=100%
 tr
-td align=left width=130a 
href=http://jakarta.apache.org/tomcat/index.html;img src=tomcat.gif 
height=92 width=130 border=0 alt=The Mighty Tomcat - MEOW!/td
-td align=left valign=top
-table
-trtd align=left valign=topb%= 
application.getServerInfo() %/b/td/tr
-/table
-/td
-td align=righta href=http://jakarta.apache.org/;img 
src=jakarta-banner.gif height=48 width=505 border=0 alt=The 
Jakarta Project/a/td
+td align=left style=width:130pxa 
href=http://jakarta.apache.org/tomcat/index.html;img src=tomcat.gif 
height=92 width=130
+alt=The Mighty Tomcat - MEOW!//a/td
+td align=left valign=topb%= 
application.getServerInfo() %/b/td
+td align=righta href=http://jakarta.apache.org/;img 
src=jakarta-banner.gif height=48 width=505 alt=The Jakarta 
Project//a/td
 /tr
 /table
 
-br
-
 table
 tr
 
 !-- Table of Contents --
 td valign=top
-table width=100% border=1 cellspacing=0 
cellpadding=3 bordercolor=#00
+table width=100% border=1 cellspacing=0 cellpadding=3
 tr
-td bgcolor=#D2A41C bordercolor=#00 
align=left nowrap
-font face=Verdana 
size=+1iAdministration/inbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/font
-/td
+thAdministration/th
 /tr
 tr
-td bgcolor=#FFDC75 bordercolor=#00 nowrap
-a href=manager/statusStatus/abr
-a href=adminTomcat Administration/abr
-a href=manager/htmlTomcat 

Re: Web standards in Tomcat webapps

2005-05-12 Thread Schalk Neethling
Richard
If it is decided to move forward with this, I would also be willing to 
chip in and help the conversion to XHTML + CSS.

Beton, Richard wrote:
Hi all,
I'm new to this list - forgive me for bargeing in (if I am).
I'd like to see the webapps distributed with Tomcat upgraded to use web 

standards. I couldn't find any mention of this in bugzilla.
* Is this a Good Thing?  (...I think it is)
* Is anyone already doing it?
* I've attached a first stab at one of the jsp pages: the ROOT/index.jsp 
page.  It uses basic CSS but I don't think I used any CSS2 features that 
might be less backward-compatible.

* I may have spare lunchtimes etc when I might slowly work my way 

through other pages ... if there is enough interest in getting this done.
Rick


cvs -z3 -q diff -u index.jsp (in directory 

C:\rdb\sw\apache\jakarta-tomcat-catalina\webapps\ROOT)
Index: index.jsp
===
RCS file: /home/cvspublic/jakarta-tomcat-catalina/webapps/ROOT/index.jsp,v
retrieving revision 1.17
diff -u -r1.17 index.jsp
--- index.jsp15 Jan 2005 18:18:31 -1.17
+++ index.jsp12 May 2005 16:10:42 -
@@ -1,157 +1,173 @@
-!doctype html public -//w3c//dtd html 4.0 transitional//en 

http://www.w3.org/TR/REC-html40/strict.dtd;
+?xml version=1.0 encoding=ISO-8859-1?
+!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
+   http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
%@ page session=false %
-html
+html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
head
-meta http-equiv=Content-Type content=text/html; 

charset=iso-8859-1
title%= application.getServerInfo() %/title
style type=text/css
-  !--
+  /*![CDATA[*/
body {
color: #00;
background-color: #FF;
-font-family: Arial, Times New Roman, Times;
-font-size: 16px;
+font-family: Arial, Times New Roman, Times, serif;
+margin: 10px 0px;
}

-A:link {
-color: blue
+img {
+border: none;
}

-A:visited {
-color: blue
+a:link, a:visited {
+color: blue;
+}
+
+th {
+font-family: Verdana, Times New Roman, Times, serif;
+font-size: 110%;
+font-weight: normal;
+font-style: italic;
+background: #D2A41C;
+text-align: left;
}

td {
color: #00;
-font-family: Arial, Times New Roman, Times;
-font-size: 16px;
+font-family: Arial, Helvetica, sans-serif;
+}
+
+td.menu {
+background: #FFDC75;
+}
+
+.center {
+text-align: center;
}

.code {
color: #00;
-font-family: Courier New, Courier;
-font-size: 16px;
+font-family: Courier New, Courier, monospace;
+font-size: 110%;
+margin-left: 2.5em;
+}
+
+#banner {
+margin-bottom: 12px;
+}
+
+p#congrats {
+margin-top: 0;
+font-weight: bold;
+text-align: center;
+}
+
+p#footer {
+text-align: right;
+font-size: 80%;
}
-  --
+  /*]]*/
/style
/head

body

!-- Header --
-table width=100%
+table id=banner width=100%
tr
-td align=left width=130a 

href=http://jakarta.apache.org/tomcat/index.html;img src=tomcat.gif 

height=92 width=130 border=0 alt=The Mighty Tomcat - MEOW!/td
-td align=left valign=top
-table
-trtd align=left valign=topb%= 

application.getServerInfo() %/b/td/tr
-/table
-/td
-td align=righta href=http://jakarta.apache.org/;img 
src=jakarta-banner.gif height=48 width=505 border=0 alt=The 

Jakarta Project/a/td
+td align=left style=width:130pxa 

href=http://jakarta.apache.org/tomcat/index.html;img src=tomcat.gif 

height=92 width=130
+alt=The Mighty Tomcat - MEOW!//a/td
+td align=left valign=topb%= 

application.getServerInfo() %/b/td
+td align=righta href=http://jakarta.apache.org/;img 
src=jakarta-banner.gif height=48 width=505 alt=The Jakarta 

Project//a/td
/tr
/table

-br
-
table
tr

!-- Table of Contents --
td valign=top
-table width=100% border=1 cellspacing=0 

cellpadding=3 bordercolor=#00
+table width=100% border=1 cellspacing=0 cellpadding=3
tr
-td bgcolor=#D2A41C bordercolor=#00 

align=left nowrap
-font face=Verdana 

size=+1iAdministration/inbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/font
-/td
+thAdministration/th
/tr
tr
-td bgcolor=#FFDC75 bordercolor=#00 nowrap
-a href=manager/statusStatus/abr
-