Linked Questions

2 votes
2 answers
26k views

How to open in new window using pagereference?

How do we open a pagereference object in a new window? I cant seem to find anything on the documentation for opening in new window. I need to open up a new page on click of a commandbutton. Is that ...
Prady's user avatar
  • 12.3k
5 votes
2 answers
3k views

Unable to pass a parameter <apex:param> to a relevant method

Lets assume I have a Page code: <apex:pageBlockTable value="{!allContacts}" var="c" > <apex:column value="{!c.id}" headervalue="ID"/> <apex:column value="{!c....
Soask's user avatar
  • 151
5 votes
2 answers
816 views

Select from PricebookEntry breaks call from Visualforce

For some reason the second query in the constructor makes the Cancel button in my visualforce page not work. Does this have to do with some special quirk in PricebookEntry? If you comment out the ...
ceiroa's user avatar
  • 1,029
1 vote
2 answers
3k views

how to get the id of a record in a row?

I have a visualforce page which shows list of a custom object records.One column shows the Account name which has lookup relationship with the custom object.I need to add one button in each row and on ...
SalesforceAspiration's user avatar
2 votes
1 answer
2k views

Passing Record ID param from one VF Page to another in the URL

Background I'm working with two VF pages, OutOfOffice and AddNewOutOfOffice. The OutOfOffice page displays a list of custom object records. For each record there is an edit and a delete button. ...
John_Henry's user avatar
0 votes
1 answer
2k views

Hash symbol when binding variables in URL

I'm trying to populate the Contact lookup when a User creates a new related list object from the Contact page. I am storing the Contact parameter in a Custom Setting so it can be changed when ...
George S.'s user avatar
  • 704
2 votes
0 answers
603 views

apex:param inside knowledge:articlelist

I appear to be having issues with apex:param being used inside the knowledge:articlelist component. I was wondering if anyone had experienced similar issues or possibly (hopefully) knew a fix. Here ...
Ross's user avatar
  • 95
0 votes
1 answer
414 views

Pass record Id from Visualforce to extension

I have this pageBlockTable and I'm trying to pass the parameter in the command button to my extension. <apex:pageBlockTable value="{!outstandingCTs}" var="task" id="taskTable" rowClasses="odd,...
mackmama's user avatar
  • 709
0 votes
1 answer
276 views

param value returns null

I have below VF page.I am passing value from data table.value="{!rlist.Id}" is coming as null.So on button click it is throwing me error for below soql as selectedresourceid =null ...
Swarna Kumari's user avatar
0 votes
2 answers
128 views

apex:param is null when button is clicked

Visual Force: <apex:component controller="MemberClaimsRelatedListController"> <apex:pageBlock title="Claims" id="related-page-block"> <apex:pageblockTable value="{!selectedClaims}"...
TemporaryFix's user avatar
  • 2,936
0 votes
2 answers
106 views

how to access id of record in next page from commandlink

I have used this code in one VF page <apex:column headerValue="updaterecord"> <apex:outputLink value="{!urlFor($Page.editpage_vf, null, [id = cs.ID])}">update</apex:...
meera's user avatar
  • 21