[richfaces-issues] [JBoss JIRA] (RF-10980) Impossible to set tabindex of input inside rich:popupPanel

Nicolas Daniels (Commented) (JIRA) jira-events at lists.jboss.org
Thu Nov 10 10:35:47 EST 2011


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

Nicolas Daniels commented on RF-10980:
--------------------------------------

If it can help, what've done as workarround is (using jquery):

In any included JS (or even in the page):

function fixTabIndexes(elem) {
//See rich faces bug https://issues.jboss.org/browse/RF-10980 (tab index set to -1 in popup panel)
$(elem).find('*[tabindex="-1"]').each(function() {
		$(this).removeAttr('tabindex');
	});
}

And in my page:
function displayEditProfilePopup() {
	#{rich:component('editProfilePopup')}.show();
	fixTabIndexes(#{rich:element("editProfilePopupContent")});
}

                
> Impossible to set tabindex of input inside rich:popupPanel
> ----------------------------------------------------------
>
>                 Key: RF-10980
>                 URL: https://issues.jboss.org/browse/RF-10980
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: accessibility, component-input, component-panels-layout-themes
>    Affects Versions: 4.0.0.Final
>         Environment: Windows 7, WebSphere AS 8b2, in both browsers IE and FF. 
>            Reporter: Dmitry Volkov
>            Assignee: Jay Balunas
>              Labels: ci_issue, popupPanel, tabindex
>             Fix For: 4.Future
>
>
> Tabindex attribute of any element inside rich:popupPanel forced to -1, therefore those elements can not be selected with keyboard. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list