• Ronni
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies

Hi

Can anyone help on how to detect that I'm about to bang against the Stack depth governor limit?

 

I was hoping to use the Limits... method to detect whether I was about to hit the limit, but I can't find anything related to the stack depth.

 

Has anyone dealt with this before?

 

Best regards

Ronni

  • February 19, 2013
  • Like
  • 0

I have just started witha new company and am learning Visual Force.  I am reading "Development with the Force.com  Platform" by Jason Ouellette and trying to get some of the demo code from the book working.   It is very simple code, but it is giving me the following error when I save the code in the eclipse IDE.  

 

     Save error: Unknown property 'MyPageController.{name}

 

I sure feel silly, but I have searched through the discussion boards for someone with the same problem, but to no avail.    Here is the code.

 

Thanks in advanced.

 

 

<apex:page controller="MyPageController" >
    <apex:form>
        Your name: <apex:inputText value=" {!name} " />
        <apex:outputText value="{!message} " />
        <apex:commandButton action=" {!hello}" value="Say Hi" />        
    </apex:form>
</apex:page>

 

public class MyPageController {
    public String name { get; set; }    
    public String message { get; private set; }
    public PageReference hello() {
        message = 'Hello, ' + name;
        return null;
    }
}