Archive

Author Archive

Chrome error – NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7

June 6th, 2010 Karthikeyan C No comments

I came across the below error in Chrome while rendering a page ( the same page was working fine in Firefox, Opera).

NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7

I was using JSF 1.2 with Facelets. The solution is to mention the contentType attribute value as text/html in the f:view tag.


<f:view xmlns:f="http://java.sun.com/jsf/core" contentType="text/html">

Note: If the content is not mentioned as text/html, strict validation will occur where few DOM modifications like assigning to innerHTML is prohibited and hence the error.

  • Share/Bookmark
Categories: Development Tags:

Installing Eclipse Java EE (JEE) Galileo in Windows 7 using 64 bit JDK

June 2nd, 2010 Karthikeyan C No comments

Normally I do not do any development in Windows (I use Ubuntu for it). But recently tried setting up DEV environment in Windows 7 64 bit for a project which had Eclipse Java EE version – Galileo as the IDE.

I downloaded and installed 64 bit JDK 1.6.20 and then downloaded Eclipse JEE bundle for Windows platform. When i tried to run Eclipse it spit out an error dialog as it was a 64 bit JDK.

I searched for a 64 bit Eclipse JEE bundle but as on date cannot find one. Hence uninstalled  64 bit JDK and installed 32 bit JDK and continued with the setup.

Hope Eclipse soon comes out with a 64 bit JEE version soon.

  • Share/Bookmark
Categories: Tools / Utilities Tags:

MySQL – Select records matching date, ignoring the time portion

May 29th, 2010 Karthikeyan C No comments

Let us assume you have tasks scheduled for a given day in a planner. You wish to select all tasks in the given day. The following query will serve the purpose (the DATE function does the trick)


select * from task where DATE(startdatetime) = DATE('2010-05-29');
  • Share/Bookmark
Categories: Development Tags: