betweenGo

Sorting Nested Properties

by 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

Related posts:

  1. Accessing RepositoryItems with JSTL
  2. Set ATG Repository Item Date or Timestamp Properties to the Current Time
  3. Comparison of DSP and DSPEL
  4. DynamicBeanMap
  5. ATG ForEach Output with Separators Between Items

:

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!