开发者

SelecedIndex of tabnavigator is appended to url

In my flex application when I added a tabnavigator control and ran the application, I found that a "#" was appended to the url in the browser and whenever I select one of the tabs the url changes to this "myurl#app=7049&c152-selectedIndex=1" reflecting the index of t开发者_开发问答he selected tab, is this a normal behavior of the tabnavigator, is there a way of removing it?

Thanks


It's a browser navigation integration related feature. You can disable it by going to project properties -> flex Compiler, and uncheck "Enable integration with browser navigation".

Bonus reference here. You might also want to check the link at the end of that article.


Set historyManagementEnabled property of the TabNavigator to "false"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