[xwiki-dev] getting documents without XWikiContext
jeremi joslin
jeremi at xwiki.com
Thu Feb 8 21:20:28 CET 2007
Hi,
From the API view (everything in the package API), it has always been
like this. It's for the non api thing that we need the context
everytime.
jeremi
On 2/8/07, Duke Tantiprasut <duketantiprasut at gmail.com> wrote:
> Is the java method without context parameter a recent addition? I still need
> to upgrade to the latest code base.
>
> Duke
>
>
> On 2/6/07, Vincent Massol < vincent at massol.net> wrote:
> >
> >
> > On Feb 6, 2007, at 7:58 PM, Duke Tantiprasut wrote:
> >
> > > Is there a simple way to get the XWIkiDocument without the
> > > XWikiContext? If no, how do I create and correctly initialize the
> > > XWikiContext?
> >
> > From velocity: $xwiki.getDocument("Space.Doc ")
> >
> > From Java: XWiki.getDocument("Space.Doc")
> >
> > -Vincent
> >
> >
> >
> >
> >
> >
> >
> ___________________________________________________________________________
> > Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son
> interface révolutionnaire.
> > http://fr.mail.yahoo.com
> >
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-dev at objectweb.org
> mailing list.
> > To unsubscribe:
> mailto:xwiki-dev-unsubscribe at objectweb.org
> > For general help: mailto:sympa at 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-dev at objectweb.org
> mailing list.
> To unsubscribe: mailto:xwiki-dev-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
--
Jeremi Joslin (http://www.jeremi.info)
skype: jeremi23 - jabber: jeremi23 at gmail.com
http://www.xwiki.com - http://www.pengyou-project.info
More information about the devs
mailing list