0 Replies Latest reply on May 1, 2007 3:33 PM by brado77

    Component ID error in Repeater

      I am trying to create a simple form in a Repeater, but I'm getting the following compiler error on a RadioButtonGroup that exists in the form:

      Unable to generate initialization code within Repeater, due to id or data binding on a component that is not a visual child.

      Here is the code that generated this:

      <mx:FormItem label="Select the user's role:">
      <mx:RadioButtonGroup id="roleType" />
      <mx:RadioButton groupName="roleType" id="roleTypeAdmin" value="ADMIN" label="ADMIN" />
      <mx:RadioButton groupName="roleType" id="roleTypeUser" value="USER" label="USER" selected="true" />

      Does anyone have any insight as to why this might be happening?