includeIn not allowed here ? Are States supported? Follow
I'm incorrectly getting an error saying
includeIn not allowed here
<views:UserManagement includeIn="userManagement">
</views:UserManagement>
any ideas?
Please sign in to leave a comment.
Probably you have found a bug in IDEA.
I need full code snippet to evaluate the problem. Can you please paste it?
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>
includeIn is green for me. What Flex SDK is set for your module?
flex_sdk_4.1.0.16076
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