You need to sign in to do that
Don't have an account?
sreekanth vallepu
what is ment by params what is the purpose to use the params
what is ment params could pls explain that at the same time suggest any vidoes about params (easily understand)
Hi Sreekanth,
<apex:param> tag is use to pass values from JavaScript to an Apex controller,it can only be used with the folloing parent tags : -
• <apex:actionFunction>
• <apex:actionSupport>
• <apex:commandLink>
• <apex:outputLink>
• <apex:outputText>
• <flow:interview>
For example refer this article :-
https://www.xgeek.net/salesforce/the-usage-of-apexparam-in-visualforce-page/
https://webkul.com/blog/use-apexparam-tag-visualforce/
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_param.htm
These above documetns have clearly explained the usage of param attributes.
Please mark it as best answer if the above information helps you. It can help others in future.
Regards,
Priya Ranjan
Hi Sreekanth,
You are asking about params in which context.
params in aura Lightning??
you can take reference from the below code
Youtube Link : https://www.youtube.com/watch?v=sTzoJocW9-s
Thank You
Brother, params are basically parameters Like if I am talking about "setParams" then
Here component.get("{!v.FirstName}") is a single parameter that contain FirstName from AuraComponent and then this parameter "component.get("{!v.FirstName}")" is setted in apex controller of FN.
Here All these params: component.get("{!v.FirstName}"),component.get("{!v.LastName}"),component.get("{!v.Email}"),component.get("{!v.Phone}"),
setted into Apex controller : FN,LN,Eml,Phn
Params Are The Parameter You Pass In The Apex Class Like Example Below And To Pass These Parameters From Lightning Component We Use (action.setParams) to set Parameters From Lightning Component To Apex Class Like Example Below. Please Mark It As Best Answer If It Helps
Thank You!