My bad. Looks like I was looking at Package and PackageAPI doh!

Still curious why the methods are still evaluated on "edit" and not just "view".

Thanks
Duke

On 7/6/06, Duke Tantiprasut <duketantiprasut@gmail.com> wrote:
Hi,

I'm currently trying to extend the PackageAPI so that I can call the addAllWikiDocuments()  and exportToDir() methods from xwiki itself rather than an external tool.

I ran into an interesting situation where the two following calls plugin calls in the wiki doc refers to two different objects:

$xwiki.package.addAllWikiDocuments()
$xwiki.package.exportToDir()

Do ALL plugin method calls create their own object?

Also I noticed, that the methods are also called when I "edit" the wiki doc and not only when I view it. Is that normal?

Thanks
Duke


On 7/5/06, jeremi joslin <jeremi23@gmail.com> wrote:
Hi,
here is a backup tool made with it.
http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/xwiki/xwiki-tools/backup/?rev=1085

It's working with the svn version. It's not working with the  xwiki-0-9-840.

Jérémi


On 7/5/06, Robin Fernandes < rewbs.soal@gmail.com> wrote:
> Just thought I'd register my interest in this too. Last I heard,
> packaging is being developed and will be available in 1.0b1, as
> mentioned at the bottom here:
> http://mail-archive.objectweb.org/xwiki-dev/2006-05/msg00029.html
>
> Regards,
> Robin
>
> On 05/07/06, Duke Tantiprasut < duketantiprasut@gmail.com > wrote:
> > I'm looking for this as well. I'll let you know if I find something more
> > definitive.
> >
> > Duke
> >
> >
> > On 7/3/06, THOMAS, BRIAN M (SBCSI) < bt0008@att.com> wrote:
> > >
> > I've seen some references to this, and even an XML package file for one
> > application project, but no clear idea of how to create or consume a
> > package of XWiki documents for export.
> >
> > Has a publicly available script been built to accomplish this?  I'm sure
> > that it wouldn't be a monstrous effort, but would of course like to have
> > a common tool to use.
> >
> > Brian M. Thomas - Senior Technical Architect
> > AT&T Services, Inc.
> > One SBC Center, Room 24D3
> > St. Louis, MO 63101
> > 314 235 3141
> >
> >
> >
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-users@objectweb.org
> > mailing list.
> > To unsubscribe:
> > mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto: sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
> >
> >
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-users@objectweb.org
> > mailing list.
> > To unsubscribe:
> > mailto: xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto: sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
> >
> >
>
>
>
>
> --
> You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto: sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>


--
jeremi


--

You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws