[richfaces-issues] [JBoss JIRA] (RF-13251) FocusManager to support complex components like rich:autocomplete

Immo Benjes (JIRA) issues at jboss.org
Tue Feb 11 06:55:29 EST 2014


    [ https://issues.jboss.org/browse/RF-13251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12943378#comment-12943378 ] 

Immo Benjes commented on RF-13251:
----------------------------------

Hi Lukáš,

sorry I am quite busy at the moment but it is really easy to reproduce. Just have a rich:autocomplete and an ajax button. The ajax button submits and rerenders the form. The action method on the a:commandButton tries to set the focus on the rich:autocomplete with the FocusManager - done. You probably have a 'test' autocomplete component flying around anyway.
                
> FocusManager to support complex components like rich:autocomplete
> -----------------------------------------------------------------
>
>                 Key: RF-13251
>                 URL: https://issues.jboss.org/browse/RF-13251
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: component-misc
>    Affects Versions: 4.3.4
>            Reporter: Immo Benjes
>            Assignee: Lukáš Fryč
>            Priority: Minor
>              Labels: waiting_on_user
>
> Currently the FocusManager in Richfaces only works on 'simple' UI components like h:inputText or h:selectOneMenu but not on more complex components like rich:autocomplete.
> It would be good if FocusManager could support complex components or 'real' Ids as generated for that page.
> The use case for the support on autocomplete is like this:
> User has to enter multiple 'entities'. A rich:autocomplete is used to select the entity and add it to a list. After each ajax submit the focus gets lost and the user has to manually set the focus back to the autocomplete input field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list