The below code is used to send parameters from one visualforce page to another visualforce page.
Visualforce:
<apex:outputlink value = "/apex/sample">
<apex:param name = "msg" value = "hi"/>
</apex:outputlink>
Apex:
public String message = System.CurrentPagereference().getParameters().get('msg');
No comments:
Post a Comment