Query String parameters in Links
<apex:outputLink value="http://google.com/search?q={!account.name}">
Search Google
</apex:outputLink>
OR
<apex:outputLink value="http://google.com/search">
Search Google
<apex:param name="q" value="{!account.name}"/>
</apex:outputLink>
my visualforce url would be
/apex/QueryStringInLink?Id=accountId
** We can use apex:param in
1. apex:outputLink
2. apex:commandLink
3. apex:actionFunction
No comments:
Post a Comment