Skip to content

Instantly share code, notes, and snippets.

@BrightnBubbly
Created May 17, 2018 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BrightnBubbly/562fe87799126270ab4bdbf644cac726 to your computer and use it in GitHub Desktop.
Save BrightnBubbly/562fe87799126270ab4bdbf644cac726 to your computer and use it in GitHub Desktop.
from properties file
deprecatedCustomFormMsg1 = Widget uses deprecated Custom Form. Please upgrade your
deprecatedCustomFormLink = Style Tab
deprecatedCustomFormMsg2 = to Design Studio.
from tag file
<c:when test="${!hasDesignStudio && hasStyle}">
<fmt:message key="deprecatedCustomFormMsg1" var="deprecatedCustomFormMsg1Label" />
<fmt:message key="deprecatedCustomFormLink" var="deprecatedCustomLinkLabel" />
<fmt:message key="deprecatedCustomFormMsg2" var="deprecatedCustomFormMsg1Label" />
<c:set var='msgLevel' value="error"/>
<c:set var="msg" value="${deprecatedCustomFormMsg1Label} <a href=\"javascript:void(0)\" onclick=\"javascript:updateSetting(\'settings-style-id\')\">${depricatedCustomFormLinkLabel}</a> ${deprecatedCustomFormMsg2Label}"/>
</c:when>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment