Hi,
I was just wondering, is it possible to manually change the modification date
(Page.setModified()) of pages in XWiki?
J. Allen
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
On 12/04/2009 09:52 AM, J. Allen Q. Santos wrote:
Hi,
I was just wondering, is it possible to manually change the modification date
(Page.setModified()) of pages in XWiki?
Yes. From Java, you have to do this:
doc.setDate(new Date()); // or any Date object you want
--
From: Sergiu Dumitriu ser...@xwiki.com
Sent: Friday, December 04, 2009 5:41 PM
To: XWiki Users users@xwiki.org
Subject: Re: [xwiki-users] Page modification date
On 12/04/2009 09:52 AM, J. Allen Q. Santos wrote:
Hi,
I was just wondering
On 12/04/2009 10:52 AM, J. Allen Q. Santos wrote:
--
From: Sergiu Dumitriuser...@xwiki.com
Sent: Friday, December 04, 2009 5:41 PM
To: XWiki Usersusers@xwiki.org
Subject: Re: [xwiki-users] Page modification date
On 12/04/2009 09:52 AM, J
Ok. Thank you. I'll try the code snippet.
J. Allen
--
From: Sergiu Dumitriu ser...@xwiki.com
Sent: Friday, December 04, 2009 6:00 PM
To: XWiki Users users@xwiki.org
Subject: Re: [xwiki-users] Page modification date
On 12/04/2009 10:52 AM, J