Venice now groks Cascading StyleSheets; the stylesheet is generated by a

special servlet and cached at runtime; various JSP pages and formatter classes
have been updated to respect the stylesheet settings
This commit is contained in:
Eric J. Bowersox
2001-10-31 02:13:02 +00:00
parent 6397f4212c
commit ec878e9dfc
50 changed files with 954 additions and 317 deletions

View File

@@ -154,15 +154,15 @@ public class ContentDialog implements Cloneable, ContentRender, ColorSelectors
if (error_message!=null)
{ // print the error message
out.write("<TABLE BORDER=0 ALIGN=CENTER CELLPADDING=6 CELLSPACING=0><TR VALIGN=TOP>"
+ "<TD ALIGN=CENTER>\n" + rdat.getStdFontTag(CONTENT_ERROR,3) + "<B>");
+ "<TD ALIGN=CENTER CLASS=\"content\">\n" + rdat.getStdFontTag(CONTENT_ERROR,3) + "<B>");
out.write(StringUtil.encodeHTML(error_message));
out.write("</B></FONT>\n</TD></TR></TABLE>\n");
} // end if
// Output the start of the form
out.write("<FORM NAME=\"" + formname + "\" METHOD=POST ACTION=\"");
out.write(rdat.getEncodedServletPath(action) + "\">" + rdat.getStdFontTag(CONTENT_FOREGROUND,2) + "\n");
out.write("<FORM NAME=\"" + formname + "\" METHOD=POST ACTION=\"" + rdat.getEncodedServletPath(action)
+ "\"><DIV CLASS=\"content\">" + rdat.getStdFontTag(CONTENT_FOREGROUND,2) + "\n");
enum = hidden_fields.keys();
while (enum.hasMoreElements())
@@ -204,7 +204,7 @@ public class ContentDialog implements Cloneable, ContentRender, ColorSelectors
if (command_order.size()>0)
{ // render the command buttons at the bottom
boolean is_first = true;
out.write("<DIV ALIGN=CENTER>");
out.write("<DIV ALIGN=CENTER CLASS=\"content\">");
enum = command_order.elements();
while (enum.hasMoreElements())
{ // render each of the command buttons in the list
@@ -221,7 +221,7 @@ public class ContentDialog implements Cloneable, ContentRender, ColorSelectors
} // end if
out.write("</FONT></FORM>\n");
out.write("</FONT></DIV></FORM>\n");
} // end renderHere