• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

TabNavigator with nested NavigatorContent 'includeIn' does not work ?

Guest
Oct 27, 2010 Oct 27, 2010

Copy link to clipboard

Copied

I have a 'View Manager' mxml component that assembles my tabs & sub-tabs.

When I use 'includeIn' at a first level <s:TabNavigatorContent> it works. (see id="ncShowStuff)

However, when the <s:NavigatorContent> is nested as a sub-tab within an <mx:TabNavigator>, the "includeIn" prevents the sub-tab from being displayed regardless of role/state (see id="tMaintain").

When I remove the "includeIn" from subTab 'tMaintain', the tab is rendered.

Is there something I'm missing or is this a bug?

<s:NavigatorContent x="10" y="2" id="ncShowStuff" tabIndex="2"
includeIn="roleUser, roleAdmin, roleSuperAdmin" label="Show Stuff">

               <mx:TabNavigator id="tnRuleOptions"
                                     x="10" y="2"
                                     styleName="etzStyles"
                                     width="98%" height="99%">

                        <view:ShowStatus x="10" y="2" id="tShowStatus" skinClass="skins.etzNavigatorContentSkin"/>
                        <view:Maintain x="10" y="2" id="tMaintain"
                            includeIn="roleAdmin, roleSuperAdmin" skinClass="skins.etzNavigatorContentSkin"/>   

               </mx:TabNavigator>

</s:NavigatorContent>

& here is the header of the 'Maintain' tab mxml :

<?xml version="1.0" encoding="utf-8"?>
<s:NavigatorContent xmlns:fx="http://ns.adobe.com/mxml/2009"
                         xmlns:s="library://ns.adobe.com/flex/spark"
                         xmlns:mx="library://ns.adobe.com/flex/mx"
                         xmlns:model="model.*" xmlns:service="service.*"
                         xmlns:DateTimePicker="components.DateTimePicker"
                         backgroundColor="#333333"
                         label="Maintain"
                         currentState="normal" xmlns:components="components.*">

Views

628

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 29, 2010 Oct 29, 2010

Copy link to clipboard

Copied

This apears to be a Flex question. Please try the Flex forums here http://forums.adobe.com/community/flex/flex_general_discussion

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 29, 2010 Oct 29, 2010

Copy link to clipboard

Copied

LATEST

Will do.

Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines