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 20969

Visualforce relates to questions where the Visualforce language or framework are concerned. This is primarily VF pages, components, PDF rendering, and email templates. This would only cross-over to Lightning where Lightning Out (Lightning for VF) or VF pages using SLDS or being used in LEX. Where a question relates to Apex invoked as part of a VF page, this tag would also be appropriate.

1 vote

Insert a VF page as a component to another VF page

We can insert a visualforce page into another visualforce page by using the include component and the page name attribute the page name attribute specifies the name of the page which we want to insert. …
Ajay Dubedi's user avatar
  • 2,265
3 votes
Accepted

PopUp in visual force page

In visualforce pages it is very easy to create a pop up window using apex,here is some piece of that may help you tto create a pop up window in visualforce : Command Button to open popup: <apex:commandButton …
Ajay Dubedi's user avatar
  • 2,265
1 vote

PopUp in visual force page

Hi Demon ,Try given example closePopup is the method to close the popup when clicking on cut button: public void closePopup(){ displayPopup = false; displayinnerPopup=true; } DisplayPopup is …
Ajay Dubedi's user avatar
  • 2,265
2 votes

Visualforce page with search on account Name and display with child records as a hierarchica...

Try using the following controller and vf page Controller: public class democlass { public string searchboxstring{get; set;} public list<contact> result {get; set;} public democlass() { result …
Ajay Dubedi's user avatar
  • 2,265
1 vote

Need help building a VF page

You can take help from the below example. Here I have a list of accounts on the vf page, when i select any/multiple accounts, the selected accounts, and their related contacts are displayed in seperat …
Ajay Dubedi's user avatar
  • 2,265
1 vote

How to retrieve the Account of contacts in table format using extension in visualforce page?

This controller and page will help you. public class dataController{ public List<Contact> accLst {get; set;} public dataController(){ searchresult(); } public void searchresult(){ S …
Ajay Dubedi's user avatar
  • 2,265
1 vote

How to display all campaign members in VisualForce

You can use something like this: list<campaignmember> myList{get; set;} myList = new list<campaignmember>([select id,name from campaignmember]); and display the list on your vf page. Let me know if …
Ajay Dubedi's user avatar
  • 2,265
0 votes

How to uncheck all the checkboxs

take help from the below example: <apex:inputCheckbox value="{!selectAll }" label="Select All" styleclass="parentcheck" /> // part of your code below: <apex:inputCheckbox value="{!subitem.isSelec …
Ajay Dubedi's user avatar
  • 2,265
0 votes

How can I conditionally render a section of a page block?

You can use Some thing like this you can use two output pannels and add the below conditions <apex:outputPanel id="test1" style="display:{!if(SelectedContacts.size>0,'','none')}"> <apex:outputPane …
Ajay Dubedi's user avatar
  • 2,265
0 votes

how to redirect to a page on click in commandbutton

set redirect parameters in the url by using : &retURL=%2f<the id of the case where you want it to redirect>
Ajay Dubedi's user avatar
  • 2,265
2 votes

Browser Back button causing the VF page to resubmit again and again

You can take help from the below code: (function(window, location) { history.replaceState(null, document.title, location.pathname+"#!/stealingyourhistory"); history.pushState(null, document.title, lo …
Ajay Dubedi's user avatar
  • 2,265
0 votes

How to organize fields into 2 columns in a pageblocksection

Have a look at this. <apex:pageBlockSection title="Member Information" collapsible="false" columns="2"> <apex:pageblocksectionitem> <apex:inputField value="{!Contact.Name}"/> …
Ajay Dubedi's user avatar
  • 2,265
1 vote

Button Code to download Salesforce Content Pack

visualForce code:- <apex:page standardController="Case" extensions="AllAttachmentsController"> <h1>Link Farm: </h1> <apex:repeat value="{!attLinks}" var="ad"> <li><a href="{! …
Ajay Dubedi's user avatar
  • 2,265
0 votes

Is there a issue with <apex:selectCheckboxes> when associated to apex properties?

You can use this getter setters in two ways one is your correct but the other one you have to intialize it in the constructor public class xyz { public String[] values{get; set;} // my method of …
Ajay Dubedi's user avatar
  • 2,265
0 votes

Need help editing this VF page so it will respect apex-input for reference field

use the below code to add date picker functionality in vf page <apex:page docType="html-5.0" controller="Sample"> <apex:form > <apex:pageBlock > <apex:pageBlockSection> <apex:pageBlockSec …
Ajay Dubedi's user avatar
  • 2,265

15 30 50 per page