great thanks.
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Thursday, September 01, 2005 11:53 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] snippet to determine if page exists
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
xwiki-users(a)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
--
Ludovic Dubost
XPertNet:
http://www.xpertnet.fr/
Blog:
http://www.ludovic.org/blog/
XWiki:
http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic