Chandan B Kumar

software, agile, java, cúram, LIFE!

  • Categories

  • Advertisements

Archive for May, 2008

IE6 CSS-Rollover Bug

Posted by Chandan B Kumar on May 30, 2008

In the Cúram classic application theme, the out-of-the-box left side navigation menu can pose some risks towards the application performance. This is because of the image rollover effect built using CSS and html.

What happens is, when the user clicks the hyperlink in the navigation menu, the IE Progress Bar stops as soon as the user moves the mouse off the hyperlink. For the user, this appears as though she has not clicked the link properly or the page has completely loaded. Either ways, the user now starts to click the same link twice thrice causing multiple server hits and thus decreasing performance.

Tom Lee has pointed out the same issue and has attempted to provide a solution. His solution would work if only images are used.

My recommendation to Cúram is to knock of the rollover images or use Java Script in place of CSS and html. What is your recommendation?


Posted in cúram | Leave a Comment »

Cúram pop-ups

Posted by Chandan B Kumar on May 21, 2008

In situations where you want to override the Cúram out-of-the-box pop-up with your custom one, only for a particular occurrence, for e.g. you want to override the date selector pop-up for the domain definition SVR_DATE in a specific page, then Cúram does not provide a clear solution. Below is a workaround for such situations.

As an example, I am using the date-selector pop-up. The Cúram date selector pop-up is a jsp located under …\webclient\CuramCDEJ\lib\curam\web\popups. I would like to override this pop-up with my-date-selector pop-up in the UIM My_TestPage.uim.

1. Create my-date-selector.jsp with your required functionality.

2. Place the jsp under …\webclient\CuramCDEJ\lib\curam\web\popups directory. If you want you can change the location, but make sure the build picks up the file.

3. In My_TestPage.uim, place the following lines of code below the <PAGE_TITLE> element.


4. Build client.

Posted in cúram | Leave a Comment »

Adobe SVG Viewer

Posted by Chandan B Kumar on May 15, 2008

Now that there is no future development or fixes planned for Adobe SVG Viewer, I am curious to see what Curam is up to. The latest Curam 5.0 major release still relies on Adobe SVG viewer. Per Adobe, the customer support for Viewer will be discontinued on January 1, 2009. However, the Adobe SVG Viewer will still be available for download from Adobe website.

I presume, Curam might continue to rely on Adobe Viewer for some more time and later move on to an alternate viewer. But I strongly feel that they will carry on with the SVG format for all their dynamic graphic needs.

Posted in cúram | 1 Comment »

Eclipse Console

Posted by Chandan B Kumar on May 15, 2008

Have you ever gotten into a situation where your console output is so large that Eclipse won’t hold? Setting the console buffer size to the maximum (1000000 characters) also did not help. Then, the only thing that can save you now is, redirecting the console output.

Redirecting is pretty easy in Eclipse. Launch the Run window (Run->Open Run Dialog), select the application whose console output you want to redirect and click on the Common tab. Check the “File” checkbox and enter the absolute file name. Check the “Append” checkbox if you want to append to the existing file contents. Restart the application and you are all set. In case if you want to clear the log while the application is still using the log, you can open it in notepad, clear the contents, press OK on the error message, click “Save” and confirm.

Posted in ide & plugins | 1 Comment »

@ Textpad

Posted by Chandan B Kumar on May 14, 2008

I was introduced to this wonderful text editor – Textpad, about 6 years back. From then to till date, I think I would have never used a computer that has no Textpad installed. Neither would I have used any other editor as much as Textpad.

Recently when I was working on the database export batch file, I encountered a strange issue which turned out to be a bug. I have reported this bug to Textpad folks and they have acknowledged it. I hope this will get fixed in their future release. Below is the bug and the workaround for it.

1. Quickly type in (programmers read it as “Copy Paste”) the following words in a Textpad document.


2. Press F5 (I am assuming that you have set the “Keystroke compatibility” to “Textpad”) to bring up the “Find” window. Make sure there is nothing put in the textbox, and no check boxes have been checked.
3. Press ESC to close the “Find” window.
4. Double click on the word “SIMPLE” to select the whole word.
5. Press Ctrl+F. It selects the next occurrence of the word “SIMPLE”
6. Press F5 to bring up the “Find” window.
7. Check the checkbox “Match whole words” and click on “Close”.
8. Press Ctrl+F. It selects the next occurrence of the word “SIMPLE”
9. Now select the first occurrence of the word @TEXTPAD
10. Press Ctrl+F. You get the message “Cannot find literal string: ‘@TEXTPAD'”.!!

This bug surfaces whenever a search transitions from alphanumeric to a word with special characters without bringing the “Find” dialog in between the search. The work around is to press F5 after selecting the word with special characters and resuming with your search.

Posted in software | Leave a Comment »

Regex Util

Posted by Chandan B Kumar on May 7, 2008

I wanted to include a section on our project wiki with JadClipse installation. During the writeup, I hit upon this plugin Regex Util. I felt this could be very useful to me. With 9/10 rating, I could not resist from giving a shot. What follows, are the effects of this accident.

The installation was very simple. I just dropped the jar into the plugins folder, restarted eclipse and was all set. I opened the Regex Util view and started writing few REs. I was so amazed at how fast I could write an RE. It has an elegant tooltip feature that displays what the character(s) mean(s), when you hover over the parts of the RE. It will also evaluate and highlight the matching text as you type. Isn’t it awesome? Whether you are newbie or a pro to REs, this plugin is simply indispensable.

Posted in ide & plugins | Leave a Comment »