<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Dynamic List OrderBy in VM Template?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=13030097" />
  <subtitle>Dynamic List OrderBy in VM Template?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=13030097</id>
  <updated>2026-04-28T10:16:54Z</updated>
  <dc:date>2026-04-28T10:16:54Z</dc:date>
  <entry>
    <title>RE: Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117339673" />
    <author>
      <name>Manuel Manhart</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117339673</id>
    <updated>2019-10-02T11:56:33Z</updated>
    <published>2019-10-02T11:56:33Z</published>
    <summary type="html">Following entry in stackoverflow works like a charm in 7.1 in Freemarker (at least the answer that iterates twice): &lt;a href="https://stackoverflow.com/questions/14337681/freemarker-template-sort-by-one-or-other"&gt;https://stackoverflow.com/questions/14337681/freemarker-template-sort-by-one-or-other&lt;/a&gt;</summary>
    <dc:creator>Manuel Manhart</dc:creator>
    <dc:date>2019-10-02T11:56:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114338239" />
    <author>
      <name>Achmed Tyrannus Albab</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114338239</id>
    <updated>2019-07-17T08:19:06Z</updated>
    <published>2019-07-17T08:19:06Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;In case anyone is trying to do this in Liferay 7.1 (since I have no idea how to sort by DDL&amp;nbsp;field in Free Marker) :&lt;br&gt;​​​​​​​&lt;br&gt;&lt;pre&gt;&lt;code&gt;#set ($records = $ddlDisplayTemplateHelper.getRecords($reserved_record_set_id))
#if(!$records.isEmpty())
	#set ($sortRecords= [])
	#foreach ($cur_rec in $records )
		#set ($Date_DateObj = $ddlDisplayTemplateHelper.renderRecordFieldValue($cur_rec.getDDMFormFieldValues("DateField").get(0), $locale))
		#set ($tmp = $sortRecords.add( {"Order" : $Date_DateObj , "obj" : $cur_rec }))
	#end
	#foreach ($cur_obj in $sortTool.sort($sortRecords , "Order:desc"))
		#set ($cur_rec = $cur_obj.obj)      
		#set ($theDate = $ddlDisplayTemplateHelper.renderRecordFieldValue($cur_rec.getDDMFormFieldValues("DateField").get(0), $locale))
		$theDate&amp;lt;br&amp;gt;	
	#end
#end &lt;/code&gt;&lt;/pre&gt;   &lt;br&gt;&lt;br&gt;Hope that helps someone.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Achmed Tyrannus Albab</dc:creator>
    <dc:date>2019-07-17T08:19:06Z</dc:date>
  </entry>
  <entry>
    <title>RE: Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=81001113" />
    <author>
      <name>Achmed Tyrannus Albab</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=81001113</id>
    <updated>2016-10-11T11:32:48Z</updated>
    <published>2016-10-11T11:32:48Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Alessandro Lachina:&lt;/div&gt;&lt;blockquote&gt;Any news in Freemarker?&lt;br /&gt;Ordeby Comparator seems to work only on ddlRecord fileds (creation date , modified date) not on custom filed of the structure..&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Hi,&lt;br /&gt;&lt;br /&gt;Did you manage this in FreeMarker?</summary>
    <dc:creator>Achmed Tyrannus Albab</dc:creator>
    <dc:date>2016-10-11T11:32:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=73571305" />
    <author>
      <name>Alessandro Lachina</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=73571305</id>
    <updated>2016-04-27T09:38:21Z</updated>
    <published>2016-04-27T09:38:21Z</published>
    <summary type="html">Any news in Freemarker?&lt;br /&gt;Ordeby Comparator seems to work only on ddlRecord fileds (creation date , modified date) not on custom filed of the structure..</summary>
    <dc:creator>Alessandro Lachina</dc:creator>
    <dc:date>2016-04-27T09:38:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=68747974" />
    <author>
      <name>Nicolas MEURET</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=68747974</id>
    <updated>2016-01-27T14:29:36Z</updated>
    <published>2016-01-27T14:29:36Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Here is the solution I found to sort DDL in VM template :&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;#set ($ddlRecordService = $serviceLocator.findService('com.liferay.portlet.dynamicdatalists.service.DDLRecordLocalService'))
#set ($records = $ddlRecordService.getRecords($reserved_record_set_id))

