Development with the Force.com Platform (Joanne Romanovich's Library) by Jason Ouellette

Development with the Force.com Platform (Joanne Romanovich's Library) by Jason Ouellette

Author:Jason Ouellette
Language: eng
Format: epub
Publisher: Addison-Wesley
Published: 2012-06-15T16:00:00+00:00


* * *

public class MyPageController {

public String name { get; set; }

public String message { get; private set; }

public PageReference hello() {

message = 'Hello, ' + name;

return null;

}

}

* * *

6. In your Web browser, log in to Force.com and edit the URL to remove everything after the hostname, replacing it with /apex/MyPage. Your URL should look something like this: https://na6.salesforce.com/apex/MyPage. You should see your custom Visualforce page. Enter your name and click the Say Hi button to see the hello message.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.