DWR -- Access Your Java Objects Directly From JavaScript

I must admit – I’m neither very experienced in the field of user interfaces nor really familiarised with all that JavaScript, jQuery stuff. I was always thinking of myself more as a service layer guy. Nevertheless, I wanted to improve my knowledge, so I decided to learn more about something called DWR (Direct Web Remoting). I’ve heard about it few years ago but never actually passed the “yeah, I’ve heard about it” stage....

May 11, 2012 · 7 min

How to turn off the autocomplete=off feature in Firefox

Sometimes you just really want to use the autocomplete feature and omit the HTML form autocomplete=off. To do so, you need to modify following file (the firefox version might, and probably will be, different than the one posted below): /usr/lib/firefox-3.6.10/components/nsLoginManager.js (Ubuntu) C:\Program Files\Mozilla Firefox\components\nsLoginManager.js (Windows) Change this: _isAutocompleteDisabled : function (element) { if (element.getAttribute("autocomplete").toLowerCase() == "off") return true; return false; } to this: _isAutocompleteDisabled : function (element) { return false; } or just add comments to the conditional section of the method, to assure it will always return false....

September 25, 2010 · 1 min