users@javaserverfaces-spec-public.java.net

[jsr372-experts mirror] [jsr372-experts] Re: Re: Handling focus after an Ajax update

From: Christian Kaltepoth <christian_at_kaltepoth.de>
Date: Thu, 2 Apr 2015 06:48:17 +0200

Hey everyone,

I can confirm that inputs loosing focus during rerendering are a huge
problem in real world applications. And we have created custom JavaScript
workarounds like the one described in the blog post in the past.

So +1 from a user's point of view. :)

Christian

2015-04-02 5:20 GMT+02:00 Kito Mann <kito.mann_at_virtua.com>:

> Am I really the only one with an opinion on this?
>
> ___
>
> 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
>
> On Thu, Mar 19, 2015 at 10:20 AM, Kito Mann <kito.mann_at_virtua.com> wrote:
>
>> 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
>>
>
>


-- 
Christian Kaltepoth
Blog: http://blog.kaltepoth.de/
Twitter: http://twitter.com/chkal
GitHub: https://github.com/chkal