I may be getting over-enthusiastic about the JavaScript piece I published earlier, as it is now turning into something bigger and scarier than I envisaged before. The purpose of it remains educational, so I’ve started a small project (Java Server Faces; what else?) to put it through its pace, and here are a couple of screenshots showing the result.
The “Search for jobs” dialog is automatically registered for automatic positioning in the middle when it is shown for the first time, and events (onkeyup, dialog-specific events, etc.) are handled by the caller by a system of call-back.
I’m facing the dilemma of whether to block events on the page behind the dialog when it is shown.
Also notice the highlighting of the line where the mouse pointer is positioned.
Now, back to work.