2009-08-20 14 views

回答

1

我不確定我在問這個問題時沒有找到答案,但它非常簡單。在你的「doInit」方法中,你可以這樣做:

Router myRouter = (Router)this.getApplication.getRoot(); 

很簡單!