This content has been marked as final.
Show 4 replies
-
1. Re: A4J support
nbelaevski Sep 17, 2009 1:38 PM (in response to e2venu)Hi,
You can set focus programmatically using JavaScript code defined in "oncomplete" attribute of a4j:support. -
2. Re: A4J support
e2venu Sep 17, 2009 3:21 PM (in response to e2venu)yes i tried that too but the issue is the a4j ajax update of the dom is slower than the client side focus function and hence clearing out my focus..i figured out a hack to set timeout on the focus call after 300 ms so the dom updates first from ajax and then i focus, seems to work for now.
-
3. Re: A4J support
nbelaevski Sep 17, 2009 5:21 PM (in response to e2venu)Strange problem... can you please post page code snippets?
-
4. Re: A4J support
e2venu Sep 17, 2009 7:51 PM (in response to e2venu)i must add that i am tabbing using the tab key with tabindexes set and when i tab over the onblur of a text box event if kicking off a a4j call for validation and does a re-render, when the re-render updates the DOM i lost focus when tabbing, thus the hack described above.