You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "mark goldin (JIRA)" <ji...@apache.org> on 2013/10/15 10:15:42 UTC

[jira] [Commented] (FLEX-33822) FocusManager is looking everywhere on document for ReadioButtonGroup ID.

    [ https://issues.apache.org/jira/browse/FLEX-33822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794993#comment-13794993 ] 

mark goldin commented on FLEX-33822:
------------------------------------

<?xml version="1.0"?>
<!-- controls\button\RBGroupSimple.mxml -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
			   xmlns:s="library://ns.adobe.com/flex/spark" 
			   xmlns:mx="library://ns.adobe.com/flex/mx" 
			  >
	<fx:Declarations>
		<s:RadioButtonGroup id="cardtype"/>
	</fx:Declarations>
	<s:layout>
		<s:HorizontalLayout/>
	</s:layout>
	<s:HGroup>
		<s:RadioButton group="{cardtype}" 
					   id="americanExpress" 
					   label="American Express" 
					   width="150"/>
		<s:RadioButton group="{cardtype}"
					   id="masterCard" 
					   label="MasterCard" 
					   width="150"/>
	</s:HGroup>
	<s:TextArea/>
	<s:HGroup>
		<s:RadioButton group="{cardtype}" 
					   id="american" 
					   label="American Express" 
					   width="150"/>
		<s:RadioButton group="{cardtype}"
					   id="master" 
					   label="MasterCard" 
					   width="150"/>
	</s:HGroup>
</s:Application>

Select a button in the first group and try tabbing out. The focus will go next to TextArea but next tab will not go to the second group.

> FocusManager is looking everywhere on document for ReadioButtonGroup ID. 
> -------------------------------------------------------------------------
>
>                 Key: FLEX-33822
>                 URL: https://issues.apache.org/jira/browse/FLEX-33822
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: RadioButtonGroup
>    Affects Versions: Apache Flex 4.9.0
>         Environment: Windows 7
>            Reporter: mark goldin
>            Assignee: Alex Harui
>            Priority: Blocker
>
> FocusManager is looking everywhere for the next focus target. But in case of RadioButtonGroups when these are generated from an mxml template that is not good because these RadioButtonGroups will all have the same id and tabbing will not work properly.



--
This message was sent by Atlassian JIRA
(v6.1#6144)