The tag has no wiki summary.

learn more… | top users | synonyms

10
votes
2answers
204 views

Do I have to prevent Dirty Updates myself when overriding Save in a controller extension?

The standard behavior (tested on Opportunities) is that Salesforce seems to handle dirty updates / save conflicts as expected: User A opens Opportunity X User B opens Opportunity X User A modifies ...
9
votes
3answers
222 views

Knowing if a future call is allowed

I'm having an issue where we have some code that can be called anywhere and then it makes an @future call to log a message to an external system. The problem is if this method is called (either ...
3
votes
1answer
68 views

VF Pages as Tabs with in a Main VF Page (Including Multiple VF Pages)

I am looking at a robust & scalable approach to include multiple (~10) VF Pages as Tabs into the Main VF Page. Each of these will have its own controllers (heterogeneous controllers overall). What ...
1
vote
1answer
30 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 ...
1
vote
1answer
46 views

How to get the object reference from a standard controller save()?

See the following VF Page controller extension: public with sharing class IssueController { public Issue__c obj {get;set;} private ApexPages.StandardController stdController; public ...
5
votes
3answers
179 views

Controller extension design pattern help needed

Objective I'm trying to create a series of inline charts to be displayed on the detail of a record using either Visualforce Charting or Highcharts. The charts do need to be dynamically rerendered ...
3
votes
1answer
53 views

Render a tab for certain public groups

I have a custom page that overrides the default account page, dividing it into multiple tabs. I was wondering if there was a way to use the "rendered="{!IF($.........." to make the tab available to ...
1
vote
1answer
133 views

Passing parameters to Extension Controller for test

I have a Extension Controller which gets back a different set of Opportunities based on the value of HTTP parameter named display sent in. So my code is as such: public ...