You need to sign in to do that
Don't have an account?
RSK
Issue with passing parameters to <apex:outputLink>
Hi,
I'm facing an issue while passing parameters with <apex:outputLink> to a VF page , if the parameter value having the '&' char ( For example : CompanyName is P & B Computers), it takes '&' as a separator and displays only the text before '&' (ex: P as the CompanyName).
Here is the Code :
<apex:outputLink value="/apex/CompanyPage_VF?companyName={!a.companyName}&street={!a.street}&city={!a.City}&state={!a.State}&country={!a.Country}" id="theLink">
Click Here
</apex:outputLink>
Any help must be appreciated.
Thanks
Kumar
This sounds like something that the URLENCODE function can help with. Try:
All Answers
This sounds like something that the URLENCODE function can help with. Try:
It works like a charm !.
Thank you very much.
Kumar