Line break character may be escaped by JS in VF Page

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

Two ways to use SOQL IN clause

With binding set of Ids We can have a simple SOQL statement like this: Or direct from keySet of Map With binding list of sObjects Actually,There has another way to use IN clause like this: Enjoy it!

read more