0

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:outputLink>
 </apex:column>
1

2 Answers 2

1

The question is still worded quiet ambiguously but it appears that you're trying do the similar thing as described here

Essentially, you want to pass the parameter (in this case, record id) between your pages. You can use the rerender attribute and hidden page block component as shown below

<apex:page standardController="Contact" extensions="CommandButtonParamController">  
    <apex:form >

        <apex:commandButton value="Process Nickname" action="{!processButtonClick}" rerender="hiddenBlock">
            <apex:param name="nickName"
                value="{!contact.firstname}"
                assignTo="{!nickName}"/>
        </apex:commandButton>

        <apex:pageBlock id="hiddenBlock" rendered="false"></apex:pageBlock>

    </apex:form>
</apex:page> 

See this blog post for full details on this known issue and the workaround.

0

There are some Global Variables that could be used on the visualforce page directly. One of them is helpful for you:

$CurrentPage

Use $CurrentPage.parameters.parameterName to reference page request parameters and values, where parameterName is the request parameter being referenced.

There is an example that provides exactly what you need: gets an ID parameter from the parameters collection:

<apex:page>
    {!$CurrentPage.parameters.id}
</apex:page>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .