From 6555709ca2cc64872c41dde081c0bf346c48f959 Mon Sep 17 00:00:00 2001 From: "Eric J. Bowersox" Date: Thu, 15 Jul 2004 03:46:00 +0000 Subject: [PATCH] fixed HTML code generation in the main frame and in some of the JSP tag classes --- .../venice/ui/jsp/FrameBannerAdTag.java | 15 +-- .../venice/ui/jsp/FrameBodyTag.java | 12 +-- .../venice/ui/jsp/FrameHeadTag.java | 6 +- web/format/frame.jsp | 98 +++++++++---------- 4 files changed, 67 insertions(+), 64 deletions(-) diff --git a/src/com/silverwrist/venice/ui/jsp/FrameBannerAdTag.java b/src/com/silverwrist/venice/ui/jsp/FrameBannerAdTag.java index 82d159c..ecfa57f 100644 --- a/src/com/silverwrist/venice/ui/jsp/FrameBannerAdTag.java +++ b/src/com/silverwrist/venice/ui/jsp/FrameBannerAdTag.java @@ -9,9 +9,9 @@ * * The Original Code is the Venice Web Communities System. * - * The Initial Developer of the Original Code is Eric J. Bowersox , + * The Initial Developer of the Original Code is Eric J. Bowersox , * for Silverwrist Design Studios. Portions created by Eric J. Bowersox are - * Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. + * Copyright (C) 2001-2004 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. * * Contributor(s): */ @@ -61,14 +61,17 @@ public class FrameBannerAdTag extends VeniceTagSupport { // compose the HTML fragment tmp = advert.getLinkURL(); if (tmp!=null) - write_data.append(""); - write_data.append("\"");"); + write_data.append("\"");"); + write_data.append("\" title=\""); + if (tmp2!=null) + write_data.append(tmp2); + write_data.append("\" align=\"right\" width=\"468\" height=\"60\" hspace=\"2\" vspace=\"2\" border=\"0\" />"); if (tmp!=null) - write_data.append(""); + write_data.append(""); } // end if else // path not computable - just write some junk diff --git a/src/com/silverwrist/venice/ui/jsp/FrameBodyTag.java b/src/com/silverwrist/venice/ui/jsp/FrameBodyTag.java index 6ad5376..221dca7 100644 --- a/src/com/silverwrist/venice/ui/jsp/FrameBodyTag.java +++ b/src/com/silverwrist/venice/ui/jsp/FrameBodyTag.java @@ -9,9 +9,9 @@ * * The Original Code is the Venice Web Communities System. * - * The Initial Developer of the Original Code is Eric J. Bowersox , + * The Initial Developer of the Original Code is Eric J. Bowersox , * for Silverwrist Design Studios. Portions created by Eric J. Bowersox are - * Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. + * Copyright (C) 2001-2004 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. * * Contributor(s): */ @@ -44,7 +44,7 @@ public class FrameBodyTag extends VeniceTagSupport implements ColorSelectors try { // write out what we came here to accomplish JspWriter out = pageContext.getOut(); - out.write(""); @@ -52,7 +52,7 @@ public class FrameBodyTag extends VeniceTagSupport implements ColorSelectors } // end try catch (IOException e) { // convert the I/O error into something the servlet engine can deal with - throw new JspTagException("error writing tag - " + e.getMessage()); + throw new JspTagException("error writing tag - " + e.getMessage()); } // end catch @@ -65,12 +65,12 @@ public class FrameBodyTag extends VeniceTagSupport implements ColorSelectors try { // write out what we came here to accomplish JspWriter out = pageContext.getOut(); - out.write(""); + out.write(""); } // end try catch (IOException e) { // convert the I/O error into something the servlet engine can deal with - throw new JspTagException("error writing tag - " + e.getMessage()); + throw new JspTagException("error writing tag - " + e.getMessage()); } // end catch diff --git a/src/com/silverwrist/venice/ui/jsp/FrameHeadTag.java b/src/com/silverwrist/venice/ui/jsp/FrameHeadTag.java index 22b4d07..2e59832 100644 --- a/src/com/silverwrist/venice/ui/jsp/FrameHeadTag.java +++ b/src/com/silverwrist/venice/ui/jsp/FrameHeadTag.java @@ -9,9 +9,9 @@ * * The Original Code is the Venice Web Communities System. * - * The Initial Developer of the Original Code is Eric J. Bowersox , + * The Initial Developer of the Original Code is Eric J. Bowersox , * for Silverwrist Design Studios. Portions created by Eric J. Bowersox are - * Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. + * Copyright (C) 2001-2004 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. * * Contributor(s): */ @@ -39,7 +39,7 @@ public class FrameHeadTag extends VeniceTagSupport } // end try catch (IOException e) { // convert the I/O error into something the servlet engine can deal with - throw new JspTagException("error writing tag info - " + e.getMessage()); + throw new JspTagException("error writing tag info - " + e.getMessage()); } // end catch diff --git a/web/format/frame.jsp b/web/format/frame.jsp index 9645d72..620747a 100644 --- a/web/format/frame.jsp +++ b/web/format/frame.jsp @@ -9,9 +9,9 @@ The Original Code is the Venice Web Communities System. - The Initial Developer of the Original Code is Eric J. Bowersox , + The Initial Developer of the Original Code is Eric J. Bowersox , for Silverwrist Design Studios. Portions created by Eric J. Bowersox are - Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. + Copyright (C) 2001-2004 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. Contributor(s): --%> @@ -19,39 +19,39 @@ <%@ taglib uri="/tlds/user" prefix="user" %> <%@ taglib uri="/tlds/util" prefix="util" %> - + BEGIN PAGE HEADER - " WIDTH="100%" CELLPADDING=2 CELLSPACING=0> - - +
+ " width="100%" cellpadding="2" cellspacing="0"> + + + - + - - + + Login reminders - -
Site logo - + Links to Front Page, Help, Find Front Page -

+ type="servlet">Front Page +

Help  |  Find -

+ Banner Ad -
+
- You are logged in as + You are logged in as  -  Create Account -
+
END PAGE HEADER - - - - - + + - - - + + + -
"> - +
+ + +
"> + BEGIN LEFT SIDEBAR - + - - + + END LEFT SIDEBAR -
+
variable menu -
 
+
 
fixed menu -
-
+
" CLASS="content"> + " class="content"> BEGIN PAGE CONTENT END PAGE CONTENT -
"> " CLASS="footer"> +
"> " class="footer"> PAGE FOOTER -
- - - - +
+
+
- +