Linked Questions

2
votes
2answers
25k 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 ...
5
votes
2answers
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....
5
votes
2answers
791 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 ...
1
vote
2answers
2k 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 ...
2
votes
1answer
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. ...
0
votes
1answer
1k 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 ...
2
votes
0answers
592 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 ...
0
votes
1answer
339 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,...
0
votes
1answer
228 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 ...
0
votes
2answers
61 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}"...
0
votes
2answers
55 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:...