Helping Adobe Flex community in developing Rich Internet Applications (RIA) in MXML, Actionscript and Flash.

<mx:Label text="Crazy about Flex"/>

You are not logged in.

#1 Feb 4th 2010 1:17 PM

lejones
Flex Newbie
Registered: Feb 4th 2010
Posts: 1

RadioButtonGroup and itemRenderer

Can I get some suggestions as to why this is not working:

        <mx:RadioButtonGroup id="primaryAliasGroup" itemClick="handlePrimaryAlias(event);" />
        <mx:List dataProvider="{currentList.aliases}" id="aliasesList" rowCount="5"
            width="100%" >
            <mx:itemRenderer>
                <mx:Component>
                    <mx:HBox height="30">
                        <mx:RadioButton
                            groupName="{outerDocument.primaryAliasGroup}"
                                    id="primaryAliasID"
                                    label="{data}"
                                    width="100%"
                                 />
                    </mx:HBox>
                </mx:Component>
            </mx:itemRenderer>
        </mx:List>

When I trace for the numRadioButtons in primaryAliasGroup, the result is 0.
Any direction is appreciated and thanks in advance.

Offline

 

Board footer

Powered by PunBB