some serious new feature implementation:

- cookie-based persistent logins
- expanded activity reporting
- "top" and "fixed" left menus are now dynamically generated from XML config,
  not hard coded
- error reporting enhanced and protection increased
- "About Venice" page first draft
- new means of "framing" static content within the Venice "frame"
- base page now includes the "footer" itself, "content" pages don't anymore
- general cleanup of some heavyweight old containers, replaced with faster
  Collections framework containers
- probably more, there's a LOT of stuff in here
This commit is contained in:
Eric J. Bowersox
2001-04-09 03:20:58 +00:00
parent 3d32fe95c5
commit 63fedc9db6
77 changed files with 2817 additions and 558 deletions

View File

@@ -20,19 +20,6 @@
<%@ page import = "com.silverwrist.venice.core.*" %>
<%@ page import = "com.silverwrist.venice.servlets.Variables" %>
<%@ page import = "com.silverwrist.venice.servlets.format.*" %>
<%!
private static void renderMenu(HttpSession session, java.io.Writer out, RenderData rdat)
throws java.io.IOException
{
ComponentRender menu = Variables.getMenu(session);
if (menu==null)
menu = new MenuTop();
menu.renderHere(out,rdat);
} // end renderMenu
%>
<%
BaseJSPData basedat = BaseJSPData.retrieve(request);
Variables.failIfNull(basedat);
@@ -97,36 +84,51 @@ private static void renderMenu(HttpSession session, java.io.Writer out, RenderDa
<% if (rdat.useHTMLComments()) { %><!-- END PAGE HEADER --><% } %>
<TR VALIGN=TOP><TD ALIGN=CENTER>
<TABLE ALIGN=CENTER WIDTH="100%" BORDER=0 CELLPADDING=2 CELLSPACING=0><TR VALIGN=TOP>
<TD ALIGN=LEFT WIDTH=120 BGCOLOR="#9999FF">
<TABLE ALIGN=LEFT WIDTH=120 CELPADDING=0 CELLSPACING=0>
<% if (rdat.useHTMLComments()) { %><!-- BEGIN LEFT SIDEBAR --><% } %>
<TR VALIGN=TOP><TD VALIGN=LEFT><%= rdat.getStdFontTag(null,2) %>
<% if (rdat.useHTMLComments()) { %><!-- variable menu --><% } %>
<% renderMenu(session,out,rdat); %>
</FONT></TD></TR>
<TABLE ALIGN=CENTER WIDTH="100%" BORDER=0 CELLPADDING=2 CELLSPACING=0>
<TR VALIGN=TOP>
<TD ALIGN=LEFT WIDTH=120 BGCOLOR="#9999FF">
<TABLE ALIGN=LEFT WIDTH=120 CELPADDING=0 CELLSPACING=0>
<% if (rdat.useHTMLComments()) { %><!-- BEGIN LEFT SIDEBAR --><% } %>
<TR VALIGN=TOP><TD VALIGN=LEFT><%= rdat.getStdFontTag(null,2) %>
<% if (rdat.useHTMLComments()) { %><!-- variable menu --><% } %>
<% basedat.renderMenu(session,out,rdat); %>
</FONT></TD></TR>
<TR VALIGN=TOP><TD VALIGN=LEFT>&nbsp;</TD></TR>
<TR VALIGN=TOP><TD VALIGN=LEFT><%= rdat.getStdFontTag(null,2) %>
<% if (rdat.useHTMLComments()) { %><!-- fixed menu --><% } %>
<B>About This Site</B><BR>
<A HREF="/TODO">Documentation</A><BR>
<A HREF="/TODO">About Venice</A>
</FONT></TD></TR>
<TR VALIGN=TOP><TD VALIGN=LEFT>&nbsp;</TD></TR>
<TR VALIGN=TOP><TD VALIGN=LEFT><%= rdat.getStdFontTag(null,2) %>
<% if (rdat.useHTMLComments()) { %><!-- fixed menu --><% } %>
<% basedat.renderFixedMenu(out,rdat); %>
</FONT></TD></TR>
<% if (rdat.useHTMLComments()) { %><!-- END LEFT SIDEBAR --><% } %>
<% if (rdat.useHTMLComments()) { %><!-- END LEFT SIDEBAR --><% } %>
</TABLE>
</TD>
</TABLE>
</TD>
<TD ALIGN=LEFT WIDTH="100%" BGCOLOR="white">
<TABLE WIDTH="100%" BORDER=0 CELLPADDING=2 CELLSPACING=0><TR VALIGN=TOP><TD ALIGN=LEFT>
<TD ALIGN=LEFT WIDTH="100%" BGCOLOR="white">
<% if (rdat.useHTMLComments()) { %><!-- BEGIN PAGE CONTENT --><% } %>
<% basedat.renderContent(application,out,rdat); %>
<% if (rdat.useHTMLComments()) { %><!-- END PAGE CONTENT --><% } %>
</TD></TR></TABLE>
</TD>
</TR></TABLE>
<% if (rdat.useHTMLComments()) { %><!-- END PAGE CONTENT --><% } %>
</TD>
</TR>
<TR VALIGN=TOP>
<TD ALIGN=LEFT WIDTH=120 BGCOLOR="#9999FF">&nbsp;</TD>
<TD ALIGN=LEFT WIDTH="100%" BGCOLOR="white">
<% if (rdat.useHTMLComments()) { %><!-- PAGE FOOTER --><% } %>
<HR WIDTH="80%">
<TABLE ALIGN=CENTER BORDER=0 CELLPADDING=0 CELLSPACING=6><TR VALIGN=TOP>
<TD ALIGN=RIGHT><%= rdat.getStdFontTag(null,1) %>
<%= rdat.getStockMessage("footer-text") %>
</FONT></TD>
<TD ALIGN=LEFT>
<A HREF="http://venice.sourceforge.net" TARGET="_blank"><IMG
SRC="<%= rdat.getFullImagePath("powered-by-venice.gif") %>" ALT="Powered by Venice"
WIDTH=140 HEIGHT=80 BORDER=0 HSPACE=0 VSPACE=0></A>
</TD>
</TR></TABLE>
</TD>
</TR>
</TABLE>
</TD></TR>
</TABLE>
</BODY>