#if(!$records.isEmpty())

    #set ($sortRecords= [])
    #foreach ($cur_rec in $records )
        #set ($tmp = $sortRecords.add( {"Order" : $cur_rec.getFieldValue("Order", $locale) , "obj" : $cur_rec }))
    #end

	#foreach ($cur_obj in $sortTool.sort( $sortRecords , "Order"))
	
	    #set ($cur_record = $cur_obj.obj)
		
		$cur_record.getFieldValue("firstName", $locale)
		...
		
	#end
	
#end&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;The trick is to use the Sorter objet + a temp array.&lt;br&gt;&lt;br&gt;Hope this help somebody ...&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Nicolas MEURET</dc:creator>
    <dc:date>2016-01-27T14:29:36Z</dc:date>
  </entry>
  <entry>
    <title>RE: Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=45027163" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=45027163</id>
    <updated>2014-11-07T20:14:19Z</updated>
    <published>2014-11-07T20:14:19Z</published>
    <summary type="html">Um, reserved_record_set_id is null.&lt;br /&gt;&lt;br /&gt;Just tried it. If you create a new ddl and use its ID, it works:&lt;br /&gt;&amp;lt;#assign records = DDLRecordLocalService.getRecords(20030, -1, -1, -1, orderby )&amp;gt;&lt;br /&gt;&lt;br /&gt;In my case, the ID is 20030, I just looked it up in control panel.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2014-11-07T20:14:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=45017391" />
    <author>
      <name>Anderson Perrelli</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=45017391</id>
    <updated>2014-11-07T14:23:35Z</updated>
    <published>2014-11-07T14:23:35Z</published>
    <summary type="html">You could use Velocity SortTool, Liferay is ready to use in its velocity templates.&lt;br /&gt;&lt;br /&gt;Take a look here&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.liferay.com/community/wiki/-/wiki/Main/CMS+Template+%28Velocity%29#section-CMS+Template+(Velocity)"&gt;http://www.liferay.com/community/wiki/-/wiki/Main/CMS+Template+%28Velocity%29#section-CMS+Template+(Velocity)&lt;/a&gt;</summary>
    <dc:creator>Anderson Perrelli</dc:creator>
    <dc:date>2014-11-07T14:23:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=43112702" />
    <author>
      <name>Justin Stanczak</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=43112702</id>
    <updated>2014-09-24T12:52:32Z</updated>
    <published>2014-09-24T12:52:32Z</published>
    <summary type="html">I&amp;#39;m getting the same issue. Did you find the solution for this?</summary>
    <dc:creator>Justin Stanczak</dc:creator>
    <dc:date>2014-09-24T12:52:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38992664" />
    <author>
      <name>Stéphane Faure</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38992664</id>
    <updated>2014-06-17T16:43:26Z</updated>
    <published>2014-06-17T16:43:26Z</published>
    <summary type="html">I am using Liferay 6.2 and this code does not work for me...&lt;br /&gt;Do you have any idea of the problem?&lt;br /&gt;Thanks in advance.&lt;br /&gt;______________________________________&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;em&gt;&amp;lt;#assign OrderByComparatorFactoryUtil = staticUtil[&amp;#34;com.liferay.portal.kernel.util.OrderByComparatorFactoryUtil&amp;#34;]&amp;gt;&lt;br /&gt;&amp;lt;#assign orderby = OrderByComparatorFactoryUtil.create(&amp;#34;DDLRecord&amp;#34;, [&amp;#34;attribut_n_1&amp;#34;, false])&amp;gt;&lt;br /&gt;&amp;lt;#assign DDLRecordLocalService = serviceLocator.findService(&amp;#34;com.liferay.portlet.dynamicdatalists.service.DDLRecordLocalService&amp;#34;)&amp;gt;&lt;br /&gt;&amp;lt;#assign records = DDLRecordLocalService.getRecords(reserved_record_set_id, -1, -1, -1, orderby)&amp;gt;&lt;/em&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;________ This code generates the following error __________&lt;br /&gt;&lt;br /&gt;Error on line 16, column 1 in 10154#10194#24735&lt;br /&gt;DDLRecordLocalService.getRecords(reserved_record_set_id, -1, -1, -1, orderby) is undefined.&lt;br /&gt;It cannot be assigned to records&lt;br /&gt;&lt;br /&gt;___________________________________________&lt;br /&gt;&lt;br /&gt;This works when I replace :&lt;br /&gt;&lt;blockquote&gt;&lt;em&gt;&amp;lt;#assign records = DDLRecordLocalService.getRecords(reserved_record_set_id, -1, -1, -1, orderby)&amp;gt;&lt;/em&gt;&lt;/blockquote&gt;&lt;br /&gt;by&lt;br /&gt;&lt;blockquote&gt;&lt;em&gt;&amp;lt;#assign records = DDLRecordLocalService.getRecords(reserved_record_set_id)&amp;gt;&lt;/em&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;But then, the possibility to order the list is lost...</summary>
    <dc:creator>Stéphane Faure</dc:creator>
    <dc:date>2014-06-17T16:43:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=35325276" />
    <author>
      <name>nadi h</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=35325276</id>
    <updated>2014-03-06T08:38:27Z</updated>
    <published>2014-03-06T08:38:27Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;For example, if you want to sort records by modified date (freemarker code):&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;
