[richfaces-issues] [JBoss JIRA] Commented: (RF-7706) Last focused control should not be lost after a AJAX request (Richfaces should transparently preserve it)
Francisco Jose Peredo Noguez (JIRA)
jira-events at lists.jboss.org
Wed Sep 2 12:02:24 EDT 2009
[ https://jira.jboss.org/jira/browse/RF-7706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12484202#action_12484202 ]
Francisco Jose Peredo Noguez commented on RF-7706:
--------------------------------------------------
Found a better workaround using queues:
One can "plug" javascript code (using JQuery selectors) to listen to the focus/blur events of all the form controls and store the id of the last control with focus, and then use the oncomplete of a:queue to restore the focus after the ajax call has finished (of course for this to work automagically in all pages the global queue has to be enabled).
> Last focused control should not be lost after a AJAX request (Richfaces should transparently preserve it)
> ---------------------------------------------------------------------------------------------------------
>
> Key: RF-7706
> URL: https://jira.jboss.org/jira/browse/RF-7706
> Project: RichFaces
> Issue Type: Feature Request
> Components: component
> Affects Versions: 3.2.2, 3.3.1
> Reporter: Francisco Jose Peredo Noguez
> Assignee: Nick Belaevski
> Fix For: 4.0.0.BETA1
>
>
> The focused control before an AJAX request should automatically be the focused control after the request.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list