Is there a simple way to get the XWIkiDocument without the XWikiContext? If no, how do I create and correctly initialize the XWikiContext? Thanks Duke
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
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 <[email protected]> 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 [email protected] list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
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 <[email protected]> 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 < [email protected]> 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 [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Jeremi Joslin (http://www.jeremi.info) skype: jeremi23 - jabber: [email protected] http://www.xwiki.com - http://www.pengyou-project.info
participants (3)
-
Duke Tantiprasut -
jeremi joslin -
Vincent Massol