Contact: Web / Voice / Email / Tips
Simple Thoughts Blog - Java and Web Technologies

The Javascript Blog

 

JavaOne 2008 is Starting Now…

May 6th, 2008 by Angsuman Chakraborty

JavaOne 2008 is starting in couple of hours. I will be there all four days soaking in all the knowledge, fun and sharing about it in this blog.

Read more (47 words) »

Tags: , , , , DCA, Headline News, Java Software, Javascript, Pro Blogging, Programming | Feedback | RSS 2.0 | Email this Article

9 Important Tips for Selenium Remote Control (Java client) - Test Tool

April 16th, 2008 by Angsuman Chakraborty

Selenium Remote Control (RC) is a test tool that allows you to write automated web application UI tests in many programming languages against any HTTP website using any mainstream JavaScript-enabled browser. Selenium RC is a powerful and simple framework for running (scheduled or manually) automated UI centric regression tests for web applications / services. Here are few simple tips for Selenium RC java client. I used JUnit for tests. You can use NGUnit too.

Read more (378 words) »

Tags: Browser, Firefox, Headline News, Internet Explorer, Java Software, Javascript, Load Testing, Programming, Quality Assurance, Regression Testing, Safari, Stress Testing, Test Automation Framework, Web, Web 2.0, Web Services | Feedback | RSS 2.0 | Email this Article

How To Communicate Between Java Applets

October 22nd, 2007 by Angsuman Chakraborty

Communication between Java applets has been an interesting topic from the early days of Java. There are several esoteric ways to communicate like using Javascript as a bridge. However we will look into the simplest and most reliable method of intra-applet communication.

Read more (122 words) »

Tags: Enterprise Software, Headline News, How To, J2EE, Java Software, Javascript, Open Source Software, Programming, Tech Note, Web, Web Services | 2 Comments | RSS 2.0 | Email this Article

Review: Top 6 Free Linux (& Windows) HTML Editors (Open Source) & Recommendation

September 11th, 2007 by Angsuman Chakraborty

I have tried several HTML Editors over the years. One of the earliest WYSIWYG HTML editor I used was Netscape Gold / Composer, which was quite basic but probably the only one at that time (1995). For quite sometime after that I used Visual Page, even when the product was discontinued because of its simplicity and ease of use. I graduated on to Dream Weaver. Anyway back to the present when I moved to Linux, I was looking for a high quality HTML editor to be a replacement of DreamWeaver on Linux platform. I was looking for an editor with WYSIWYG capability with modern CSS based layouts. I needed something light-weight and yet with well rounded features. Syntax highlighting was a nicety but not necessity.

I tried several editors including but not limited to SciTe Text Editor, Nvu, Bluefish Editor, XEmacs Text Editor, KompoZer & Quanta Plus. Here is a brief overview of each followed by my recommendation.
Read more (744 words) »

Tags: Enterprise Software, Fedora 7, Fedora Core 6, HTML Editor, Headline News, How To, Javascript, Linux, Linux Migration, Microsoft, Open Source Software, PHP, Programming, Software Review, Web, Web 2.0, Windows | 4 Comments | RSS 2.0 | Email this Article

ExtJS Hack: How To Get Selected Index of ExtJS ComboBox

August 20th, 2007 by Angsuman Chakraborty

ExtJS ComboBox doesn’t advertise, in its documentation, any way to get the selected index of a ComboBox. Looking at the code I realized we can use the undocumented property selectedIndex. However there is a catch.

Read more (63 words) »

Tags: ExtJS, Headline News, How To, Javascript, Programming, Tech Note, Web | Feedback | RSS 2.0 | Email this Article

ExtJS Hack: Dynamic ComboBox & Remote On-Demand Loading With Local Filtering

August 20th, 2007 by Angsuman Chakraborty

In ExtJS you can create ComboBox which loads data from the server. You can also code so that new data is loaded from the server in response to an event like changing selection of another ComboBox. However it also means that the filtering is done remotely which is slow.

In ExtJS ComboBox automatic filtering is a nifty capability where the ComboBox items are automatically filtered to show only the values which matches the text you typed so far. It can also auto-fill the rest for you. This powerful capability comes at a price for remote mode. Every time the data is filtered by sending a query to the server which can be slower than local query.

In many use cases the full data is already on the client side, fetched during the initial loading of the ComboBox. Subsequent filtering can be easily done on the client side. Let’s see how we can solve it.

Update: I have also filed a defect in ExtJS forum to hopefully incorporate the functionality in the core with suggested solutions. The defect details has been provided at the end of this post.
Read more (719 words) »

Tags: Ajax, Browser, ExtJS, Headline News, How To, Javascript, Programming, Tech Note, Web, Web 2.0 | 1 Comment | RSS 2.0 | Email this Article

