The method ComponentSource.getPage(String logicalPagename) is used to get a page. It would be nice if there was a Method ComponentSource.getPage(Class pageClass). Using a class object instead of a String would make refactoring a bit easier. When I change a class name my IDE changes it everywhere automatically in the code whereas I would have to change a logical page name by hand. As it is possible to return page classes as well as logical page names from event handler methods, I was thinking it might be possible in this method as too.