Monthly Archives: December 2010

Change where jQuery Validation messages are displayed

Yeah. jQuery form validation is proving to be very nice. If you have been following this blog, you have seen how to set-up the standard validations and even create your own custom validation. One problem I had to solve was … Continue reading

Posted in javascript, JQuery | Tagged , , , | Leave a comment

Custom jQuery Validation

My previous blog entry showed how to quickly add form validation. One that was not there was the ability to compare two fields that contain dates and validate that the field that should hold the older date was in-fact older. … Continue reading

Posted in javascript, JQuery | Tagged , , , | 1 Comment

jQuery Validation

jQuery makes it pretty easy to create form validation. All it takes it first setting the form up to validate when it submits. Then you indicate the type of validations that should occur. There are a couple of ways to … Continue reading

Posted in javascript, JQuery | Leave a comment

jQuery Datepicker

There are two date pickers. jQuery has one, but it is simplified. The one that I like to use is by Keith Wood. His datepicker plugin formed the basis of the jQuery datepicker plugin. Keith’s plugin is available here. Here … Continue reading

Posted in javascript, JQuery | Leave a comment

How do you add the user id to the logback log?

Create a filter class to add the value to the MDC: Add the filter class to the web.xml Modify the logback pattern to use the value added by the filter to the current logging thread.

Posted in logback | Leave a comment

How do you have different logging levels per environment

This is such a common problem. You want to have one file that you deploy everywhere, but you want it to behave differently based upon where you deploy it. An example is you want logback to log debug in dev, … Continue reading

Posted in logback | Leave a comment

Logback configuration

Maven has two places for configuration files that need to be deployed to the classpath. You need to place a logback configuration file in both. The main logback configuration file is named logback.xml and should be in src/main/resources of your … Continue reading

Posted in logback, Maven | Leave a comment