Strange "INavigatorContent" error compiling in 4.0

Posted by Stephano on Stack Overflow See other posts from Stack Overflow or by Stephano
Published on 2010-05-21T22:02:55Z Indexed on 2010/05/21 22:10 UTC
Read the original article Hit count: 901

Filed under:
|
|

I've recently decided to try an upgrade to 4.0. The only error I still can't work out is this one:

"The children of Halo navigators must implement INavigatorContent"

I seem to be getting it on all my ViewStacks that have validators.

<mx:ViewStack xmlns:mx="http://www.adobe.com/2006/mxml">
 <mx:NumberValidator id="systolicValidator"
      source="{systolic}"
      required="true"
         property="text"
      minValue="10"
      maxValue="300"
      domain="int"/>
 <mx:NumberValidator id="diastolicValidator"
      source="{diastolic}"
      required="true"
      property="text"
      minValue="10"
      maxValue="200"
      domain="int"/>
    <mx:TextInput id="systolic"/>
    <mx:TextInput id="diastolic"/>

...

The error gets thrown on the validator tags. My compiler is set to "flex 3 compatibility mode" and my theme is set to Halo (default).

This seems like it should be a really straight forward fix, so I hate to spin my wheels on it for too long.

Any ideas what I might be missing?

© Stack Overflow or respective owner

Related posts about flex4

Related posts about upgrade