public with sharing class SaveSolutionFromReportController { public String newId { get; private set; } public void init() { String eid = ApexPages.currentPage().getParameters().get('eid'); newId = ApexPages.currentPage().getParameters().get('newid'); } }