Skip to content

Instantly share code, notes, and snippets.

@jamesfalkner
Created December 2, 2014 13:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jamesfalkner/40a51bcac41e8fb7d127 to your computer and use it in GitHub Desktop.
<#-- Place this code at the top of your "Basic List" ADT -->
<#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] />
<#-- Copy this code below the asset abstract code of your "Basic List" ADT -->
<#if (enableRatings == "true")>
<div class="asset-ratings">
<@liferay_ui["ratings"]
className=curEntry.getClassName()
classPK=curEntry.getClassPK()
/>
</div>
</#if>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment