• Ismael
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
Good morning,

I'm developing a Visualforce page to be part of a managed package using the 'WFM' prefix/namespace. This package includes a custom object called 'Round' that I want to use within a Visualforce page. For this purpose, I included the following code in the Page:

 <apex:inputField id="roundName" value="{!WFM__Round__c.Name}"/>

I also included the following code in the Controller:

   public WFM__Round__c getWFM__Round__c() {
      if(round == null) round = new WFM__Round__c();
      return round;
   }

This generates the following error:

ErrorError: Compile Error: Invalid identifier: getWFM__Round__c at line 11 column 25

Any idea?

Many thanks in advance for your help.

-Ismael
  • September 22, 2008
  • Like
  • 0
Good morning,

I'm developing a Visualforce page to be part of a managed package using the 'WFM' prefix/namespace. This package includes a custom object called 'Round' that I want to use within a Visualforce page. For this purpose, I included the following code in the Page:

 <apex:inputField id="roundName" value="{!WFM__Round__c.Name}"/>

I also included the following code in the Controller:

   public WFM__Round__c getWFM__Round__c() {
      if(round == null) round = new WFM__Round__c();
      return round;
   }

This generates the following error:

ErrorError: Compile Error: Invalid identifier: getWFM__Round__c at line 11 column 25

Any idea?

Many thanks in advance for your help.

-Ismael
  • September 22, 2008
  • Like
  • 0