Select to view content in your preferred language

mx:Component not bound error

986
2
Jump to solution
01-20-2012 06:30 AM
AnthoniLlau
Emerging Contributor
Hi all,

I am trying to tweak the identify feature table a bit and am getting a mx:Component not bound error.
I would like to know why this error is occurring and how it could be fixed. Also any guides regarding mx:Components or esri:inforenderer would also be appreciated.

Here is my code for that section.

  <esri:InfoSymbol id="infosymbol1">
   <esri:infoRenderer>
    <mx:Component>
    <mx:VBox>
     <mx:Text text="Identifying Results" />
     <mx:Label text="Name: {data.NAME}"/>
    </mx:VBox>
    
    </mx:Component>
   </esri:infoRenderer>
  
  </esri:InfoSymbol>

Thanks,

Tony
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Tony,

   It sounds like you might be missing this in your main component:

xmlns:mx="library://ns.adobe.com/flex/mx"


Every component has to know the namespaces that are going to be used in it so it understands what a mx:Component is

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Tony,

   It sounds like you might be missing this in your main component:

xmlns:mx="library://ns.adobe.com/flex/mx"


Every component has to know the namespaces that are going to be used in it so it understands what a mx:Component is
0 Kudos
AnthoniLlau
Emerging Contributor
Thanks,

That worked. I added that line and changed mx:Component to fx:Component. I'm assuming it changed in version 4.
0 Kudos