The easiest way seems to be to check for $doc.isNew() and include a
different template then.
~dk
David V. Kocher wrote:
Is it possible to define a page template for
references to non-existent
articles? (as in many other wikis, e.g. mediawiki >
http://en.wikipedia.org/wiki/NonExistantPage )
The behavior on
xwiki.org itself is not consistent; e.g.
http://www.xwiki.org/xwiki/bin/view/Main/null shows an empty page
whereas
http://www.xwiki.org/xwiki/bin/view/null gives a stacktrace.
~dk
------------------------------------------------------------------------
--
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