&amp;amp;lt;#assign OrderByComparatorFactoryUtil = staticUtil["com.liferay.portal.kernel.util.OrderByComparatorFactoryUtil"]&amp;amp;gt;
&amp;amp;lt;#assign orderby = OrderByComparatorFactoryUtil.create("DDLRecord", ["MODIFIEDDATE", false])&amp;amp;gt; 

&amp;amp;lt;#assign DDLRecordLocalService = serviceLocator.findService("com.liferay.portlet.dynamicdatalists.service.DDLRecordLocalService")&amp;amp;gt;
&amp;amp;lt;#assign records = DDLRecordLocalService.getRecords(reserved_record_set_id, -1, -1, -1, orderby)&amp;amp;gt;

&amp;amp;lt;#if records?has_content&amp;amp;gt;
	&amp;amp;lt;#list records as cur_record&amp;amp;gt;
		#${cur_record.recordId}&amp;lt;br&amp;gt;
	&amp;lt;!--#list--&amp;gt;
&amp;lt;!--#if--&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>nadi h</dc:creator>
    <dc:date>2014-03-06T08:38:27Z</dc:date>
  </entry>
  <entry>
    <title>RE: Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=35128406" />
    <author>
      <name>nadi h</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=35128406</id>
    <updated>2014-03-02T10:33:49Z</updated>
    <published>2014-03-02T10:33:49Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;In portlets :&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;

records = DDLRecordLocalServiceUtil.getRecords(record_set_id, -1, QueryUtil.ALL_POS, QueryUtil.ALL_POS,
    OrderByComparatorFactoryUtil.create("DDLRecord", "MODIFIEDDATE", true));

