This page is part of a searchable archive of the Code Style site log. Technical implementation notes that shed light on when, why and how the site has evolved since 2000.
Follow the latest entries to the site log.
Divided the Java programming FAQ to create a separate FAQ: Java servlets page. Updated the Java section index, Custom error 500 and various other site log and navigation references as necessary.
Actions: Ask a question about this post, seek clarification or offer a correction.
Applied a Creative Commons licence to the Javascript and CSS source of the DOM1 visibility menus. The licence permits free non-commercial usage with appropriate attribution and "share-alike" modification.
Actions: Ask a question about this post, seek clarification or offer a correction.
Added an xml-stylesheet link to the XHTMLtoRDF XSL output to format the Dublin Core metadata using the DC.css stylesheet. Added a generated content heading to DC.css at the document level and sub-headings for each nested rdf:Description element. Also applied content prefixes for dc:title and dc:description elements and general formatting so that it works with RDF documents in its own right. Applied overrides for the new Dublin Core styles in RSS.css.
rdf\:RDF {
font-family: sans-serif;
}
rdf\:RDF:before {
font-size: large;
font-weight: bold;
content: "Document RDF metadata";
}
rdf\:RDF rdf\:Description:before {
font-size: larger;
font-weight: bold;
content: "Nested RDF description";
border-bottom: solid 1px black;
}
rdf\:RDF rdf\:Description {
font-size: small;
}
dc\:title:before {
content: "Title: ";
}
dc\:description:before {
content: "Description: ";
}
Actions: Ask a question about this post, seek clarification or offer a correction.
Switched the attribute store in the AbstractMockHttpSession to a HashMap to permit null values and wrapped all access in synchronized blocks.
Actions: Ask a question about this post, seek clarification or offer a correction.
Added some notes on the tab navigation scheme used in the DOM1 visibility menus and set the CSS display property on the menu links to block so that they are active across the whole width of the menu.
/*
Make the whole width of the links
active -- height necessary for IE 5.5
*/
#LinkBar a, #MenuBar a {
display: block;
height: 1.3em;
}
Belatedly completed the media style sheet conformance results for Safari 1.2. In short, Safari is conformant with the CSS2 media types recommendation and supports all, screen and print media modes.
Actions: Ask a question about this post, seek clarification or offer a correction.
Added a boolean setFailOnSendRedirect field and mutator to the AbstractMockHttpServletResponse class to test failures when redirecting clients.
Actions: Ask a question about this post, seek clarification or offer a correction.
Amended the unit test for the W3CDTF timestamp class to set the test hour using the 24 hour constant Calendar.HOUR_OF_DAY rather than Calendar.HOUR. The tests had been failing depending on the time of day they were run! The default GregorianCalendar constructor assumes the current AM or PM status unless the hour is set explicitly.
Actions: Ask a question about this post, seek clarification or offer a correction.
Moved the Mac OS X American Typewriter font from the Monospace font sampler to the Serif font sampler. Although the form of the font is typewriter style, it is a variable width font.
Further simplified the definition list styling for non-FAQ types by removing the .FAQ class selector on the standard rule and adding a separate dl.FAQ selector rule that overrides the standard wide margin:
#Content p, #Content ol, #Content ul,
#Content dl, #Content pre, fieldset,
.MenuBox, #Content .SQL,
#Content .StackTrace {
margin-right: 31%;
}
#Content dl.FAQ {
margin-right: 0;
}
Added answers to several FAQ sections:
Adopted Tortoise SVN as a development version control system.
Actions: Ask a question about this post, seek clarification or offer a correction.
Find technical implementation notes on all aspects of the Code Style site.
For a summary overview, see the annotated site log contents.