Line break character may be escaped by JS in VF Page

Salesforce   Developer Edition3

The line break character may be changed, if it is sent from Visualforce Page with Ajax(Such as apex:commandLink and apex:actionfunction). Let me show you a sample first. Sample Code Visualforce Page Apex Class Results Click [Compare By Submit] button, and the compare result is “true”. Then click [Compare By Ajax] link,we will find the compare […]

read more

The usage of apex:param in Visualforce Page

<apex:param> tag is used 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> Here are some small examples of how you can pass a value via apex:param tag in Salesforce. Use <apex:param> in <apex:actionFunction> […]

read more