You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/01/17 07:59:13 UTC

[GitHub] [royale-asjs] pashminakazi opened a new issue #685: TabNavigator.SelectedChild.Label is throwing exception

pashminakazi opened a new issue #685: TabNavigator.SelectedChild.Label is throwing exception
URL: https://github.com/apache/royale-asjs/issues/685
 
 
   Project Details are :
   https://paste.apache.org/cpo8y
   Test case is available on VDI.
   Go to Sales from Select in Menu
   Go to Security -> Group Privileges from Setups in Menu
   File : com/dbz/modules/Common/dbzGroupPrivileges.mxml
   
   
   In our application we were using mx:ViewStack and s:TabNavigatorContent with TabBar
   its not working in Royale so I commented **TabBar**,
   and replace **mx:ViewStack** with **mx:TabNavigator** and 
    **s:TabNavigatorContent** with **mx:VBox** which is working fine
   but now in dbzGroupPrivileges setups there's a check 
   if (VS.selectedChild.label=="COA")
   VS is id of ViewStack in Flex and In Royale VS is id of TabNavigator
   in ViewStack selectedChild is implemented but using TabNavigator it is giving exception
   
   ![image](https://user-images.githubusercontent.com/42200979/72594391-165f2d00-3929-11ea-9121-6e0dd0db71a8.png)
   
   ![image](https://user-images.githubusercontent.com/42200979/72594376-0ba49800-3929-11ea-9e95-d9548047e91a.png)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #685: TabNavigator.SelectedChild.Label is throwing exception

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #685: TabNavigator.SelectedChild.Label is throwing exception
URL: https://github.com/apache/royale-asjs/issues/685#issuecomment-575687815
 
 
   Debug into the selectedChild getter.  Let us know what you discover.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] pashminakazi commented on issue #685: TabNavigator.SelectedChild.Label is throwing exception

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #685: TabNavigator.SelectedChild.Label is throwing exception
URL: https://github.com/apache/royale-asjs/issues/685#issuecomment-576106714
 
 
   In ViewStack.as selectedChild  getter the selectedChild = -1 so it returns null,why it is setting selectedChild = -1

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui closed issue #685: TabNavigator.SelectedChild.Label is throwing exception

Posted by GitBox <gi...@apache.org>.
aharui closed issue #685: TabNavigator.SelectedChild.Label is throwing exception
URL: https://github.com/apache/royale-asjs/issues/685
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #685: TabNavigator.SelectedChild.Label is throwing exception

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #685: TabNavigator.SelectedChild.Label is throwing exception
URL: https://github.com/apache/royale-asjs/issues/685#issuecomment-576108972
 
 
   If you set selectedIndex to -1, then selectedChild should be null.  Why would your code set selectedIndex to -1?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] pashminakazi commented on issue #685: TabNavigator.SelectedChild.Label is throwing exception

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #685: TabNavigator.SelectedChild.Label is throwing exception
URL: https://github.com/apache/royale-asjs/issues/685#issuecomment-576108651
 
 
   on Second tab it is setting selectedIndex == 1
   on First tab it is setting selectedIndex == -1

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #685: TabNavigator.SelectedChild.Label is throwing exception

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #685: TabNavigator.SelectedChild.Label is throwing exception
URL: https://github.com/apache/royale-asjs/issues/685#issuecomment-576108386
 
 
   I assume you meant `selectedIndex == -1`
   
   Does your code set selectedIndex to 0 or some other valid number on the TabNavigator?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services