includeIn not allowed here ? Are States supported?

I'm incorrectly getting an error saying


includeIn not allowed here

    <views:UserManagement includeIn="userManagement">
    </views:UserManagement>


any ideas?

5 comments
Comment actions Permalink

Probably you have found a bug in IDEA.
I need full code snippet to evaluate the problem. Can you please paste it?

0
Comment actions Permalink

This is enough to throw it:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark" skinClass="nikos.skins.blueRadialGradSkin"
               xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="455" minHeight="400"
               currentState="log_in"

        >

    <s:states>
        <s:State name="log_in"/>
        <s:State name="commentsView"/>
        <s:State name="ratingsView"/>
    </s:states>

    <mx:TabNavigator includeIn="ratingsView" width="100%" height="100%">

    </mx:TabNavigator>

    
</s:Application>

0
Comment actions Permalink

includeIn is green for me. What Flex SDK is set for your module?

0
Comment actions Permalink

flex_sdk_4.1.0.16076

0
Comment actions Permalink

And what is your IDEA version?
Attached is a sample project that I used trying to reproduce the issue (in IDEA 10.0.2), but all is green for me. Plese try it in your environment and modify to get incorrect highlighting or attach your sample project if possible.



Attachment(s):
IncludeInHighlightedGreen.zip
0

Please sign in to leave a comment.