Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 27740

A controller is one piece in the Model-View-Controller (MVC) architecture of Visualforce. A controller can be a standard or custom controller and extensions to controllers can written.

0 votes
1 answer
127 views

Access standard controller in test class

Below is my controller and test class, i am getting an error while compiling test class, how can i use controller object in test class? … Controller public class ERFormController { public Event_Request__c t1{get;set;} public String stateCode {get;set;} public List<npe5__Affiliation__c > SchoolList{get;set;} // public List< …
Salesfor_dev's user avatar
0 votes
2 answers
17k views

Redirect page to record

So this is my controller which create new event and save event. in this i have hardcoded page redirect link '/a3I/o'. i dnt want this to hardcoded. … public class ERFormController { public Event_Request__c t1{get;set;} public ERFormController(ApexPages.StandardController controller) { t1 = new Event_Request__c(); } public …
Salesfor_dev's user avatar