How to access context variables in custom widget templates?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2012 05:55 AM
I have a widget template and i want to display a String message in it. The String message is set in the custom operation using the OperationContext.put() method. How can i access this context variable in my custom widget template to display the message? I have tried the following:
alert("#{operationContext["VariableName"]}");
alert("@{Context["VariableName"]}");
alert("#{Context["VariableName"]}");
alert("#{operationContext.VariableName}");
alert("#{operationContext.get("VariableName")}");
0 REPLIES 0
