Pure-Essence.Net

Archive for the ‘non php code’ Category

SpringMVC generic errors

Posted by: pureessence on: December 29, 2009

I was looking around the net for this. Maybe I didn’t look hard enough but I wasn’t able to find it. Finally a coworker told me. If you use the SpringMVC framework and wish to show generic validation error messages at the top of the page, here’s how you do it: Obviously if you wish [...]

log4j properties loading problem + put ivy jar on classpath in ant

Posted by: pureessence on: October 6, 2009

I learned a few new tricks recently that I thought are pretty cool. If you use apache log4j, you can get very frustrated sometimes that it does not log based on what you defined in your log4j.properties file. This is because if your java web application contains other jars that also have log4j.properties, the log4j [...]

Custom font

Posted by: pureessence on: October 28, 2008

I saw another custom font solution today: typeface Instead of creating images or using flash just to show your site’s graphic text in the font you want, you can use typeface.js and write in plain HTML and CSS, just as if your visitors had the font installed locally. A while ago, I blogged about the [...]

jQuery may just win

Posted by: pureessence on: October 27, 2008

I’m still unhappy how I lost the jQuery battle at work. Although I’m not banned from using it but hey this is encouraging! jQuery may just win the javascript framework battle at least in the popularity category. Other frameworks are just not as user friendly IMO.

Tags:

Javascript Error: submit is not a function

Posted by: pureessence on: October 15, 2008

Just my luck and I ran into the dreaded submit is not a function javascript error. Here’s the scenario. While coding javascript along, you get a form via id or name on your html page and calls the submit() function on it. You think it should just behave as expected (submits the form) instead nothing [...]

Why I prefer jQuery over YUI

Posted by: pureessence on: October 11, 2008

While at work, I was trying to find a way to easily do server side pagination without writing all the lovely logic myself. Due to some constraints, I am unable to use more high end framework such as JSF and struts. Which in a way I believe is a good thing. I would have more [...]

Dodo's Text Counter

Posted by: pureessence on: May 30, 2008

I needed a text counter at work. I searched around trying to find a jQuery plugin that fits the bill but I didn’t find anything. So I wrote one myself. Check it out It should be pretty flexible. Requires jQuery Define the maximum of characters the user may input May be applied to one or [...]

Dodo's Picklist

Posted by: pureessence on: March 23, 2008

I needed a pick list script at work. I looked around and found a jQuery plugin but it didn’t do all I wanted so I modified it. I thought I’d share my final results with you. I will contact the original author to see if he wants to include my changes to his version as [...]

IE input background image issue

Posted by: pureessence on: February 28, 2008

IE strikes AGAIN! Just when I thought I was 100% done with the revamp of New Millennium, I noticed an UI issue in IE. I’m surprised I didn’t notice this before. It shouldn’t be anything new. I did some google research but didn’t find anyone mentioning it either. Applying background image to input tags should [...]

jQuery and Tamper data rock

Posted by: pureessence on: February 27, 2008

I’ve been working on a UI design at work and some of the build in components have border=”1″ on their generated table code. To achieve a consistent look, I always want border=”0″ on the table so I can control the table border with CSS. There is no way as far as I know you can [...]


My most adorable Pomeranians

Categories

Archives

SocialVibe


Follow

Get every new post delivered to your Inbox.

Join 123 other followers