+ Start a Discussion
Madhu007Madhu007 

About <apex:param> ?

Hi,

 

What is the use of <apex:parm>? 

 

Thanks in advance. 

hitesh90hitesh90

Hi,

 

<apex:param> tag is used to pass the value from visualforce page to controller.

For Example:
<apex:param name="val" value"parametervalue"/>

you can access this value from your controller using below line.
apexpages.currentpage().getparameters.get('val')


<apex:param assignTo="controlllervariable" value"parametervalue"/>

you can also use assingTo attribute to set the value in controller variable.

 

Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.

Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator & Sales cloud consultant
My Blog:- http://mrjavascript.blogspot.in/