3 Replies Latest reply on Nov 4, 2006 4:21 PM by leotemp

    Repeater & radio button group

    yojimbo
      Hi,

      Mac Flex 2 beta:

      <mx:Repeater id="itemrepeat" dataProvider="{dietData}">
      <mx:HBox>
      <mx:Label x="6" y="12" text="{dietData.currentItem.name}"/>
      <mx:TextInput id="" x="48" y="11" width="57"/>
      <mx:RadioButtonGroup id="addGroup"/>
      <mx:RadioButton groupName="addGroup" label="St" />
      <mx:RadioButton groupName="addGroup" label="Kg" />
      </mx:HBox>
      </mx:Repeater>

      Error: Unable to generate initialization code within Repeater, due to id or data binding on a component that is not a visual child.
      This is caused by the RadioButtonGroup

      Is this a Mac only bug or general behaviour, no sign of cavaets in the Repeater docs

      cheers.