Skip to main content
Error: ActivityMappingsController Compile Error: The property Boolean lastOff1 is referenced by Visualforce Page (ActivityMappings) in salesforce.com. Remove the usage and try again. at line 49 column 22

 

public class ActivityMappingsController

 

{

 

    public ActivityMappingsController() {

 

                idvalue= ApexPages.currentPage().getParameters().get('id');

 

        Orgname= ApexPages.currentPage().getParameters().get('Org');

 

        if(idvalue!= null)

 

        {

 

         Orgname = 'Choosed Organization : '+ GetOrganizationNameById(idvalue);

 

        }

 

        TotalPage = 0;

 

        TotalPage1 = 0;

 

        TotalPage2 = 0;        

 

        listSize = 0;

 

        firstOff = false;       

 

        pageNumber = 0;

 

        pageNumber1=0;

 

        pageNumber2=0;                    

 

        offsetval = 0;

 

        limitval = 10; 

 

        ind= '1'; 

 

        induser = '1';

 

        loadFirstTimeFlag = true;

 

        //-----11-02-2013------

 

        //-----11-02-2013------

 

        // actWrapperList = new list<activitywrapper>();

 

       // getActivityListData();

 

        }

 

    // String orgid = ApexPages.currentPage().getParameters().get('id');

 

   String orgid;

 

   private boolean loadFirstTimeFlag=false;

 

   //-----11-02-2013------

 

   //-----11-02-2013------

 

        public list<Activity_Master__c> ActivityList {get;set;}

 

    public list<activitywrapper> actWrapperList {get;set;}   

 

    public string idvalue {get;set;}

 

    public string Orgname {get;set;}

 

    public String seleteduser {get;set;}

 

   public String FirstApprover{get;set;}

 

   public String SecondApprover{get;set;}

 

   public String ThirdApprover{get;set;}

 

   public String FinalApprover{get;set;}

 

   // for active and deactive page naviagator

 

    public Boolean firstOff{set;get;}       

 

    public Boolean lastOff{set;get;}          

 

     public Integer pageNumber{set;get;}  

 

    Integer listSize;    // for total contact size

 

    public integer TotalPage{get;set;}

 

      public integer TotalPage1{get;set;}

 

      public integer TotalPage2{get;set;} 

 

       

 

      Public integer pagenumber1{set;get;}

 

      public integer pagenumber2{set;get;}

 

    public integer offsetval;

 

    public integer limitval;

 

in my vf page also i am not using lastoff1 and anything even though i am getting error...
3 respuestas
  1. 7 nov 2013, 10:50
    Were you using a variable lastoff1 in the visualforce page, now it seems you've deleted in the controller but the VF still has this.

     

    I'd suggest you do a search on the ActivityMappings VF Page for lastoff1 .. and remove the useage

     

    if our suggestion(s) worked,  let us know by marking the answer as "Best Answer" right under the comment.This will help the rest of the community should they have a similar issue in the future.  Thank you!

     

    Shiv
0/9000