A StandardController is a built-in controller available for standard and custom objects to facilitate the easy creation of Visualforce pages.
1
vote
1answer
33 views
Is it possible to for a controller extension and visualforce to override BOTH New and Edit buttons?
I currently have a controller extension + visualforce overriding the New button on an object. I'd like to to see if it's possible to reuse this for the Edit button as well.
If so, are there any ...
4
votes
1answer
47 views
What methods are available in the standard controller?
Motivation
I'd like to use a lot of functionality from the standard controller and only add some additional fields.
For example, Lead standard controller apparently provides filtered Converted ...
1
vote
4answers
68 views
How to reproduce standard page style in a Visualforce page
Motivation
I'd like to reproduce a standard Lead conversion page style in a custom visualforce page. However, I'm seeing a number of differences.
Some are in visual style, e.g. block section ...
5
votes
2answers
112 views
Sort Order of Child Records Using a Standard Controller
Does anybody know of a way to order child records when accessed using a StandardController and displayed with an <apex:repeat> loop?
My guess is that it can't be done and I need an extension, ...
4
votes
3answers
152 views
Passing standard controller SObject to a component: problem with custom fields
I want to create a page like this with 2 components:
<apex:page standardController="Campaign">
<c:import campaign="{!campaign}" />
<c:message campaign="{!campaign}" ...
2
votes
3answers
111 views
I am getting a SObject row was retrieved via SOQL without querying the requested field
I am getting a little lost here and have read the related topics on stackexchange carefully.
I am using the standard controller for a custom object in a managed package. This code works perfectly in ...
5
votes
1answer
63 views
Is there away to pull a users standard layout in edit mode and place it on a VF page?
I know there's a ways to do this using tag to view the detail page, but once you hit edit it will use salesforce standard edit page. I've also created a custom edit page but the problem I'm running ...
2
votes
1answer
246 views
Visualforce error using standard controller in managed package
I have an inline visualforce page which uses a standard controller. I check values from the record object in javascript so I can display some other records in a popup based on the value of ...
5
votes
2answers
475 views
Retrieving custom fields from a standard controller in an extension
How do I retrieve custom fields from a standard controller in a Visualforce extension controller?
In the code below, if I remove the hard-coded ID "this.personParentId = '001Z000000CkZ4m';", it fails ...
