Monthly Archives: April 2009

Gone are the days……..

Gone are the days……..but not the memories Received this in an email from someone. It is beautifully written and as you read, it actually transports you back to the good old school days. Gone are the days…….. Gone are the … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Using Log4j to selectively log to multiple files

You need to set up more categories in the log4j.properties file, this can be done like so: # The default root appender log4j.rootLogger=A1 # A1 is set to be a ConsoleAppender which outputs to System.out. log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%-22d{dd/MMM/yyyy HH:mm:ss} %-8p … Continue reading

Posted in Log4j | Tagged , | 2 Comments

HTML Colour Codes

Below is a link to a nice site that provides the Hex codes for colors. It also provides a widget to select your custom colour and then get the hex code for the same. http://www.quackit.com/html/html_color_codes.cfm

Posted in HTML | Tagged , | Leave a comment

Background colour for GWT-Ext Grid row

Here I describe how to set the background colour of a GWT-Ext grid row. A simple use of this would be to highlight a row containing errors. You would need to attach a GridView instance to the grid.  private EditorGridPanel … Continue reading

Posted in GWT, GWT-Ext | Tagged , , | 5 Comments

XSLT function to convert a number in Scientific Notation to Decimal format

Sometimes a division operation in XSLT returns a float/double value in scientific notation.  If you need the decimal equivalent of the same then use the below function:     <!– Converts numbers in Scientific Notation e.g. 6.15595432E8 to decimal –>        … Continue reading

Posted in XSLT | Tagged , , | 2 Comments