public with sharing class CreateSolEditController
|
{
|
public ApexPages.StandardController solController;
|
public Solution_Programme__c objsol {get;set;}
|
public CreateSolEditController(ApexPages.StandardController stdController)
|
{
|
solController = stdController;
|
this.objsol = (Solution_Programme__c)stdController.getRecord();
|
}
|
public PageReference checkRecordTypeEDIT()
|
{
|
PageReference page;
|
if(this.objsol.id != null)
|
{
|
page = new PageReference('/'+this.objsol.id+ '/e?nooverride=1&retURL=%2F'+this.objsol.id);
|
}
|
return page;
|
}
|
}
|