Hello, An addition to Caleb's indications is the following link: http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HVelocitySpecificInformation . So, this is what you need to do:
#set ($sortedList = $sorttool.sort($list)) ... #displayDocumentList($sortedList true $blacklistedSpaces) ... Raluca. On Tue, Aug 31, 2010 at 2:42 PM, Caleb James DeLisle <calebdeli...@lavabit.com> wrote: > You may want to look at the velocity SortTool. > http://velocity.apache.org/tools/releases/1.4/javadoc/org/apache/velocity/tools/generic/SortTool.html > > 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> > > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users