How To Make AJAX Calls With ExtJS Easily

August 14th, 2007 by Angsuman Chakraborty

Simple things should be simple. While starting with ExtJS, I saw a screencast on Grid which used a rather dubious method of making an AJAX call using an actual form element. I hunted for a better option and I came across a better option - Ext.data.Connection. Here’s an working example on how you can easily make AJAX call in ExtJS library.

Read more (288 words) »

Tags: Ajax, Browser, ExtJS, Headline News, How To, Javascript, Programming, Web, Web 2.0, Web Services | 1 Comment | RSS 2.0 | Email this Article

How To Add Trim Functionality To Javascript String

August 12th, 2007 by Angsuman Chakraborty

Trim is a useful function available in languages like Java & PHP which removes the leading and traling whitespace(s) from a String. Unfortunately Javascript doesn’t natively provide trim functionality to the String object. Fortunately there is a simple solution. Place the following code near the top of your Javascript file (or inline script) to add trim() functionality to all String objects.
Read more (117 words) »

Tags: Javascript, Programming, Web, Web 2.0 | 1 Comment | RSS 2.0 | Email this Article

ExtJS: Ext.LayoutDialog Gotchas

August 8th, 2007 by Angsuman Chakraborty

After much debugging I realized that in creating dialogs using Ext.LayoutDialog class of ExtJS library we must specify the configuration for east, west, north and south properties, as required, in the LayoutDialog config (see below for more requirements, details and a working example). This should be done before you add the content panels to the layout of the dialog. Otherwise you will get some really hard to debug errors.

Read more (247 words) »

Tags: Ajax, Browser, Enterprise Software, ExtJS, Headline News, How To, Javascript, Programming, Web, Web 2.0, Web Services | Feedback | RSS 2.0 | Email this Article

Solving: Permission denied to get property HTMLDivElement.nodeType when calling method: [nsIDOMEventListener::handleEvent] nsresult: 0×8057001e (NS_ERROR_XPC_JS_THREW_STRING) location: data: no

July 31st, 2007 by Angsuman Chakraborty

This is a sporadic error that I have seen in Firefox browsers while using the Ext JS components. It is not harmful in any way but is annoying. It is filed as a Firefox defect and has been fixed for 3.0a5pre. In the earlier version here is how you can fix it for Firefox.

Read more (85 words) »

Tags: ExtJS, Headline News, How To, Javascript, Open Source Software, Programming, Web, Web 2.0, Web Services | Feedback | RSS 2.0 | Email this Article

No. 1 method to ethically increase your blog traffic and reach.

Translate

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanPřeložit do Čech/CzechOversætte hen til Dansk/DanishKääntää jotta Finnish/FinnishLefordít -hoz Magyar/HungarianÞýða til Íslenska/IcelandicTraducir a Latinoamericano Español/Latin American Spanishtagapagsalin sa Filipino/FilipinoTłumaczyć wobec Polski/PolishA traduce la spre Român/RomanianPrevesti za Srpski/Serbiantolmačiti v slovenski/SlovenianÖversätta till Svensk/SwedishChyfieitha at Cymraeg/Welshtercüme etmek -e doğru Türk/TurkishPrevesti to Hrvatski/CroatianПревеждам към Българин/BulgarianTraduzca al Español/SpanishTraduisez au Français/FrenchTraduca ad Italiano/ItalianTraduza ao Português/Portuguese日本語に翻訳しなさい /Japanese한국어에게 번역하십시오/Korean中文翻译/Chinese Simplifiedترجمة الى العربية/ArabicVertaal aan het Nederlands/DutchΜεταφράστε στα ελληνικά/GreekПереведите к русскому/RussianOversetter til Norsk/Norwegian中文翻译/Chinese TraditionalTraduzir a Língua portuguesa brasileira/Brazilian PortugueseReddo ut Latin/Latin

Taragana Network

»Ctrl-S
»Enterprise Blog
»Free Book on Eye Care by Natural Therapy
»Health Care Blog
»Hot Computer Jobs Blog
»Pet Care & Grooming News and Tips
»Phil Law Blog
»Taragana - Software Outsourcing
»The Angsuman Chakraborty Blog
»The Diabetes Cure Blog
»The Eye Treatment Blog
»The Stem Cell Blog
»Weblog Hosting Blog
"He who joyfully marches to music rank and file, has already earned my contempt. He has been given a large brain by mistake, since for him the spinal cord would surely suffice. This disgrace to civilization should be done away with at once. Heroism at command, how violently I hate all this, how despicable and ignoble war is; I would rather be torn to shreds than be a part of so base an action. It is my conviction that killing under the cloak of war is nothing but an act of murder." - Albert Einstein