webtier@glassfish.java.net

Keep focus on element

From: <webtier_at_javadesktop.org>
Date: Wed, 28 Oct 2009 04:01:39 PDT

Hi,

I have a huge dataTable, with an inputText component at every cell.
When i click away from any of these components, i want to update the others. That part is working fine. except, that the focus is removed from the selected component.

I tried to place the current selected component id to a hidden, on onfocus event, and call a focus() on that after the update, but onblur happens to fire before onfocus, so this doesn't work.

Have you got another idea?
[Message sent by forum member 'gabox01' (beres.gabor_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=369600