CATEGORIES

Tuesday, February 14, 2012

Some Useful JQuery Plugins (Updated)

JQuery is awesome, it is an easy-to use javascript library and it really makes Javascript a joy to use. It has also tones of JQuery plugins out there.

In this post, I want to introduce some of the jQuery plugins that I frequently use in my projects. Qtip2, QueryLoader, Gmap3 and etc ... Check my personal web site, to see some of them in action and continue reading for more.


Ext JS 3.4 DOM Exception INVALID_STATE_ERR

I've experienced a strange situation in my Ext Js application. After I migrated to jsf 2 and changed jsp pages to well formed xhtmls, my extjs application started not to work. After some googling, I've come up with a solution. Here is the problem in Ext JS 3.4 library :

Because the inner html code in line 7648 is not well formed, it causes Chrome screen to freeze. You need to modify the Ext Js code. I don't know it is a good solution but closing the last div element fixes this case.

I don't know if the same problem occurs on Ext JS 4 because I haven't migrated to it yet.

The following StackOverflow answer helped me to fix the problem:

StackOverflow: DOM Exception when assigning HTML entities to innerHTML


About ExtJS: Ext JS is a JavaScript library for building interactive web applications using techniques such as Ajax, DHTML and DOM scripting. Originally built as an add-on library extension of YUI by Jack Slocum, Ext JS includes interoperability with jQuery and Prototype. Beginning with version 1.1, Ext JS retains no dependencies on external libraries, instead making their use optional. (Source: wikipedia)

Sunday, February 5, 2012

Java Magazine, January/February 2012 Issue

Third issue of the Java Magazine is available. If you have a subscription, you can start reading the digital issue now

Java Magazine is a free bi-monthly digital magazine and is all about Java technology, the Java programming language, and Java-based applications.

The highlight of the current issue is Java EE support for cloud computing. Some other topics are:

  • Winning the War Against Spam With Java
  • Project Coin Additions to Java SE 7
  • Introduction to RESTful Web Services
  • A tour of Java EE 7 JSRs
  • Using JLayer in Swing Applications
  • Understanding Hudson Plugins
  • Java FX and Swing
  • Glassfish Clustering and High Availability
  • Using the location API in Java Mobile
  • Using Maven to compare JVM Scripting Languages
  • Also news, events, and happenings in the java community.