May 2, 2009 0
Dance with Dynamic Jasper Report

jasper report
May 2, 2009 0

jasper report
Feb 26, 2009 1
Stefanoverna.com write how to create a nice looking calendar like those in ICal using Jquery. It looks good
on
this web
Feb 17, 2009 0
Liquibase is the powerful database migration that available for free. For long time I am envy of rails database migration system. It is nice and have rich features.
Few weeks ago, I found that Grails has Liquibase plugin (there are 2, liquibase and autobase). I tried both plugins and autobase won my heart because the simplicity they offer (not using XML is the biggest advantages, for me at least). Liquibase however build as stand alone java application that you can run with any operating system that support java.
Here I will show you how to configure and using Liquibase on command line, so you can apply whether you are using php, python, or others programming language/framework
Feb 13, 2009 0
Sometimes we found that our server are not behave normal, like there are bugs or server produce runtime exception (or error 404 etc). Those exception are not returned by ajax. So it will keep hidden and seems nothing happened. But if you have firebug installed, you can found that there are errors happened from your server.
So here is how you can trap all errors and displayed on your screen (without using firebug).
This example works on grails main layout (but you can use this tips on any programming language, just put this code on main layout). My code using Jquery and JQalert to display the error
1 2 3 4 5 6 7 | $(document).ready(function(){ $(document).ajaxError(function(event, request, setting){ var re = /<br\/>|<br>/g; // for replacing all <br/> with empty string in error 404 var txt = request.responseText.replace(re,""); jqalert(txt,"Server Error"); }); }); |
Recent Comments