- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
personalization blocks essentially work like an include statement and they will be imported before javascript part is executed.
So define a variable inside your personalization block. something like that:
<% var myText = "..."; %>
then for your caption do a jssp check (make sure the view is included before that):
<%@ include view="myPersonalizationBlock"%><% if (undefined !== myText) { %>Conditional caption<% } %>
for your message body just print the message out
<%= myText %>
Note "undefined !== myText" can be replaced with any condition you need
Views
Replies
0 Likes
Total Likes