Created
June 4, 2014 21:31
-
-
Save mtetlow/5c2fdec9ae7fd915cc5b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//HTML | |
var customLabels=JSON.parse('{!JSENCODE(customLabelJSON)}'); | |
//Apex | |
public static String customLabelJSON{ get; set; } | |
... | |
Map<String,String> labelValueMap = new Map<String,String>(); | |
labelValueMap.put('blmd_SideBarHeader_FollowUpProcessing',System.Label.blmd_SideBarHeader_FollowUpProcessing); | |
customLabelJSON=JSON.serialize(labelValueMap); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment