I am trying to pass url parameters between Apexpages and component but am not successful in achieving this. When I call ApexPages.currentPage.getParameters().put('test','aaa')
in a pagecontroller and then call ApexPage.currentPage.getParameters().get('test') in a component controller which resides in that page. The method returns nothing. Can someone tell me how can I persist the url parameters between page controller and component controller?