I will appreciate if it will be added to the next release. Thanks! -----Original Message----- From: Dave [mailto:[email protected]] Sent: Tuesday, December 30, 2008 2:29 PM To: [email protected] Subject: Re: Descending order of comments
On Sun, Dec 28, 2008 at 1:27 AM, Odelya YomTov <[email protected]> wrote: > When I use the method $entry.getComments > > I get it in an ascending order. > > I saw that in JPAWeblogManagerImpl there is a parameter to define if we want > it in DESC or ASC. > > How can I invoke method getComments with reverseChrono as true from my Weblog.vm file? You will have to make a code change to do that. I guess the best way would be to add a new method to WeblogEntry called getCommentsReverseChrono() and then have that method call the WeblogManager.getComments() method with reverseChrono true. You'll also have to to add a new method to the WeblogEntryWrapper so that you can call it from the templates. - Dave **************************************************************************** ******** This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. **************************************************************************** ********
