incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <>
Subject Re: getDiff API Change?
Date Thu, 29 May 2008 17:53:00 GMT
> The problem this presents to me is that one of my applications  
> needs to
> obtain the diff for a page other than the current one, so there's no
> WikiContext available for the page of interest.

Create your own.  clone() is the best method for doing that, since  
it's probably the most robust method for doing it.

WikiContext myctx = wikiContext.clone();
myctx.setPage( anyPage );


View raw message