Sunday, June 5, 2011

MySchedule-1.0.0 ready to use

I have made MySchedule-1.0.0 ready to use.

MySchedule is an open source web application dashboard for Quartz scheduler. Get the war file here: http://code.google.com/p/myschedule/downloads/list

It doesn't look pretty at the moment, but for those who are looking for more Quartz examples, especially on how to use Spring and run Quartz in a Web Container environment, the MySchedule project should get you jump started quickly.

If you have any issues or comments, feel free to enter them at http://code.google.com/p/myschedule/issues/list

Enjoy!

Monday, May 30, 2011

jQuery doesn't suport ajax over the file protocol

I was playing with jQueryUI today, and a simple example like this failed to update an page.

        $.get('data1.xml', function(data) {
            $('#main-panel').html(data)
        });

Running under Firefox4 locally on a PC (static local file protocols), I get errors like this inside Firebug:


Node cannot be inserted at the specified point in the hierarchy" code: "3

Turns out that this failure only occur when fetching local files because the same code works when deployed and run from a web server. Reading from a bug report here http://bugs.jqueryui.com/ticket/7225 seems to indicate that jQuery AJAX doesn't support local file protocol.

Interestingly, an IE browser works with above code! And also the jQuery's load method like $('#main-panel').load('data1.xml'); works fine with local file!

Saturday, May 28, 2011

Hello World!

Hello World!

This is my first post using "saltnlight5" in BlogSpot.

I am a Java Developer and I have keen interests in software development. I will try to post things I've learned and hopefully they can be a help for those who are looking for the same information.