2 Sep
2005
2 Sep
'05
6:53 a.m.
Once you have a document there is $doc.isNew() There is also $xwiki.exists("Main.WebHome") Ludovic Duke Tantiprasut wrote:
Hi All,
How do you check whether a page exists? $xwiki.getDocument() returns a valid $doc, even for pages that doesnt exist.
Thanks.
Duke
------------------------------------------------------------------------
-- 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
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic