Tuesday, February 14, 2012


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)

No comments:

Post a Comment