betweenGo

Sorting Nested Properties

by Frank Kim on Jun.10, 2008, under Page Development

ATG’s looping droplet have the nice ability of sorting nested properties. For example say you have a repository item Person and it has a property address which is a repository item Address and you want to sort on the address’s street. Then you can do something like this.

<dspel :param name="sortProperties" value="+address.street"/>

ATG does this through the magic of DynamicBeans.

  • Share/Bookmark

Related posts:

  1. Accessing RepositoryItems with JSTL
  2. DynamicBeanMap
  3. Comparison of DSP and DSPEL
  4. ATG ForEach Output with Separators Between Items
  5. RQLQueryRange does not sort dates correctly

:

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!