brianchandotcom/liferay-portal — pull request #17904 by shuyangzhou (2014-04-11 00:28:01+00:00)
Title: Lps 44676

Brian, let's take this in for now.

Later, I will try to abstract out the tree processing logic out of the ftl, just like the way I did with TableMapper. The current tree logic is not optimized, and quite messy, once we abstract it out, we can do proper unit test and optimize on it.