我正在编写一个visualforce页面代码:
<apex:page controller="AuthSubController" showHeader="false">
<head><title>Hello World</title>
<meta name="google-site-verification" content="XCzApP9fdbR3auxPHd3-X0g7uCNbrXZDQU_jm5GHXLI" />
</head>
<apex:outputPanel rendered="{!$CurrentPage.parameters.token != null}">
The one time use token is :<b>{!$CurrentPage.parameters.token}</b>
<br />
Record to update is {!$CurrentPage.parameters.id}
<br />
URL to update is {! getHello($CurrentPage.parameters.url)}
</apex:outputPanel>
</apex:page>
和顶点控制器段是
public class AuthSubController {
public string getHello(String x) {
return x.substring(3);
}
}
我getHello
在我的 Controller 类中定义。有人可以告诉我为什么会收到此错误吗?