Overriding ExtJs CalendarPanel’s EventEditForm
I had earlier blogged about various aspects related to Brian Moeskau's CalendarPanel component for ExtJs 3.x here, here and here. Somewhere last Decembar, I also submitted a feature request to Brian for refactoring EventEditWindow and EventEditForm components of the...
Drupal 7 – Creating Drupal style tables with paging, sorting and sticky headers
My earlier blog post on creating Drupal 6 tables (I mean html tables and not database tables) complete with paging, sorting, sticky headers and other Drupal table features attracts a decent number of visitors (Analytics tell me). So, I thought of publishing another...
ExtJs 4 -Vertically stacked side-by-side multiple charts
ExtJs 4 was released yesterday and the reason I am pretty excited about this new ExtJs version is Charting. I have been using HighCharts with ExtJs till now. Although HighCharts work and look great, there isn't a standard adapter/bridge provided by either ExtJs or...

ExtJs 4 – Running docs over IIS in Windows
I have already been using ExtJs 4.0-Beta3 for the last couple of weeks. And an hour earlier, I occasionally went to the Sencha site to check one of my posts on the forums. And the surprise was waiting there. ExtJs 4 had been launched today.I immediately downloaded the...
Serializing/Deserializing .Net’s native RSA Public/Private keys
Okay, here's the second consecutive blog post on serializing/deserializing RSA public/private keys, this time generated by the native RSACryptoServiceProvider available in .Net (the previous post available here related to serializing keys generated by...
Serializing/Deserializing RSA Public/Private keys generated using Bouncy Castle library
.Net provides a good Cryptographic framework in the System.Security.Cryptography namepsace. But I have sometimes found it lacking for my needs (and non-intuitive at some other times). Yesterday I needed to generate a RSA Public-Private key pair in a client-server...
Google Chrome: Cannot read property ‘_commandLineAPI’ of undefined error
I was having problems debugging my javascript code in Google Chrome browser the other day. I was not able to use the Chrome Developer Tools' Console while stepping through a particular method (let's say "myProblematicMethod") in the javascript code, and was always...
Drupal – true “Save Draft” functionality for node forms by overriding node form validation
Let me clarify staright away that the code below has been tested successfully against Drupal 6 only. But I believe it should work with Drupal 7 also with minor changes (if any required). Okay now, let's come to the point."Save as Draft" as you can imagine is a pretty...
Drupal – node form validation methods in hook_form_alter should be set using #after_build to always execute on form submission
Last week, I was trying to add a custom validation method for node form of a particular content type in Drupal. My initial approach was as naive as specifying my custom validation method in hook_form_alter, something like the following: {syntaxhighlighter brush:...
.Net – Regex pattern for lazy balanced group matching
A couple of days ago, I needed to find all calls to a specific method in a large number of javascript files. The exact method call looked something like following:Rahul.t('String to be translated.');If you have been following my blog posts, or have otherwise read my...
Recent Comments