&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;must be converted to template code.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>nadi h</dc:creator>
    <dc:date>2014-03-02T10:33:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=33464903" />
    <author>
      <name>John Nowlin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=33464903</id>
    <updated>2014-01-24T19:46:57Z</updated>
    <published>2014-01-24T19:46:57Z</published>
    <summary type="html">I am also struggling with this. Can you provide a simple WORKING example?</summary>
    <dc:creator>John Nowlin</dc:creator>
    <dc:date>2014-01-24T19:46:57Z</dc:date>
  </entry>
  <entry>
    <title>RE: Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13101884" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13101884</id>
    <updated>2012-03-21T15:54:13Z</updated>
    <published>2012-03-21T15:54:13Z</published>
    <summary type="html">Order by in this instance is not a string, it&amp;#39;s an implementation of a class, the abstract class OrderByComparator.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2012-03-21T15:54:13Z</dc:date>
  </entry>
  <entry>
    <title>RE: Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13090864" />
    <author>
      <name>James Burris</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13090864</id>
    <updated>2012-03-21T06:05:30Z</updated>
    <published>2012-03-21T06:05:30Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;David H Nebinger:&lt;/div&gt;&lt;blockquote&gt;Well, if you call getRecords() w/ the record set id, the status value, -1 for the start/end, and the order by comparator you can control the sorting...&lt;br /&gt;&lt;br /&gt;Alternatively I&amp;#39;d probably create a class/method to proxy the call to getRecords() passing in the right stuff.  Would be easier to use from the VM template...&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m probably blind to the simplicity of this. However, here is where we plugged in the getRecords details:&lt;br /&gt;&lt;br /&gt;#set ($ddlRecordsUtil = $serviceLocator.findService(&amp;#34;com.liferay.portlet.dynamicdatalists.service.DDLRecordLocalService&amp;#34;)) &lt;br /&gt;#set ($recordSetId = $getterUtil.getLong($reserved_record_set_id.data)) &lt;br /&gt;#set ($records = ${ddlRecordsUtil.getRecords($recordSetId,-1,-1,50,ORDER_BY_text4701_DESC)})    &amp;lt; - - HERE&lt;br /&gt;&amp;lt;table class=&amp;#34;pp-table&amp;#34;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;NAME&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;FROM YEAR&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;TO YEAR&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;#foreach ($record in $records) &lt;br /&gt;	#set ($name = $record.getField(&amp;#34;text5549&amp;#34;).getValue())&lt;br /&gt;	#set ($from-year = $record.getField(&amp;#34;text4701&amp;#34;).getValue())&lt;br /&gt;    #set ($to-year = $record.getField(&amp;#34;text5473&amp;#34;).getValue())&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&amp;lt;strong&amp;gt;$name&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;$from-year&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;$to-year&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;#end&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&lt;br /&gt;Of course, the ORDER_BY isn&amp;#39;t working.  Probably because we haven&amp;#39;t defined the field yet.  Everything else in the line works fine and makes sense but we must be using the DDL orderby nomenclature incorrectly.</summary>
    <dc:creator>James Burris</dc:creator>
    <dc:date>2012-03-21T06:05:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13082860" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13082860</id>
    <updated>2012-03-20T16:52:59Z</updated>
    <published>2012-03-20T16:52:59Z</published>
    <summary type="html">Well, if you call getRecords() w/ the record set id, the status value, -1 for the start/end, and the order by comparator you can control the sorting...&lt;br /&gt;&lt;br /&gt;Alternatively I&amp;#39;d probably create a class/method to proxy the call to getRecords() passing in the right stuff.  Would be easier to use from the VM template...</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2012-03-20T16:52:59Z</dc:date>
  </entry>
  <entry>
    <title>RE: Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13081797" />
    <author>
      <name>James Burris</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13081797</id>
    <updated>2012-03-20T16:40:13Z</updated>
    <published>2012-03-20T16:40:13Z</published>
    <summary type="html">Bump...&lt;br /&gt;&lt;br /&gt;Any leads on how to &amp;#34;orderby&amp;#34; my results in a dynamic list template?&lt;br /&gt;&lt;br /&gt;Thanks!</summary>
    <dc:creator>James Burris</dc:creator>
    <dc:date>2012-03-20T16:40:13Z</dc:date>
  </entry>
  <entry>
    <title>Dynamic List OrderBy in VM Template?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13030096" />
    <author>
      <name>James Burris</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13030096</id>
    <updated>2012-03-16T22:15:55Z</updated>
    <published>2012-03-16T22:15:55Z</published>
    <summary type="html">We&amp;#39;ve been LR users for a long time and we&amp;#39;re trying take advantage of the DDL feature in 6.1.  However, we are having a bit of a struggle including the correct &amp;#34;orderby&amp;#34; language in our list template. After having to bump the server a few times to recognize faulty template changes, we&amp;#39;re reaching out for an assist.  Thanks, in advance.&lt;br /&gt;&lt;br /&gt;Simple list template, based on https://gist.github.com/1642366:&lt;br /&gt;&lt;br /&gt;#set ($ddlRecordsUtil = $serviceLocator.findService(&amp;#34;com.liferay.portlet.dynamicdatalists.service.DDLRecordLocalService&amp;#34;)) &lt;br /&gt;#set ($recordSetId = $getterUtil.getLong($reserved_record_set_id.data)) &lt;br /&gt;#set ($records = ${ddlRecordsUtil.getRecords($recordSetId)})&lt;br /&gt;&amp;lt;table class=&amp;#34;pp-table&amp;#34;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;NAME&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;FROM YEAR&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;TO YEAR&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;#foreach ($record in $records) &lt;br /&gt;	#set ($name = $record.getField(&amp;#34;text5549&amp;#34;).getValue())&lt;br /&gt;	#set ($from-year = $record.getField(&amp;#34;text4701&amp;#34;).getValue())&lt;br /&gt;    #set ($to-year = $record.getField(&amp;#34;text5473&amp;#34;).getValue())&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&amp;lt;strong&amp;gt;$name&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;$from-year&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;$to-year&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;#end&lt;br /&gt;&amp;lt;/table&amp;gt;</summary>
    <dc:creator>James Burris</dc:creator>
    <dc:date>2012-03-16T22:15:55Z</dc:date>
  </entry>
</feed>
