Thank you David. What I did wrong was that I should have used pagemanager.updatePage() instead of pageManager.update folder(). The reason that I did it that was that I thought it was the folder that was actually changed (after a new page was copied over) not the page (that would be caused by fragments change). But anyway, it worked now. And yes, I was on both file system and DB page managers. They both worked after that change.
Thank you. ---Yang >-----Original Message----- >From: David Sean Taylor [mailto:[EMAIL PROTECTED] >Sent: Friday, September 29, 2006 6:13 PM >To: Jetspeed Users List >Subject: Re: pagemanager.copyPage() not working > >Sie, Yang wrote: >> Hello: >> >> I am trying to copy page to a different folder, I have the page object >> and the path, JS2 API PageMnager.copyPage(Page page, String targetPath) >> does seem to work. No error in Jetspeed log either. Please advise. >> >Can you send us the api calls that you make? > >If you look at the unit test, TestCastorXmlPageManager, it does have a >unit test for this method: > >public void testClonePage() throws Exception > >or are you working with the database page manager? > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
