I'm working with Structures and Templates within Liferay 6.1. When trying to get children of rows it appears that the only way to access the information using a loop is with code similar to this:
#foreach ($this in $example.getSiblings()) <h2>$this.getData()</h2> <p>$this.getChildren().get(0).getData()</p> #end
Does anyone know how it would be possible to access the data for children of children? I've tried scouring through the Velocity user-guide for an example but cannot get anything to work.
If anyone could point me in the right direction or link some code that they think may work, it would be greatly appreciated.