Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can I develop a list template for a dynamic list in Liferay with action buttons?
    primarykey
    data
    text
    <p><a href="http://foo.com" rel="nofollow noreferrer"><a href="https://stackoverflow.com/questions/8834462/list-template-in-dynamic-data-list-in-liferay">List template in dynamic data list in Liferay</a></a></p> <p>I have already read this post and also another webapplicationdeveloper blogpost but not find any idea to get action button in customly applied template to dynamic data list.</p> <p>I have also tried including that default record_action.jsp of dynamicdatalist portlet in vm template but its not working and also set the property below</p> <pre><code>journal.template.velocity.restricted.variables = </code></pre> <p>in <strong>portal-ext property</strong> but still I am not getting the action button in my custom template</p> <p>I have already tried this :</p> <pre><code># set ( $categoriesService = $portal.getClass().forName("com.liferay.portlet.asset.service.AssetCategoryLocalServiceUtil").getMethod("getService", null).invoke(null, null)) My answer is: Yessss, it works. But I want use a jstl lib (e.g. &lt;aui&gt; or &lt;ui&gt;) as well. In my opinion the simpliest way to do it is include jsp file to themeServletContext. Put your file.jsp into your theme: your-theme/docroot/path/to/your/jsp/file.jsp and paste this piece of code into your vm (for example portal_normal.vm): $theme.include($themeServletContext, "/path/to/your/jsp/file.jsp") </code></pre> <p>In this case it unable to find the $theme variable my page displaying the <strong>$theme</strong> as it is...:( Please help:</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload