jsr372-experts@javaserverfaces-spec-public.java.net

[jsr372-experts] Handling focus after an Ajax update

From: Kito Mann <kito.mann_at_virtua.com>
Date: Thu, 19 Mar 2015 10:20:27 -0400

Hello everyone,

One of the annoying things about Ajax updates with JSF is the fact that
focus can easily get lost. One of my clients actually resorted to
synchronous "Ajax" requests to avoid this problem (to my chagrin). Here's a
good description/solution to the problem:
http://www.knitelius.com/2014/07/15/keeping-focus-on-element-with-jsf-2-ajax-render/
.

Given that this is a common pain point, shouldn't we provide a solution out
of the box?
___

Kito D. Mann | @kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com | @jsfcentral
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://
<http://blogs.jsfcentral.com/JSFNewscast/>enterprisejavanews.com
<http://ww.enterprisejavanews.com>*
* JSFCentral Interviews Podcast:
http://www.jsfcentral.com/resources/jsfcentralpodcasts/
* Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17