6 Replies Latest reply on Jun 18, 2008 9:03 AM by flatpickinJohn

    XMLListCollection - mx.core.IUIComponent error

    flatpickinJohn
      I'm trying to create an XMLListCollection as follows:

      <mx:XMLListCollection id="dpAccordionXML" source="{populateContactXML}"/>

      I get the following error:

      Severity and Description Path Resource Location Creation Time Id
      Component declarations are not allowed here. (Note: visual children must implement mx.core.IUIComponent) CP_Edit_v2/src CommercePartyDataEntry.mxml line 549 1213798696000 2756

      Any ideas on how to correct this would be appreciated.

      John