Skip to main content

Questions tagged [extension]

Content relating to Visualforce Controller Extension Classes

Filter by
Sorted by
Tagged with
40 votes
4 answers
51k views

What is the Difference Between Controllers and Extensions?

Can any one explain the usage of controller and extensions in Visualforce? In which scenario we have to use controller and extensions?
Priyanka's user avatar
  • 1,909
6 votes
1 answer
979 views

Can there be a Shared Extension across Multiple Overridden Visualforce Pages?

I would like to know if its possible to share a common extension class across multiple Visualforce Pages which use different standard Controllers. For Eg., I've VF_A Page which overrides default ...
Vignesh Damodharan's user avatar
4 votes
1 answer
4k views

Passing parameter to controller extension?

I wish to create hyperlinks to a specific visual force page which displays a list of opportunities. The data in the page will need to be different. In some cases it will be all open opportunities ...
dublintech's user avatar
  • 4,273
1 vote
1 answer
266 views

Reuse / share functionality between base and extension managed packages

I have a managed base package that contains Visualforce components and pages that I would like to reuse in its extension package. I don't want to make them global as this would allow customers to ...
Robert Sösemann's user avatar
1 vote
1 answer
2k views

StandardController of Account to show a pageblocktable of related child object from an extension errors out

I have a object Competitor_Mapping__c that has lookup with Account. In the page, i have used standard controller of Account to fetch the current Account id from URL, used in a SOQL to populate a list ...
user59759's user avatar
  • 581
0 votes
1 answer
2k views

How to display next,last,previous and first buttons on a VF page in accordance with conditions?

What i want is , to display the next and last button only when its the first page,first,next,last,previous when its 2nd page or more, and first and previous when its last page of opportunities. <...
Niknit's user avatar
  • 115