26 June, 2012

Read repeatable data

Hi Everyone,

If you guys are thinking to read repeatable  data from structure and want to fatch in template, Just see and use below code :
In Structure :
  <dynamic-element index-type="text" name="name" repeatable="true" type="text">
    <dynamic-element index-type="" name="link" repeatable="false" type="text"></dynamic-element>

In Template :
<div class="community-names" style="background: none repeat scroll 0 0 #73B3DE; float: left; padding: 5px 0 5px 205px; width: 100%;">
#foreach ($communityname IN $name.getSiblings())
<a href="http://www.blogger.com/$communityname.link.getData%28%29">


Popular Posts

Featured Post

Liferay 7.3 compatibility matrix

Compatibility Matrix Liferay's general policy is to test Liferay Portal CE against newer major releases of operating systems, open s...