31 Aug
2010
31 Aug
'10
11:42 a.m.
You may want to look at the velocity SortTool. http://velocity.apache.org/tools/releases/1.4/javadoc/org/apache/velocity/to... Depending on what value you want to sort by, you might need to replace getDocumentsWithTag with a custom query. Caleb abrante wrote:
I have the following data that I recover from the XWiki data base, but I need order it. Thanks in advance
#set ($list = $xwiki.tag.getDocumentsWithTag($tag)) <div> <div id="dashboardleft"> <div id="dashboardleftcontent"> #displayDocumentList($list true $blacklistedSpaces) </div> </div> </div> <div style="clear:both; margin-bottom: 40px;"><!-- --></div>