Page component passes it's page id to onPageEvent